Update stock quantity

Updates the stock quantity for a specified SKU code.

Body Params
string

The SKU code for the product or product variation. Required when using 'quantity' alone. Should not be used with 'items'.

integer

The quantity of stock for the SKU code. Required when using 'sku' alone. Should not be used with 'items'.

items
array of objects
length ≤ 15

Array of stock items to update. Should not be used with 'sku' or 'quantity'. Maximum of 15 items allowed.

items
Responses

400

Invalid request data.

401

Unauthorized. Invalid or missing API key.

500

Server error.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json