curl --location -g --request POST '{{BASE_URL}}/admin/inventory-items/location-levels/batch' \
--header 'Content-Type: application/json' \
--data-raw '{
"create": [
{
"location_id": "string",
"inventory_item_id": "string",
"stocked_quantity": 0,
"incoming_quantity": 0
}
],
"update": [
{
"location_id": "string",
"inventory_item_id": "string",
"stocked_quantity": 0,
"incoming_quantity": 0,
"id": "string"
}
],
"force": true,
"delete": [
"string"
]
}'
{
"created": [
{
"id": "string",
"inventory_item_id": "string",
"location_id": "string",
"stocked_quantity": 0,
"reserved_quantity": 0,
"available_quantity": 0,
"incoming_quantity": 0,
"metadata": {}
}
],
"updated": [
{
"id": "string",
"inventory_item_id": "string",
"location_id": "string",
"stocked_quantity": 0,
"reserved_quantity": 0,
"available_quantity": 0,
"incoming_quantity": 0,
"metadata": {}
}
],
"deleted": [
"string"
]
}