Skip to main content
POST
/
api
/
v2
/
inventory_items
/
batch_update
cURL
curl --request POST \
  --url https://take.app/api/v2/inventory_items/batch_update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "quantity": 1,
    "item_id": "<string>"
  }
]
'
[
  {
    "item_id": "<string>",
    "item_name": "<string>",
    "product_id": "<string>",
    "variant_id": "<string>",
    "sku": "<string>",
    "quantity": 123,
    "price": 123,
    "original_price": 123,
    "cost": 123,
    "cost_enabled": true,
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://platform.take.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Merchant API V2 token. Pass as Authorization: Bearer <token>.

Body

application/json
quantity
integer
required
Required range: x >= 0
item_id
string
required
Minimum string length: 1

Response

Updated inventory items

item_id
string
required
object
enum<string>
required
Available options:
inventory_item
item_type
enum<string>
required
Available options:
product,
variant
item_name
string | null
required
product_id
string
required
variant_id
string | null
required
sku
string | null
required
quantity
integer
required
price
integer
required

Integer amount in the smallest unit of the store currency (e.g. cents).

original_price
integer | null
required

Integer amount in the smallest unit of the store currency (e.g. cents).

cost
integer | null
required

Integer amount in the smallest unit of the store currency (e.g. cents).

cost_enabled
boolean
required
updated_at
string<date-time>
required