chore(docs): Updated API Reference (automated) (#11030)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bff8c0bc93
commit
24441e48df
@@ -0,0 +1,24 @@
|
||||
curl -X POST '{backend_url}/admin/inventory-items/location-levels/batch' \
|
||||
-H 'Authorization: Bearer {access_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"create": [
|
||||
{
|
||||
"location_id": "sloc_123",
|
||||
"inventory_item_id": "iitem_123",
|
||||
"stocked_quantity": 100,
|
||||
"incoming_quantity": 50
|
||||
}
|
||||
],
|
||||
"update": [
|
||||
{
|
||||
"location_id": "sloc_456",
|
||||
"inventory_item_id": "iitem_456",
|
||||
"stocked_quantity": 200,
|
||||
"incoming_quantity": 75
|
||||
}
|
||||
],
|
||||
"delete": [
|
||||
"iilev_123"
|
||||
]
|
||||
}'
|
||||
Reference in New Issue
Block a user