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
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
Name | Type | ReadOnly | Description |
---|---|---|---|
plan | ENUM tenant_plan | Plan | |
capped_amount | Double | Capped amount |
DTO_redirect
Name | Type | ReadOnly | Description |
---|---|---|---|
redirect_url | String | Redirect url |
ENUM tenant_plan
Value | Name | Description |
---|---|---|
0 | UNKNOWN | UNKNOWN |
1 | FREE | FREE |
2 | SMALL | SMALL |
3 | MEDIUM | MEDIUM |
4 | LARGE | LARGE |