Body Required
-
ID string
ID of the warehouse
-
centralWarehouse boolean
If the warehouse is a central warehouse
Default value is
false
. -
External ID of the warehouse
-
Name of the warehouse
POST
/warehouses
curl \
-X POST https://api.maddenanalytics.com/v2/api/warehouses \
-d '[{"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
}