Create Warehouse
Changed onCreate a warehouse location that you can use to create shipping items by simply passing in the generated warehouse id. If the return address is not supplied in the request body then it is assumed that the origin address is the return address as well
Request
- Base URLhttps://api.shipengine.com
- URLhttps://api.shipengine.com/v1/warehouses
- AuthAPI key in header API-Key
Request body
Example request
{
"warehouse_id": "se-28529731",
"name": "Zero Cool HQ",
"created_at": "2019-06-25T18:12:35.583Z",
"origin_address": {
"name": "John Doe",
"phone": "+1 204-253-9411 ext. 123",
"email": "example@example.com",
"company_name": "The Home Depot",
"address_line1": "1999 Bishop Grandin Blvd.",
"address_line2": "Unit 408",
"address_line3": "Building #7",
"city_locality": "Winnipeg",
"state_province": "Manitoba",
"postal_code": "78756-3717",
"country_code": "CA"
},
"return_address": {
"name": "John Doe",
"phone": "+1 204-253-9411 ext. 123",
"email": "example@example.com",
"company_name": "The Home Depot",
"address_line1": "1999 Bishop Grandin Blvd.",
"address_line2": "Unit 408",
"address_line3": "Building #7",
"city_locality": "Winnipeg",
"state_province": "Manitoba",
"postal_code": "78756-3717",
"country_code": "CA"
}
}Response
The request was a success.
Example response
{
"warehouse_id": "se-28529731",
"name": "Zero Cool HQ",
"created_at": "2019-06-25T18:12:35.583Z",
"origin_address": {
"name": "John Doe",
"phone": "+1 204-253-9411 ext. 123",
"email": "example@example.com",
"company_name": "The Home Depot",
"address_line1": "1999 Bishop Grandin Blvd.",
"address_line2": "Unit 408",
"address_line3": "Building #7",
"city_locality": "Winnipeg",
"state_province": "Manitoba",
"postal_code": "78756-3717",
"country_code": "CA"
},
"return_address": {
"name": "John Doe",
"phone": "+1 204-253-9411 ext. 123",
"email": "example@example.com",
"company_name": "The Home Depot",
"address_line1": "1999 Bishop Grandin Blvd.",
"address_line2": "Unit 408",
"address_line3": "Building #7",
"city_locality": "Winnipeg",
"state_province": "Manitoba",
"postal_code": "78756-3717",
"country_code": "CA"
}
}Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- warning
added the new
file_not_foundenum value to the////response property for the response status - warning
added the new
file_not_foundenum value to the////response property for the response status - warning
added the new
file_not_foundenum value to the////response property for the response status - warning
added the new
funding_source_errorenum value to the////response property for the response status - warning
added the new
funding_source_errorenum value to the////response property for the response status - warning
added the new
funding_source_errorenum value to the////response property for the response status - warning
added the new
funding_source_missing_configurationenum value to the////response property for the response status - warning
added the new
funding_source_missing_configurationenum value to the////response property for the response status - warning
added the new
funding_source_missing_configurationenum value to the////response property for the response status - warning
added the new
funding_source_registration_in_progressenum value to the////response property for the response status - warning
added the new
funding_source_registration_in_progressenum value to the////response property for the response status - warning
added the new
funding_source_registration_in_progressenum value to the////response property for the response status - warning
added the new
insurance_failureenum value to the////response property for the response status - warning
added the new
insurance_failureenum value to the////response property for the response status - warning
added the new
insurance_failureenum value to the////response property for the response status - warning
added the new
service_not_determinedenum value to the////response property for the response status - warning
added the new
service_not_determinedenum value to the////response property for the response status - warning
added the new
service_not_determinedenum value to the////response property for the response status - warning
added the new
shipping_rule_not_foundenum value to the////response property for the response status - warning
added the new
shipping_rule_not_foundenum value to the////response property for the response status - warning
added the new
shipping_rule_not_foundenum value to the////response property for the response status
- warning