API reference
Every operation of https://ids.express/api/v1 — OpenAPI 1.13.6. Each page shows the key scope it needs, whether it takes an Idempotency-Key, the request and every answer field by field, the error codes it can return with their retryable flag, and examples. These pages are generated from the same document the server publishes at /api/v1/openapi.json: what you read here is what the API answers. Conventions (money, rounding, units, time, addresses) and the full error catalog are on the overview.
Test mode
Test keys only (ids_test_…): the test wallet, the simulated carrier's side, moving a scenario, playing IDS's or a person's answer.
- POST
/test/shipments/{id}/adjustments/{adjustmentId}/decideadjustments:writeTest keys: IDS's decision on a disputed adjustment (confirm or withdraw), played - POST
/test/accounts/{externalId}/answeraccounts:writeTest keys: the simulated person of a test link confirms (default) or declines - POST
/test/walletshipments:writeTest keys: set, top up or configure the account's test wallet (play money; never the real balance) - GET
/test/shipments/{id}shipments:readTest keys: the simulated carrier's side of a test shipment — its scenario, step, scans and measured boxes - POST
/test/shipments/{id}/advanceshipments:writeTest keys: move a test shipment's scenario forward (steps, default 1) — the carrier reports the next scans and IDS reads them through tracking at once
Service
Public, no key: health and the machine-readable contract.
Quotes
Price a delivery before your buyer pays: services, fixed prices, coverage, duties, weight, the four checks and the label address.
- GET
/metadataquotes:writeEnum reference (countries, currencies, services, label formats, parcel limits, …) - POST
/quotesquotes:writeQuote: validate + price services + the four checks (address, service, price, pickup) + the label address - GET
/quotes/{id}quotes:writeOne of your quotes of this environment: its fixed prices, its label address and its state (active / expired / used, with the shipment)
Returns
A return is its own shipment from the buyer back to the seller: price it, book it, settle a charge to the seller.
- POST
/shipments/{id}/return-quotesquotes:writeRET: the exact price of a return of this shipment — its own price, never the outbound's - POST
/shipments/{id}/returnsshipments:writeIdempotency-KeyRET: book the return from its return quote — linked to the original, paid by the party you name. Requires Idempotency-Key. - POST
/shipments/{id}/return-charge/settleshipments:writeRET: a return charged to its seller — you settled it (withheld from the payout, or paid by the seller)
Cancel & refunds
Cancel a label and its pickup; a refund owed to your buyer when the delivery was paid on your platform.
- POST
/shipments/{id}/cancelshipments:cancelIdempotency-KeyCancel a shipment + refund per policy. Requires Idempotency-Key. - GET
/shipments/{id}/refundsshipments:readWhat you owe your buyer back on the payment you took for this shipment (paid on the platform), and what you confirmed - POST
/shipments/{id}/refunds/{refundId}/confirmrefunds:writeConfirm you refunded your buyer: your refund id and exactly the amount owed
Carrier adjustments
Late carrier charges at the IDS tariff: read, dispute, settle with your seller.
- GET
/shipments/{id}/adjustmentsshipments:readThe carrier adjustments (late surcharges) of one of your shipments — at the IDS tariff, never a carrier figure - POST
/shipments/{id}/adjustments/{adjustmentId}/disputeadjustments:writeDispute a notified adjustment (the reason or the amount), with files - POST
/shipments/{id}/adjustments/{adjustmentId}/settleadjustments:writeMark an adjustment settled with your seller (withheld from the payout, paid by the seller, waived)
Delivery invoices
IDR's delivery invoices and their reversals, to show them in your cabinet.
Pickup places & pickups
The places a courier collects from (hours, time zone, holidays, preparation) and the pickup of a shipment.
- GET
/shipments/{id}/pickupshipments:readThe shipment's pickup: its state, when its parcels are ready and the pickup request it belongs to - GET
/pickup-locationspickup_locations:readYour pickup places in this environment (oldest first, cursor) - PUT
/pickup-locations/{externalId}pickup_locations:writeCreate or replace one of your pickup places (where the courier comes, by its own schedule) - GET
/pickup-locations/{externalId}pickup_locations:readOne of your pickup places
Tracking & events
Tracking with the carrier's scans and the normalised delivery state; the gap-free event feed.
- POST
/shipments/{id}/refresh-trackingtracking:readForce a staleness-gated tracking sync (~20 min) - GET
/track/{trackingNumber}tracking:readPassive tracking status (cron-cached); master or package tracking number - GET
/eventsevents:readThe event feed: every event of your account in this environment, oldest first (x-conventions.events) - GET
/shipments/{id}/eventsevents:readEvery event of one of your shipments, by sequence
Webhook endpoints
Where IDS POSTs your events, signed by Standard Webhooks.
- POST
/webhook-endpointswebhooks:manageRegister a webhook endpoint: IDS POSTs it your events, signed by Standard Webhooks (x-conventions.webhooks) - GET
/webhook-endpointswebhooks:manageYour webhook endpoints of this environment (never their secrets) - GET
/webhook-endpoints/{id}webhooks:manageOne of your webhook endpoints: status, secret version, delivery health - DELETE
/webhook-endpoints/{id}webhooks:manageDelete a webhook endpoint: nothing more is sent to it, its secret is destroyed - POST
/webhook-endpoints/{id}/rotate-secretwebhooks:manageA new signing secret (shown once); the previous one keeps signing next to it for the overlap (24 h) - POST
/webhook-endpoints/{id}/testwebhooks:manageSend a test event (type ping) to this endpoint — signed and retried like every delivery
Bookings & shipments
Book from a quote or inline, read shipments, labels and documents.
- POST
/shipmentsshipments:writeIdempotency-KeyBook a shipment (from a quoteId or inline). Requires Idempotency-Key. - GET
/shipmentsshipments:readList your shipments (keyset cursor + updatedSince), newest first - GET
/shipments/{id}shipments:readGet one shipment (by UUID or master tracking number) - GET
/shipments/{id}/labelsshipments:readBase64 labels per package - GET
/shipments/{id}/labels/pdfshipments:readEvery PDF label of the shipment in one file: as made (10×15 cm) or each on an A4 sheet at its own size - GET
/shipments/{id}/documentsshipments:readCustoms/CI/ETD document metadata - GET
/shipments/{id}/documents/{docId}/downloadshipments:readDownload a document
Platforms & people
A platform's key: its settings as IDS applies them, and the IDS accounts of its buyers and sellers.
- GET
/platformplatform:readA platform's own settings as IDS applies them: status, payment mode, invoice recipient, countries, coverage, quote validity, special goods - POST
/accountsaccounts:writeCreate or link the IDS account of one of your buyers or sellers (a platform's key) - GET
/accounts/{externalId}accounts:readThe state of one of your people's link (pending, linked, unlinked) - POST
/accounts/{externalId}/login-linkaccounts:loginA one-time sign-in link into the person's own IDS cabinet (≤ 60 s, one use) - DELETE
/accounts/{externalId}/linkaccounts:writeRemove the link of one of your people (their IDS account and its history stay)
Complaints
File a complaint about one of your shipments in IDR's Register of Complaints and follow it.
- POST
/complaintscomplaints:writeIdempotency-KeyFile a complaint about one of your shipments (IDR Register of Complaints). Requires Idempotency-Key. - GET
/complaintscomplaints:readList your complaints of this environment, newest first (no history in the list; shipmentId only for your own shipments) - GET
/complaints/{id}complaints:readOne of your complaints by id or number: state, decision, compensation, public history
Balance
The prepaid balance and deferred payment of the key's account (a test key: its test wallet).
Schemas
The named objects of the contract — requests, answers and the details of error codes. Objects are closed: a field is added to the document before the API sends it.
- AccountEnvelope
- AccountLinkReasonDetails
- AccountRequest
- Adjustment
- AdjustmentDisputePeriodDetails
- AdjustmentDisputeRequest
- AdjustmentEnvelope
- AdjustmentList
- AdjustmentNotSellersDetails
- AdjustmentSettleRequest
- AdjustmentSettledDetails
- AdjustmentStateDetails
- Balance
- Booking
- BookingGroup
- BookingGroupPending
- BookingPending
- CancelRequested
- CancelResult
- CarrierErrorDetails
- ComplaintEnvelope
- ComplaintList
- ComplaintRequest
- Documents
- Error
- Event
- EventPage
- Labels
- LoginLink
- LoginLinkRequest
- Metadata
- OperationRefTakenDetails
- ParcelLimitDetails
- PickupLocationEnvelope
- PickupLocationPage
- PickupLocationRequest
- PickupRequest
- Ping
- Platform
- PlatformPaymentMismatchDetails
- PlatformRefund
- PlatformRefundConfirmRequest
- PlatformRefundConfirmedDetails
- PlatformRefundEnvelope
- PlatformRefundList
- PlatformRefundMismatchDetails
- PricingUnavailableDetails
- Quote
- QuoteAlreadyUsedDetails
- QuotePlanDetails
- QuoteRequest
- RefreshTracking
- ReturnBookingRequest
- ReturnChargeSettleRequest
- ReturnChargeSettled
- ReturnChargeSettledDetails
- ReturnPickupUnavailableDetails
- ReturnQuote
- ReturnQuoteRequest
- ServiceRefusal
- Shipment
- ShipmentEvents
- ShipmentInvoices
- ShipmentPage
- ShipmentPickup
- ShipmentRequest
- StoredQuote
- TestAccountAnswerRequest
- TestAdjustmentDecisionRequest
- TestAdvance
- TestAdvanceRequest
- TestScenarioState
- TestWalletRequest
- TrackStatus
- ValidationIssues
- VatScenarioDetails
- WebhookEndpoint
- WebhookEndpointCreated
- WebhookEndpointEnvelope
- WebhookEndpointExistsDetails
- WebhookEndpointLimitDetails
- WebhookEndpointList
- WebhookEndpointRequest
- WebhookTest
- WebhookUrlRefusalDetails