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
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 the product.

itemId
string

Unique identifier(sku) of the item.

url
string

Product page URL.

required
object

Physical details 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
{
  • "description": "towel",
  • "originCountryCode": "US",
  • "hsTariffCode": "hsc01",
  • "quantity": 1,
  • "unitPrice": 10,
  • "itemId": "item1",
  • "url": "abc",
  • "productDetails": {
    }
}
Response samples
application/json
{
  • "errors": [
    ]
}