post

/products/destinations/update

Updates custom shipping destinations for product’s variants. Either id or sku of the product must be specified.

Put in the request body only the destinations you’d like to change. All other destinations for the product’s variants will remain unchanged.

For destinations not customized using this endpoint, the defaults work. For more information on customizing shipping destinations read the overview.

Requirements

For each destination for non-default warehouses either warehouseId or warehouseLabel must be specified.

If no warehouse is specified, the destination is applied to the default warehouse.

Request Parameters

2 Query Parameters

Request Body

Explanation of the example

  1. Set price of 2.25$ for shipping of variant1 to Russia from warehouse1.
  2. Set price of 3$ for shipping of variant2 to Germany from our default warehouse.
1 Example
Schema
object
items
array[object]

Responses

Schema
object

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
host