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
customProductId
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
description
required
string

Description of the product.

originCountryCode
required
string

ISO country code of the product origin.

hsTariffCode
string

Harmonized System (HS) tariff code.

quantity
required
integer

Quantity of the product.

unitPrice
required
number <float>

Unit price of this item.

itemId
string

Unique identifier for the commodity.

url
string

Product page URL for this item.

required
object

Physical details of the product (Item).

weightUnit
string

Unit of weight.

Enum: "OZ" "GM"
weight
number <float>

Weight of the product(Item).

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/{customProductId}
Request samples
application/json
{
  • "description": "This is description of the product",
  • "originCountryCode": "US",
  • "hsTariffCode": "hsc01",
  • "quantity": 1,
  • "unitPrice": 10,
  • "itemId": "item1",
  • "url": "abc",
  • "productDimensions": {
    },
  • "weightUnit": "OZ",
  • "weight": 10
}
Response samples
application/json
{
  • "errors": [
    ]
}