Plans / Change plan shopify

Change plan for tenant (via shopify)

Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/plans/change_plan_shopify

Method: POST

Authorisation: Minimum role: OWNER

Request Arguments
Name Type Source
inputDTO_tenant_change_plan_inputBody

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_redirect

Wrapper: DTO_response_wrap

Other response statuses: 400 (BadRequest), 403 (Forbidden)

  Response body example

DTO_tenant_change_plan_input
NameTypeReadOnlyDescription
planENUM tenant_planPlan
capped_amountDoubleCapped amount
DTO_redirect
NameTypeReadOnlyDescription
redirect_urlStringRedirect url
ENUM tenant_plan
ValueNameDescription
0UNKNOWNUNKNOWN
1FREEFREE
2SMALLSMALL
3MEDIUMMEDIUM
4LARGELARGE