/tours/{tourId}/accounting

Return one tour as an accounting document. The tour is the purchase order, so its purchase lines and totals appear once even when it serves several orders. Orders include only shipments on this tour. A shipment without a leg on this tour is omitted. A cancelled tour includes its fee; orders and shipments are included only for non-cancelled legs still attached to that tour, including a leg already marked Failed that remains attached. The updatedAt value tracks changes to the tour row; changes to related shipments, orders, carriers or documents do not update it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier for the tour.

Responses

401

unauthorized

403

The role of the API key does not allow this action. The key needs a role with the matching permission, for example full access.

404

tour not found

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json