post

/products/warehouses/update

Updates stocks and/or default shipping prices for product’s variants. Either id or sku of the product must be specified.

Put in the request body only the variant-warehouse pairs you’d like to change. All other variant-warehouse pairs will remain unchanged.

For more information on how default shipping prices work read the overview.

Requirements

For each item

  • either shippingPrice+currency or inventory must be specified;
  • for non-default warehouses either warehouseId or warehouseLabel must be specified.

If no warehouse is specified, the default warehouse is assumed.

Request Parameters

2 Query Parameters

Request Body

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