Skip to content

Shipment packages

Open .md

API reference Shipping Shipments

The packages of a shipment: one per parcel of a label (a multi-parcel label makes several), with carrier, tracking number, size, weight, cost and status.

7 operations

  • GETList the packages of a shipment/v2/api/store/{team_slug}/v2/shipment/{hash_id}/packagesReturns every package of a shipment: Shippo labels, labels recorded from elsewhere, and single labels.
  • POSTFilter packages/v1/api/store/{team_slug}/shipment_package/filterReturns one page of your team's packages across all sales orders (quotes, drafts and autosave copies are left out) that match the filters.
  • GETGet a package/v2/api/store/{team_slug}/v2/shipment_package/{hash_id}Returns one package: carrier, service, tracking number, size, weight, charges (in thousandths), status, whether it is the master of a multi-parcel label, and for Shippo labels the Shippo details and label file.
  • PATCHGet live tracking for a package/v1/api/store/{team_slug}/shipment_package/{id}/trackAsks Shippo for the package's current tracking and returns Shippo's track object, unchanged, as data (its fields are Shippo's: carrier, tracking number, current status and history).
  • PUTChange a package's status/v2/api/store/{team_slug}/v2/shipment_package/{hash_id}Sets a package's status.
  • POSTChange and delete packages at once/v2/api/store/{team_slug}/v2/shipment/{unique_key}/package/bulkChanges the status of, or deletes, several packages of one shipment in one transaction: all of them, or none.
  • DELETEDelete a package (voids its label)/v2/api/store/{team_slug}/v2/shipment_package/{hash_id}Deletes a package.