Get batch by ID
Changed onGet Batch By ID
Request
- Base URL: https://api.shipengine.com
- URL: https://api.shipengine.com/v1/batches/{batch_id}
- Auth: API key in header API-Key
Response
The request was a success.
Example response
{
"batch_id": "se-28529731",
"batch_notes": "Batch for morning shipment",
"assigned_user": "a2df9fa5-b7ee-467f-be4e-9c660542c187",
"created_at": "2018-09-23T15:00:00.000Z",
"processed_at": "2018-09-23T15:00:00.000Z",
"errors": 2,
"process_errors": [
{
"error_source": "shipengine",
"error_type": "validation",
"error_code": "invalid_field_value",
"message": "Body of request cannot be null.",
"carrier_id": "se-28529731",
"carrier_code": "dhl_express",
"field_name": "shipment.ship_to.phone_number"
}
],
"warnings": 1,
"completed": 1,
"forms": 3,
"count": 2,
"batch_shipments_url": {
"href": "https://example.com/resource"
},
"batch_labels_url": {
"href": "https://example.com/resource"
},
"batch_errors_url": {
"href": "https://example.com/resource"
},
"label_download": {
"href": "https://example.com/resource",
"pdf": "https://example.com/resource",
"png": "https://example.com/resource",
"zpl": "https://example.com/resource"
},
"packing_slip_download": {
"href": "https://example.com/resource"
},
"form_download": {
"href": "https://example.com/resource"
},
"paperless_download": {
"href": "https://example.com/resource"
}
}Changes
- warning
added the new
bring_your_own_label_not_supportedenum value to the///response property for the response status - warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the///response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the///response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status
- warning
- breaking
the
//response's property type changed from no type toobjectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
/response's property type changed from no type toobjectfor 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
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
removed from the
//response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking