Skip to content

eSIMTrade Docs

Public API

api.esimtrade.com

cURL
JavaScript
HTTP
JSON

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.

Fast scan
Live route coverage
Copyable examples
Account
API key or session
PATCH

Update Profile

Update reseller company profile fields such as company name, country, and website.

Endpoint

PATCH /reseller/profile

Endpoint behavior

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 fieldTypeDescription
companyNamestringOptional company display name
countrystringOptional country field
websitestringOptional company website

Update profile

cURL
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"
}'

Live response shape

JSON
{
  "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"
  }
}

Base URL

https://api.esimtrade.com/api/v1

Open on API host

On this page