Create an Location Level for a given Inventory Item.
Request
Body Params application/json
{
"location_id": "string",
"stocked_quantity": 0,
"incoming_quantity": 0
}
Request samples
curl --location --request POST 'https://api.medusa-commerce.com/admin/inventory-items//location-levels' \
--header 'Content-Type: application/json' \
--data-raw '{
"location_id": "string",
"stocked_quantity": 0,
"incoming_quantity": 0
}'
Responses
application/json {
"inventory_item": {
"sku": "string",
"hs_code": "string",
"origin_country": "string",
"mid_code": "string",
"title": "string",
"description": "string",
"thumbnail": "string",
"material": "string",
"weight": 0,
"height": 0,
"width": 0,
"length": 0,
"requires_shipping": true,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"metadata": {
"car": "white"
}
}
}
Modified at 2023-10-08 12:50:29