Skip to Content
Account

Ask a manager to change, cancel or discuss the fixed-fee custom plan of the account (billing_mode = fixed_plan in GET /billing/offer): upgrade, downgrade, change_terms, cancel or other, with an optional comment and contact. Stored for the Vizbl team and sent to the CRM; changes no subscription and charges nothing. At most 3 requests an hour per account (429 with retryAfterSeconds). A store key needs developer:account:read, an account-wide key developer:billing:checkout

POST
/developer-api/billing/plan_change_requests

Authorization

bearer
headerAuthorizationBearer <secret_api_key>

Use Authorization: Bearer <secret_api_key>.

Request Body

application/json
  1. body
type*string

What the merchant asks for: upgrade (more volume or features), downgrade, change_terms (other terms or products), cancel, other (any other question).

Value in"upgrade""downgrade""change_terms""cancel""other"
comment?string

Optional, the merchant's own words (up to 2000 characters).

Lengthlength <= 2000
contact?string

Optional, how the merchant prefers to be reached: an e-mail or a phone number (up to 320 characters).

Lengthlength <= 320
store_id?string

The connected Shopify store the request is about; an account-wide key only — a store key always uses its own store.

Length1 <= length

Response Body

Invalid request

application/json
  1. response
status*number
Value in100101102103200201202203204205206207208210300301302303304307308400401402403404405406407408409410411412413414415416417418421422423424428429456500501502503504505507508
code*string

Machine-readable error id (i18n dictionary key), e.g. shopify.ERROR_ID_TOKEN_INVALID; http_error.<STATUS> when there is no specific one.

error*array<string>
retryAfterSeconds?integer
Range0 <= value <= 9007199254740991
manageUrl?string

Where this account pays instead: the Vizbl app billing page in the Shopify admin (subscription.ERROR_PAYMENTS_THROUGH_SHOPIFY_APP).

Formaturi
manage_url?stringDeprecated

Deprecated: the same as manageUrl, kept for the clients that still read it.

Formaturi
stack?string
curl -X POST 'https://api.vizbl.com/developer-api/billing/plan_change_requests' \  -H 'Content-Type: application/json' \  -d '{  "type": "upgrade",  "comment": "We are adding 300 products next month.",  "contact": "owner@example.com"}'
Example Response
{  "status": 100,  "code": "string",  "error": [    "string"  ],  "retryAfterSeconds": 0,  "manageUrl": "http://example.com",  "manage_url": "http://example.com",  "stack": "string"}