eSIMTrade Docs
api.esimtrade.com
Simpler, clearer reseller API docs.
Start with authentication, check wallet balance, read plans, and then move into orders and inventory. Each endpoint page includes its authentication mode, request fields, response shape, and copyable examples.
Update reseller company profile fields such as company name, country, and website.
Endpoint
PATCH /reseller/profile
This route updates reseller profile details stored in the reseller profile record. If no record exists yet, the server creates one and preserves approved status for the reseller account.
| Body field | Type | Description |
|---|---|---|
| companyName | string | Optional company display name |
| country | string | Optional country field |
| website | string | Optional company website |
curl --location --request PATCH 'https://api.esimtrade.com/api/v1/reseller/profile' \
--header 'x-access-code: YOUR_ACCESS_CODE' \
--header 'x-secret-key: YOUR_SECRET_KEY' \
--header 'Content-Type: application/json' \
--data '{
"companyName": "Example Telecom",
"country": "JP",
"website": "https://example.com"
}'{
"ok": true,
"profile": {
"name": "Umar Ahmed",
"email": "reseller@example.com",
"role": "reseller",
"companyName": "Example Telecom",
"country": "JP",
"website": "https://example.com",
"status": "approved",
"balanceUsd": "59.00"
}
}On this page