Create eSIM Order
POST
/api/esim/orderLast modified: 2 months ago
Maintainer: Not configured
To create an eSIM order, you need to send a POST
request to the /api/esim/order
endpoint.
You are required to provide the following parameters in the request body:
items
: An array of eSIM items you want to order. Each item should contain the following details:packageId
: The ID of the eSIM package you want to order. This is a required field of typestring
.quantity
: The quantity of the eSIM package you want to order. This is a required field of typenumber
.
Request
Header Params
Content-Type
string
required
Example:
application/json
User-Agent
string
required
Example:
insomnia/10.1.1
Authorization
string
required
Example:
{{token}}
Body Params application/json
items
array [object {2}]
required
packageId
string
optional
quantity
integer
optional
Example
{
"items": [
{
"packageId": "esim-cambodia-7days-1gb-all",
"quantity": 1
}
]
}
Request samples
Responses
successfully / 200(200)
successfully / 200
HTTP Code: 200
Content Type : Rawtext/plain
Examplesuccessfully / 200
application/json; charset=utf-8 content type is not supported in the response body
Last modified: 2 months ago