Site Logo

Add To A Batch

Using batches requires an understanding of creating a shipment, getting shipping rates, and a basic understanding of carrier services.

Batches must be shipped from the same warehouse.

When you add to a batch you must be explicit with what you want.

  1. Be explicit when you create a shipment, and specify your carrier_id and service_code.
  2. Be explicit with rates when you add to a batch request by providing the rate_id you received when getting rates.

Example

POST /v1/batches/:batch_id/add

1
2
3
4
5
6
7
8
9
10
11
POST /v1/batches/se-1010644/add HTTP/1.1
Host: api.shipengine.com
API-Key: __YOUR_API_KEY_HERE__
Content-Type: application/json
{
"shipment_ids": [
"se-2102769"
],
"rate_ids": []
}

If successful, responds with HTTP Status 204, No Content.