Overview
This endpoint can be used to create new shipments. A maximum of 10 shipments can be created in a single request. Endpoint:/api/v1/shipments
Method: POST
It is critical that you verify the fulfillment and destination addresses before using them.Failure to verify the addresses may result in loss or delayed shipments.You may also be charged should address correction be necessary by the carrier.
Request
When creating a shipment, you can use either of the following two approaches to specify the fulfillment and destination addresses:
- Use the
fulfillment_address_id
anddestination_address_id
fields to reference existing addresses that have already been stored on ArtPort. - Provide the address details directly in the
fulfillment_address
anddestination_address
fields.
fulfillment_address_id
and a destination_address
, or vice versa.For examples of how to use these fields, see the request examples on this page.Array of shipment objects to be created.Minimum objects in the array:
1
Maximum objects in the array: 10
Each shipment object must consist of the following fields:Response
If the shipments are successfully created, the API will return a201 Created
status code.
The response will contain the following content:
Details of the newly created shipments.