Correct a tracking number

​

Corrects the tracking number of a shipped sale that you shipped yourself. The new number is registered with the tracking provider, the order's tracking restarts from pending, and the previous number, the reason and who changed it are kept in its history.

The rules, checked in this order: the sale must be yours and not shipped with a CardNexus label; it must be shipped; the carrier must not have scanned the parcel yet (pending or unknown); it must have shipped within the last 30 days; the order may be corrected twice, at least 15 minutes apart. Sending the number the order already has changes nothing and returns the sale.

If the new number is refused or the tracking provider is busy, the order keeps its number and a tracker stays registered for it.

Returns the updated sale, in the same shape as GET /v1/sales/{orderNumber}.

Requires the sales:write scope.

Path Parameters

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

Body

required
application/json
  • Why the number changes: typo, wrong_tracking_number, new_label_issued, combined_shipment or other.

    values
    typowrong_tracking_numbernew_label_issuedcombined_shipmentother
  • The corrected tracking number — 5 to 50 characters: letters, digits, -, _.

  • A note about the change — 10 to 500 characters. Required when reason is other.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/sales/{orderNumber}/tracking
curl 'https://public-api.cardnexus.com/v1/sales/{orderNumber}/tracking' \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "trackingNumber": "",
  "reason": "typo",
  "reasonDetails": ""
}'
{
  "orderNumber": "OR-ASNBC-1",
  "status": "shipped",
  "placedAt": "2026-06-13T15:02:00.000Z",
  "updatedAt": "2026-06-14T09:12:00.000Z",
  "shippedAt": "2026-06-14T09:12:00.000Z",
  "deliveredAt": null,
  "completedAt": null,
  "shippingService": "tracked",
  "webUrl": "https://cardnexus.com/orders/OR-ASNBC-1",
  "shipBy": null,
  "shipsOn": null,
  "untrackedCloseAt": null,
  "currency": "EUR",
  "items": [
    {
      "productId": 50212,
      "productName": "Dark Magician (SDMY-EN001)",
      "imageUrl": "https://images.cardnexus.com/yugioh/SDMY-EN001.png",
      "condition": "NM",
      "language": "en",
      "finish": "Standard",
      "graded": null,
      "quantity": 2,
      "unitPrice": {
        "amount": 4.5,
        "currency": "EUR"
      },
      "lineTotal": {
        "amount": 9,
        "currency": "EUR"
      },
      "inventoryId": "665f3a2b1c8d4e9f7a6b5c4d",
      "customId": "YRG|5555-5DS1-2EX-006-f-2-2008-08-01"
    }
  ],
  "subtotal": {
    "amount": 9,
    "currency": "EUR"
  },
  "shippingAmount": {
    "amount": 3.5,
    "currency": "EUR"
  },
  "shippingManagedByCardNexus": false,
  "sellerFee": {
    "percentage": 5,
    "amount": {
      "amount": 0.45,
      "currency": "EUR"
    }
  },
  "payout": {
    "amount": {
      "amount": 12.05,
      "currency": "EUR"
    },
    "eligibleAt": "2026-06-21T09:12:00.000Z",
    "paidOutAt": null
  },
  "refunded": {
    "amount": 0,
    "currency": "EUR"
  },
  "buyer": {
    "id": "665f3a2b1c8d4e9f7a6b5c4d",
    "username": "north_arena_tcg",
    "avatarUrl": "https://images.cardnexus.com/avatars/north_arena_tcg.png",
    "country": "GB",
    "type": "individual",
    "rating": {
      "average": 4.9,
      "count": 51
    },
    "reliability": null
  },
  "shippingAddress": {
    "recipientName": "Marie Dubois",
    "line1": "14 Rue des Lilas",
    "line2": null,
    "city": "Lyon",
    "state": null,
    "postalCode": "69003",
    "countryCode": "FR",
    "phone": null
  },
  "metadata": {
    "fulfillment_stage": "packed",
    "internal_order_ref": "SO-10432"
  },
  "labelState": null,
  "actions": [
    {
      "id": "update-tracking",
      "method": "POST",
      "path": "/v1/sales/OR-ASNBC-1/tracking"
    }
  ],
  "shipping": {
    "trackingNumber": "6A18432197431",
    "type": "parcel",
    "carrier": "Colissimo",
    "trackingUrl": "https://www.laposte.fr/outils/suivre-vos-envois?code=6A18432197431",
    "status": "in_transit",
    "shippedAt": "2026-06-14T09:12:00.000Z",
    "deliveredAt": null,
    "history": null
  },
  "cancellation": null
}