Deskhero Developer Hub
Back to deskhero.com
Plans

Change plan shopify

Starts a plan change for a workspace billed through Shopify by creating a Shopify subscription for the requested plan and capped_amount, and returns the Shopify confirmation URL the merchant has to approve. The plan is not changed by this call, it changes when the approval comes back from Shopify, and the call fails without a connected Shopify integration or when capped_amount is below what the plan and current User count need.

POST /api/{tenant:minlength(2)}/v{version:apiVersion}/plans/change_plan_shopify
Authorisation
Minimum role: OWNER

Request arguments

Name Type Source
inputDTO_tenant_change_plan_inputBody
Request body example

Response

Status
200 (OK)
Type
DTO_redirect
Wrapper
DTO_response_wrap
Other 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

Generated Aug 4, 2026 18:37