Inventory Query
Before placing an order in the reseller system, please check if the inventory is sufficient to avoid order failure.
Request Interface
Request Headers
Field Name Field Value Action
+ Add Field
Request Parameters (Params)
Field Name Field Value Action
+ Add Field

* Token can be used in either Request Headers or Request Parameters (Params)

Response Data
{ "status": true, "code": 0, "msg": "获取成功", "data": { "esimStore": 1, "categoryId": "31", "memberCategoryId": 0 } }
Request Field Descriptions
Field Type Description
token string

Access token/signaling used for API authentication

categoryId number

eSIM Type ID

memberCategoryId number

Optional, eSIM sales plan ID
When this value is not empty, queries the eSIM sales plan inventory under the eSIM type; when empty, queries the total eSIM type inventory

Response Field Descriptions
Field Type Description
status boolean

【Request Status】

true - Success

false - Request Failed

code number

-

msg string

【Request Description】

data object

【Request Data】

esimStore - Current eSIM inventory count. 9999 (eSIM type inventory) or 999 (eSIM sales plan inventory) means unlimited, 0 means out of stock

categoryId - eSIM Type ID

memberCategoryId - eSIM sales plan ID, defaults to 0 if not provided