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.{
"name": "Warehouse 1",
"isActive": true,
"address": {
"address1": "123 Main St",
"address2": "Suite 100",
"city": "Albany",
"state": "NY",
"country": "USA",
"postalCode": "12345"
}
}
curl --location --request POST 'https://platform.shopranos.eu/api/locations' \
--header 'x-companyId: b3e68ad4-06c8-4e70-965b-c02b38f66ef2' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Warehouse 1",
"isActive": true,
"address": {
"address1": "123 Main St",
"address2": "Suite 100",
"city": "Albany",
"state": "NY",
"country": "USA",
"postalCode": "12345"
}
}'
{
"id": "string"
}