Skip to main content
PATCH
/
api
/
v2
/
inventory_items
/
{item_id}
cURL
curl --request PATCH \
  --url https://take.app/api/v2/inventory_items/{item_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "quantity": 1
}'
{
  "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>.

Path Parameters

item_id
string
required

Body

application/json
quantity
integer
required
Required range: x >= 0

Response

InventoryItem

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