Update Warehouse

PUT /v1/warehouses/{externalWarehouseID}

Update a specific warehouse using externalWarehouseID.

Path parameters

Body Required

  • ID string

    ID of the warehouse

  • 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

Responses

PUT /v1/warehouses/{externalWarehouseID}
curl \
 -X PUT https://ma-api.maddenanalytics.com/v1/warehouses/{externalWarehouseID} \
 -H "Authorization: $API_KEY" \
 -d '{"ID":"string","centralWarehouse":false,"externalId":"flagship","name":"Flagship"}'
Request example
{
  "ID": "string",
  "centralWarehouse": false,
  "externalId": "flagship",
  "name": "Flagship"
}
Response examples (200)
{
  "error": "Error Type (if any)",
  "message": "Message describing the error",
  "statusCode": 400
}
Response examples (default)
{
  "error": "Error Type (if any)",
  "message": "Message describing the error",
  "statusCode": 400
}