Browse the help center

Update site country pricing

Creates or updates a country-specific price override for the given site's fixed pricing model.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/pricing/{countryCode}.do

Creates or updates a country-specific price override for the given site's fixed pricing model. The site must already have fixed pricing configured. The country code must be a valid 2-letter ISO 3166 code; it is case-insensitive (us and US are the same row), and Great Britain is stored and read back as UK, GB being accepted for it. price must be between 0 and 1000000, or the call is a 400 naming it and nothing is written. Optionally specify an actionId for per-action pricing; it must name a live action the caller can see in the console's action list. Requires ENABLED level on SITE_PAYMENT_MODEL permission.

Path Params

siteId integer required

Unique numeric ID of the site

5001

countryCode string required

2-letter ISO 3166 country code (e.g. US, GB, DE)

US

Form Params

price number required

Price value as a decimal number

2.50

actionId integer

ID of the action for per-action pricing, or null for default pricing

42

Responses

200

Country pricing updated successfully

400

Invalid request parameters or site/country not found

401

Authentication error

403

Insufficient permissions

404

actionId names no action the caller can see

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.