Shops > Plan > planCreate
POST:plan.json
Description
Switch shop's plan.
Permission bit: "shop_plan.modify"
Topic: Plan
Arguments
data: PlanCreate!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Unique payment method identifier. See also: Unique Identifiers
Example: "pm_EQzGqWoY"
Valid when: payment_method_id matches regexp pattern: ^pm_
Unique plan identifier. See also: Unique Identifiers
Example: "medium"
Valid when: plan_id is not empty
Stripe payment method token
Example: "tok_123"
Result
Boolean
Preview (typescript)
Loading module