Skip to main content

Get order details by order code

How to obtain the order details filtering by code tutorial

Before starting

Before making any call to Api Orders, it is necessary to obtain a valid OAuth access token.

Prerequisites!

You will need a valid OAuth access_token to be able to use the next endpoint! Please refer to our Authentication Guide to obtain one.

Get orders filtering by the order code

The following example Postman Curl, show a call to api-orders that returns the details of an order filtered by the order code passing the following parameters:

  • order_code: This parameter is the identifier of the order whose details should be returned.
curl --location --request GET 'http://gateway-pre.oneboxtickets.net/orders-mgmt-api/v1/orders/{{order_code}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{access_token}}'

Notes:

  • Please, note that order codes follow always an alphanumeric format such as: 5535ABCD8SK8.