Skip to main content
POST

Authorizations

api-token
string
header
required

API key. Create and manage keys at /v4/account/api-keys or in the dashboard.

Body

application/json
type
enum<string>
required

Product to order. new_* creates a new subaccount; update_* upgrades an existing one in place (more proxies/tokens/bandwidth or extended duration) and requires account_id. Each update_* accepts the same product-specific fields as its matching new_* — see the examples below.

Available options:
new_datacenter_shared,
new_residential,
new_residential_unlimited,
new_serp_api,
update_datacenter_shared,
update_datacenter_dedicated,
update_residential,
update_residential_unlimited,
update_serp_api
account_id
string

Required for update_* types: the AccountID of the subaccount to upgrade (from /v4/account/subaccounts). Must be a subaccount you own. Ignored for new_* types.

Example:

"fe7941e6-1eed-4d95-881a-3159901897d3"

dry_run
boolean

When true, returns a price quote without creating an order or debiting the wallet. Works for both new_* and update_*, and on a zero wallet balance.

Example:

false

country
string

Billing country (full name, e.g. "Belgium"). Determines VAT. Required for new_* orders; optional for update_* (the subaccount's existing country is used).

Example:

"Belgium"

coupon_code
string

Optional coupon. Discount applies before any per-account API-ordering percentage (coupon first, then percentage on the post-coupon price). Coupons cannot be applied to wallet top-ups.

Example:

"WELCOME10"

fname
string

Override the first name from the authenticated account.

lname
string

Override the last name from the authenticated account.

Response

For a real order: created and paid from the wallet — data is the bare order ID string. For dry_run: true: data is a price quote and no order is created or charged.

success
boolean
Example:

true

data

Order ID (returned for wallet-credit orders).

Example:

"0bc1a40f-2a17-4c84-9b2b-f4b9d3e0b3a1"