Shop guide: the full cycle

For a shop — any client of IDS — connecting its own site or program. Your account's tariff prices every quote and booking, and bookings are paid from your IDS balance (or your deferred payment, if IDS agreed one).

The cycle

  1. 1Your key, from the IDS cabinet

    Once IDS switched the page on for your account, open Integrations / API in the IDS cabinet: accept the API Terms of Use, then «Create key» — a name, test or live, the tasks (nothing is ticked by default: tick quotes and bookings, cancellations, balance, events and webhooks as you need), the expiry (six months at most) and optionally your server's IP addresses. You confirm your identity again (password or Google sign-in); the key is shown once. Start with a test key.

  2. 2Money

    Top up your balance in the cabinet (card) or by bank transfer IDS records. GET /balance shows it. A booking the balance does not cover answers 402 PAYMENT_REQUIRED before any label is made — top up and retry with the same Idempotency-Key. API bookings never use bonus balance. With a test key, set the test wallet first: POST /test/wallet { "balance": 1000 }.

  3. 3Quote

    POST /quotes with the shipper, the recipient's full address and the boxes (weight and dimensions of each box; contentValue + coverage: "auto" to declare the value for carriage). Each service has a fixed price until expiresAt; show your customer that price and, on a route with an import, the duties note.

  4. 4Book

    POST /shipments { quoteId, selectedServiceType, operationRef, references, pickup } with an Idempotency-Key (one per order, reused on every retry). Across a border add customs (intra-EU included). The 201 carries the labels and charge — the quoted total. A lost answer: repeat with the same key, or GET /shipments?operationRef=… (recovery).

  5. 5Label and pickup

    Print the label from the 201 or GET /shipments/{id}/labels/pdf. For a courier send pickup.date with readyTime / closeTime, or keep your warehouse as a pickup place (PUT /pickup-locations/{externalId}) and send pickup.locationExternalId: IDS books the first window after your parcels are ready.

  6. 6Tracking, events and webhooks

    GET /track/{trackingNumber} (cached) or POST /shipments/{id}/refresh-tracking give the status, the carrier's scans and deliveryState. Better: a webhook endpoint (created in the cabinet or with POST /webhook-endpoints) and the feed GET /events as the safety net.

  7. 7Cancel

    POST /shipments/{id}/cancel with a new Idempotency-Key: the label and pickup are cancelled and the price refunded to your balance — unless the pickup window has started or the carrier already has the parcel (then IDS reviews the refund; refund.status says which).

  8. 8Returns, surcharges, complaints (when you need them)

    A return to you: return-quotes → returns, paid from your balance. A later carrier charge for a parcel the carrier measured heavier or bigger than declared follows the IDS Terms of Service (6.3) and your agreement with IDS. A complaint: POST /complaints.

Going live

  • The test plan passed with your test key.
  • Create the live key in the cabinet (tasks as narrow as you need, an IP list if your servers have fixed addresses), and a live webhook endpoint.
  • Keys expire after six months at most — the cabinet and a letter remind you 30 and 7 days before. A replacement keeps the key's end date: to go on, replace the key (with an overlap) and set the new key's end date with «Change».
  • Revoke a key at once if it leaked (cabinet, or [email protected]).