Update Custom Product

This operation Updates the details for the specified Custom Product.
The custom product (description) itself cannot be changed.

SecuritybearerAuth
Request
path Parameters
productId
required
string

Unique custom product identifier. This value is defined when the custom product is created and cannot be changed.

Request Body schema: application/json
originCountryCode
string

ISO country code of product origin

hsTariffCode
string

Harmonized system tariff code

quantity
integer

Quantity of items

unitPrice
number <float>

Unit price of the product

weightUnit
required
string

Unit of weight

Value: "OZ"
weight
required
number <float>

Net weight of the product

Responses
200

Custom Product description successfully updated.

400

Invalid request.

401

The request could not be authorized.

500

The request could not be completed due to an internal error.

put/api/v1/customsproduct/{productId}
Request samples
application/json
{
  • "originCountryCode": "IN",
  • "hsTariffCode": "hsc01",
  • "quantity": 1,
  • "unitPrice": 100,
  • "weightUnit": "OZ",
  • "weight": 10
}
Response samples
application/json
{
  • "errors": [
    ]
}