post

/warehouse/stock/upsert

Request Parameters

1 Header

Request Body

Schema
object
example: variant_id=5ab8db80715d2ddc415adc45&warehouse_id=5ab8d61d715d2ddc415adc44&stock=150
sku
string

Variant SKU

stock
integer

Stock count

1 validation + required
variant_id
string

Variant id

warehouse_id
string

Warehouse id

required

Responses

1 Example
Schema
object
code
integer

Result code

2 validations + required
data
object

Result data

1 validation + required

Send a Test Request

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