Body
Required
-
ID
string ID of the warehouse
-
centralWarehouse
boolean If the warehouse is a central warehouse
Default value is
false
. -
externalId
string Required External ID of the warehouse
-
name
string Required Name of the warehouse
POST
/warehouses
curl \
--request POST 'https://api.maddenanalytics.com/v2/api/warehouses' \
--data '[{"ID":"string","centralWarehouse":false,"externalId":"flagship","name":"Flagship"}]'
Request examples
[
{
"ID": "string",
"centralWarehouse": false,
"externalId": "flagship",
"name": "Flagship"
}
]
Response examples (200)
[
{
"ID": "string",
"centralWarehouse": false,
"externalId": "flagship",
"name": "Flagship"
}
]
Response examples (default)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}