POST
/
inventory
/
counter

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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.

Body

application/json

This object contains the payload to create counter (inventory position)

name
string

Name of the counter to be created

code
string

Counter code that is used to identify a counter

Response

200 - application/json

This object contains inventory position (also known as counter) details that are to be created

id
string

Unique counter ID

name
string

Name of the counter to be created

code
string

Counter code that is used to identify a counter