This endpoint allows you to retrieve the details of a specific order from the Airalo Partners API using the order ID. You can also include related data in the response by specifying optional parameters. The access token, obtained from the "Request Access Token" endpoint, should be included in the request.
Request
Path Params
order_id
string
required
The order ID for which you want to retrieve the details.
Query Params
include
string
optional
Optional. A comma-separated string to include related data in the response. Possible values are "sims", "user", and "status".
Example:
sims,user,status
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer {{token}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET '/v1/orders/' \
--header'Accept: application/json' \
--header'Authorization: Bearer {{token}}'
Responses
🟠401Get Order (401)
application/json
Body
data
array
required
meta
object
required
message
string
required
Example
{"data":[],"meta":{"message":"This action is unauthorized."}}