Get batch by ID
Changed onGet batch details for a specific batch ID.
Request
- Base URLhttps://api.shipstation.com
- URLhttps://api.shipstation.com/v2/batches/{batch_id}
- AuthAPI key in header api-key
Response
The request was a success.
Example response
{
"batch_id": "se-28529731",
"batch_number": "123456",
"external_batch_id": "12323aaaar",
"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": [
{
"message": "Body of request cannot be null.",
"field_name": "inventory_warehouse_id",
"field_value": "invalid-id"
}
],
"warnings": 1,
"completed": 1,
"forms": 3,
"count": 2,
"batch_shipments_url": {
"href": "https://example.com/resource",
"type": "child"
},
"batch_labels_url": {
"href": "https://example.com/resource",
"type": "child"
},
"batch_errors_url": {
"href": "https://example.com/resource",
"type": "child"
},
"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",
"type": "child"
},
"form_download": {
"href": "https://example.com/resource",
"type": "child"
},
"paperless_download": {
"href": "https://example.com/resource",
"instructions": "any instructions",
"handoff_code": "122334"
}
}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
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
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
added
subschema #2to the/response propertyoneOflist for the response status - info
removed from the
/response propertyallOflist for the response status
- breaking