Create Multiple Shipments
Similar to creating a single shipment, you can pass in an array of shipments in.
Examples
POST /v1/shipments/
Example Request
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
POST /v1/shipments HTTP/1.1Host: api.shipengine.comAPI-Key: __YOUR_API_KEY_HERE__Content-Type: application/json{"shipments": [{"validate_address": "no_validation","service_code": "usps_priority_mail","ship_to": {"name": "Amanda Miller","phone": "555-555-5555","address_line1": "525 S Winchester Blvd","city_locality": "San Jose","state_province": "CA","postal_code": "95128","country_code": "US","address_residential_indicator": "yes"},"ship_from": {"company_name": "Example Corp.","name": "John Doe","phone": "111-111-1111","address_line1": "4009 Marathon Blvd","address_line2": "Suite 300","city_locality": "Austin","state_province": "TX","postal_code": "78756","country_code": "US","address_residential_indicator": "no"},"packages": [{"weight": {"value": 1.0,"unit": "ounce"}}]},{"validate_address": "no_validation","service_code": "usps_priority_mail","ship_to": {"name": "Amanda Miller","phone": "555-555-5555","address_line1": "525 S Winchester Blvd","city_locality": "San Jose","state_province": "CA","postal_code": "95128","country_code": "US","address_residential_indicator": "yes"},"ship_from": {"company_name": "Example Corp.","name": "John Doe","phone": "111-111-1111","address_line1": "4009 Marathon Blvd","address_line2": "Suite 300","city_locality": "Austin","state_province": "TX","postal_code": "78756","country_code": "US","address_residential_indicator": "no"},"packages": [{"weight": {"value": 1.0,"unit": "ounce"}}]}]}
Example Response
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
{"has_errors": false,"shipments": [{"errors": null,"address_validation": null,"shipment_id": "se-41834531","carrier_id": "se-123890","service_code": "usps_priority_mail","external_shipment_id": null,"ship_date": "2019-07-25T05:00:00.000Z","created_at": "2019-07-25T15:24:46.657Z","modified_at": "2019-07-25T15:24:46.657Z","shipment_status": "pending","ship_to": {"name": "Amanda Miller","phone": "555-555-5555","address_line1": "525 S Winchester Blvd","city_locality": "San Jose","state_province": "CA","postal_code": "95128","country_code": "US","address_residential_indicator": "yes"},"ship_from": {"company_name": "Example Corp.","name": "John Doe","phone": "111-111-1111","address_line1": "4009 Marathon Blvd","address_line2": "Suite 300","city_locality": "Austin","state_province": "TX","postal_code": "78756","country_code": "US","address_residential_indicator": "no"},"warehouse_id": null,"return_to": {"company_name": "Example Corp.","name": "John Doe","phone": "111-111-1111","address_line1": "4009 Marathon Blvd","address_line2": "Suite 300","city_locality": "Austin","state_province": "TX","postal_code": "78756","country_code": "US","address_residential_indicator": "no"},"confirmation": "none","advanced_options": {"bill_to_account": null,"bill_to_country_code": null,"bill_to_party": null,"bill_to_postal_code": null,"contains_alcohol": false,"custom_field1": null,"custom_field2": null,"custom_field3": null,"non_machinable": false,"saturday_delivery": false},"insurance_provider": "none","tags": [],"total_weight": {"value": 1.0,"unit": "ounce"},"packages": [{"package_code": null,"weight": {"value": 1.0,"unit": "ounce"},"dimensions": {"unit": "inch","length": 0.0,"width": 0.0,"height": 0.0},"insured_value": {"currency": "usd","amount": 0.0}}]},{"errors": null,"address_validation": null,"shipment_id": "se-41834532","carrier_id": "se-123890","service_code": "usps_priority_mail","external_shipment_id": null,"ship_date": "2019-07-25T05:00:00.000Z","created_at": "2019-07-25T15:24:46.657Z","modified_at": "2019-07-25T15:24:46.657Z","shipment_status": "pending","ship_to": {"name": "Amanda Miller","phone": "555-555-5555","address_line1": "525 S Winchester Blvd","city_locality": "San Jose","state_province": "CA","postal_code": "95128","country_code": "US","address_residential_indicator": "yes"},"ship_from": {"company_name": "Example Corp.","name": "John Doe","phone": "111-111-1111","address_line1": "4009 Marathon Blvd","address_line2": "Suite 300","city_locality": "Austin","state_province": "TX","postal_code": "78756","country_code": "US","address_residential_indicator": "no"},"warehouse_id": null,"return_to": {"company_name": "Example Corp.","name": "John Doe","phone": "111-111-1111","address_line1": "4009 Marathon Blvd","address_line2": "Suite 300","city_locality": "Austin","state_province": "TX","postal_code": "78756","country_code": "US","address_residential_indicator": "no"},"confirmation": "none","advanced_options": {"bill_to_account": null,"bill_to_country_code": null,"bill_to_party": null,"bill_to_postal_code": null,"contains_alcohol": false,"custom_field1": null,"custom_field2": null,"custom_field3": null,"non_machinable": false,"saturday_delivery": false},"insurance_provider": "none","tags": [],"total_weight": {"value": 1.0,"unit": "ounce"},"packages": [{"package_code": null,"weight": {"value": 1.0,"unit": "ounce"},"dimensions": {"unit": "inch","length": 0.0,"width": 0.0,"height": 0.0},"insured_value": {"currency": "usd","amount": 0.0}}]}]}