POST

https://prod01-apigw.{customer_name}.fabric.zone

/
api-inventory
/
inventory
/
bulk-insert

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 · object[]
sku
string
required
Minimum length: 1
itemId
number
Required range: x > 1
totalQuantity
number
required
Required range: x > 0
reservedQuantity
number
required
Required range: x > 0
locationId
number
required
Required range: x > 0
type
enum<string>
required
Available options:
Stock,
Transit
channelId
enum<number>
Available options:
12,
13
transitRef
string
transitOrderDate
string
transitStockDate
string

Response

200 - application/json
messages
string[]
keyId
string
type
string
status
string
totalItems
integer
totalItemsUploaded
integer
totalRows
integer
totalRowsErrors
integer
__v
number
_id
string
createdAt
string
updatedAt
string