Skip to main content
PATCH
Error

Authorizations

x-api-key
string
header
required

unique identifier access key. each brand has it own unique key.

Path Parameters

skuCode
string
required

Body

application/json
totalAmount
number | null

new total stock balance of the sku, in units. the stored balance discounts the brand safety margin, so the listing can return less than what was sent

Required range: x >= 0
availabilityStartDate
string<date-time> | null

first day of the availability window. omit to keep the current one, send null to clear it

availabilityEndDate
string<date-time> | null

last day of the availability window. omit to keep the current one, send null to clear it. an end date before the start date is rejected with 400

availability
boolean | null

whether the sku is offered for sale. omit or send null to keep the current value. false does not lock the sku, a later stock update with a positive balance can turn it back on depending on the brand settings

Response

update stock from skuCode

message
required