md_inventory
: Ensures the tenant has purchased or subscribed to the inventory module.manage_inventory
: Ensures the user has the required permissions to manage inventory.x-companyId
header is missing or invalid, a 400 Bad Request response will be returned.[
{
"productVariantId": "string",
"productId": "string",
"locationId": "string",
"quantity": 0,
"expectedInventoryLines": [
{
"deliveryDate": "2019-08-24T14:15:22Z",
"expectedQuantity": 0
}
]
}
]
curl --location --request POST 'https://platform.shopranos.eu/api/inventoryLevels/import' \
--header 'x-companyId: b3e68ad4-06c8-4e70-965b-c02b38f66ef2' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"productVariantId": "string",
"productId": "string",
"locationId": "string",
"quantity": 0,
"expectedInventoryLines": [
{
"deliveryDate": "2019-08-24T14:15:22Z",
"expectedQuantity": 0
}
]
}
]'
{}