POST
/
api-inventory
/
inventory
/
pos

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

x-api-key
string

Body

application/json
channelId
number
required
itemId
number
required
stockQuantity
number
required
Required range: x > 0
warehouseId
string
required
Required string length: 24

Response

200 - application/json
_id
string
createdAt
string
inlocations
object[]
itemId
number
sku
string
title
string
updatedAt
string