List Packages
Synchronize the package catalog available to your client account.
Request
GET /api/v1/packages?page=1&perPage=100
Authorization: Bearer <TOKEN>
Accept: application/jsonpage
Page number; start at 1.
perPage
Number of items requested per page; this example uses 100.
Iterate through all pages using the pagination metadata returned by the API.
Response
Simplified package item. The price shown is an illustrative client-specific price.
{
"id": "a0966054-2e2f-4e7f-aead-99817f365d1d",
"code": "9153",
"name": "Global 3GB 7 days",
"price": 8.50,
"dataLimit": 3,
"limit": 7,
"limitType": "day",
"status": "live",
"active": true
}id
Package identifier used as packageId.
code
Package catalog code.
name
Display name.
price
Price specific to your client account.
dataLimit
Total data allowance; 3 GB in this example.
limit / limitType
Package duration; 7 days in this example.
status / active
Catalog status and availability flag.
start / end
Product availability period in the catalog, when returned. These are not the validity dates of a package assigned to an eSIM.
For assignment validity, use usageStartAt and usageExpireAt.
Last updated