By default, the Inventory API provides a
BIN, and a
When needed, you can create one or more inventories of the
STOREinventory type. For example, you can create several
STOREinventories for different types of products to differentiate their stocks.
- Make sure that authorisation is set up with the following OAuth scope using OAuth API:
For the organization to which the merchant is signed in, use this request to create an inventory of the
Example: This example creates a
STOREinventory for the organization associated with the authorization token. In the request header, the token is passed in type
Authorization: Bearer eyJraWQiOiIxNjM3MTg1Mjg0Nz....
After the inventory is created successfully, it can be accessed using the link that is provided in the
Locationheader in the response.