POST
/
products
/
:id
curl --request POST \
  --url https://base_url/api/v1/products/:id \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "SunShield Pro UV-Blocking Sunglasses",
  "tax_code": "TPP",
  "description": "<string>",
  "customs_jurisdiction_details": {
    "US": "4905.90.20.00"
  },
  "weight_in_kg": 3.5,
  "volume_in_liters": 3.5
}'
{
  "message": "Successfully updated product."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string

The name of the product.

Example:

"SunShield Pro UV-Blocking Sunglasses"

tax_code
enum<string>

Tax code to define how a product should be charged for sales tax. (More options coming soon).

Available options:
TPP
description
string

A one line description about the product.

customs_jurisdiction_details
object

A mapping of ISO 3166 country codes to their respective Harmonized System (HS) codes for customs classification.

Example:
{ "US": "4905.90.20.00" }
weight_in_kg
number

The weight of the product in kilograms.

Example:

3.5

volume_in_liters
number

The volume of the product in liters.

Example:

3.5

Response

200
application/json
Create product response.
message
string
Example:

"Successfully updated product."