List shipping label options

​

Lists the carrier services you can buy a label with for one of your sales, for the parcel's route and weight. The weight and size are computed from the items. Pick one and pass its methodId to POST /v1/sales/{orderNumber}/shipping-label.

The list carries no prices: you do not pay for the label. labelless means a QR code is shown at a drop-off point instead of a printed label, and dropOff means you take the parcel to the carrier.

Only sales awaiting dispatch (pending_shipment or cancellation_requested) whose shipping CardNexus manages have options. This call reads only, but it asks the label provider for quotes, so it has its own rate limit (shipping-options).

Requires the sales:read scope.

Path Parameters

  • The order reference, e.g. OR-MWRDE-2. Path parameter — not a query string.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/sales/{orderNumber}/shipping-options
curl 'https://public-api.cardnexus.com/v1/sales/{orderNumber}/shipping-options' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "orderNumber": "string",
  "computedWeightGrams": -9007199254740991,
  "customsRequired": true,
  "data": [
    {
      "methodId": "1834",
      "carrier": {
        "code": "colissimo",
        "name": "Colissimo"
      },
      "service": "Colissimo Home",
      "deliveryType": "home_delivery",
      "labelless": false,
      "dropOff": true,
      "signatureOnDelivery": false
    }
  ]
}