curl --request GET \
--url https://api.headlesscommerce.io/v1/admin/inventory \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"variant_id": "<string>",
"track_inventory": true,
"allow_backorder": true,
"safety_stock": 123,
"on_hand": 123,
"reserved": 123,
"available": 123,
"metadata": {}
}
],
"total_count": 123,
"has_more": true,
"next_cursor": "<string>"
}curl --request GET \
--url https://api.headlesscommerce.io/v1/admin/inventory \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"variant_id": "<string>",
"track_inventory": true,
"allow_backorder": true,
"safety_stock": 123,
"on_hand": 123,
"reserved": 123,
"available": 123,
"metadata": {}
}
],
"total_count": 123,
"has_more": true,
"next_cursor": "<string>"
}API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx
1 <= x <= 100이 ID 이후의 결과 반환 (cursor)
true면 안전재고 이하만