Postman Collection

Use the ready-to-import v2 collection:

Import steps

  1. Open Postman.

  2. Click Import.

  3. Select docs/gitbook/postman/OrderService.v2.postman_collection.json.

  4. Set collection variables:

    • baseUrl

    • identityUrl

    • baseUrlSandbox

    • baseUrlProduction

    • identityUrlSandbox

    • identityUrlProduction

    • client_id

    • client_secret

    • scope

    • accessToken

Default collection values are set to Sandbox. Switch baseUrl and identityUrl to the production values when required.

Suggested run order

  1. Run Auth > Get Token (Identity Server).

  2. Copy access_token into accessToken variable.

  3. Run order/product/courier requests as needed.

Important

  • Cancellation requires clinicCode and is clinic-scoped.

  • Product Search (Anonymous) does not require bearer token.

Last updated

Was this helpful?