Skip to main content
The second step is to create a shipment. The shipment includes all the details about the item you are shipping including
  • the “from” and “to” addresses
  • the parcel details
  • extra parameters
  • customs declaration, that are required for international shipments
Creating a shipment automatically generates a list of shipping rates that you can use to select the best shipping option for you. In these examples, you will see rates from APG but you can also generate rates from other carriers using the carrier_accounts parameter.

HTTP Method

POST

URL

Request Payload

Note: Parameters with an * are mandatory

Objects

Address

Parcel

Line Items

Customs Declaration

Note
  • If shipping to AU or NZ using APG, you must pass an ARN on the tax identifiers using Exporter_identification.tax_id in your customs declaration.
  • If shipping to an EU country using APG, you must pass an IOSS value on the tax identifiers using Exporter_identification.tax_id in your customs declaration.

Extra Details

Response Code

201

Examples

Request Sample

cURL

Response Sample

Last modified on July 16, 2026