Skip to main content

ShippingLabel Object

Description

Shipping label purchased from the carrier aggregator (Sendcloud/Shippo).

Declaration

type ShippingLabel {
provider: String
shipmentId: String
parcelId: String
trackingNumber: String
url: String
panelUrl: String
method: String
carrier: String
customsDocUrl: String
}

Fields

NameTypeDescription
providerStringAggregator the label was bought from. Valid values are "sendcloud" or "shippo".
shipmentIdStringProvider-side shipment identifier.
parcelIdStringProvider-side parcel identifier (used to fetch parcel documents).
trackingNumberStringCarrier tracking number for the parcel.
urlStringURL to download the label document (PDF).
panelUrlStringDeep link to the parcel in the provider's panel.
methodStringFriendly name of the service the label was bought with (may differ from the checkout method).
carrierStringCarrier name (e.g. "PostNL", "Colissimo").
customsDocUrlStringURL to download the customs document (CN23 / commercial invoice) for international shipments.