Skip to main content
POST
Preview Wix plan change

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Body

application/json
new_product_id
string
required

Wix product of the plan to preview, from wix_product_id in List plans.

Required string length: 1 - 100
Example:

"5f0c7a2e-3b91-4d6a-9e0f-2c8b1d4a7e63"

period_unit
enum<string>
required

Billing period of the new plan: MONTH or YEAR.

Available options:
MONTH,
YEAR
Example:

"MONTH"

Response

What the upgrade costs now and at renewal.

What a Wix plan upgrade costs now and at renewal.

prorated_amount_due
number
required

Amount Change Wix plan charges now for this upgrade, in major units of currency (dollars, not cents).

Example:

18.5

currency
string
required

Lowercase three-letter currency code of both amounts.

Example:

"usd"

recurring_amount
number
required

What the new plan costs at each renewal, in major units of currency.

Example:

50

next_billing_date
integer
required

When the new plan next renews, as a Unix timestamp in seconds.

Example:

1763971200

billing_interval
enum<string>
required

How often the new plan renews: month or year.

Available options:
month,
year
Example:

"month"

card_last4
string | null
required

Last four digits of the card that would be charged, or the wallet's name for a wallet such as Apple Pay. null when Wix doesn't report one.

Example:

"4242"