Shipment

Main shipment object containing all necessary data to create a shipment. Either parcel or parcels must be provided, but not both.

  • An optional field that may be used in place of id in other API endpoints

  • Can be specified by ID or attributes to create a new one, and be verified inline. See Create an Address

    Properties: 11
  • Can be specified by ID or attributes to create a new one, and be verified inline. See Create an Address

    Properties: 11
  • The shipper's address, defaults to from_address

    Properties: 11
  • The buyer's address, defaults to to_address

    Properties: 11
  • The dimensions and weight of the package. Business rule: parcel and parcels MUST NOT both be present.

    Properties: 7
  • Array of parcels. Business rule: parcel and parcels MUST NOT both be present.

    Properties: 7
  • Information for processing the package through international customs

    Properties: 10
  • Additional shipment options. If carrier_accounts and service are set and options.create_and_buy is not explicitly false, it is treated as true.

    Properties: 35
  • Set true to create as a return shipment

  • Carrier to use for the shipment. If omitted along with carrier_accounts, all carriers are considered

  • List of CarrierAccount IDs

  • Requested service level (e.g., Priority, Express, GroundAdvantage)