POST
/
v1
/
inventory
Create store inventory
curl --request POST \
  --url https://api.sandbox.usenash.com/v1/inventory \
  --header 'Content-Type: application/json' \
  --data '{
  "productId": "<string>",
  "externalProductId": "<string>",
  "storeLocationId": "<string>",
  "externalStoreId": "<string>",
  "quantity": 123,
  "price": 123,
  "available": true,
  "location": {
    "aisle": "<string>",
    "bay": "<string>",
    "shelf": "<string>"
  }
}'
{
  "id": "<string>",
  "productid": "<string>",
  "storelocationid": "<string>",
  "quantity": 123,
  "price": 123,
  "available": true,
  "location": {
    "aisle": "<string>",
    "bay": "<string>",
    "shelf": "<string>"
  }
}

Body

application/json

Response

200
application/json

OK

The response is of type object.