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
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_idanddestination_address_idfields to reference existing addresses that have already been stored on ArtPort. - Provide the address details directly in the
fulfillment_addressanddestination_addressfields.
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:
1Maximum objects in the array: 10Each 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.