POST
/
inventory
curl --request POST \
  --url https://take.app/api/platform/inventory \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "item_id": "<string>",
    "quantity": 123,
    "price": 123,
    "original_price": 123
  }
]'
{
  "item_id": "<string>",
  "quantity": 123,
  "price": 123,
  "original_price": 123
}

Authorizations

api_key
string
query
required

Body

application/json · object[]
item_id
string
required

The id of product or variant

quantity
integer
required

The quantity of the item

price
number

The price of the item

original_price
number

The original price of the item

Response

200 - application/json
Update inventory
item_id
string
required

The id of product or variant

quantity
integer
required

The quantity of the item

price
number

The price of the item

original_price
number

The original price of the item