Create a recurring or usage-based app subscription for charging Shopify merchants. Use when setting up billing for app features and services. Returns a confirmation URL where the merchant must approve charges before the subscription becomes active.
nameRequiredstringDescriptive name for the subscription plan displayed to merchant (e.g., 'Basic Plan', 'Premium Tier').
testbooleanWhether this is a test subscription that won't actually charge the merchant. Useful for development and testing. Defaults to false.
lineItemsRequiredarrayOne or more pricing plans defining the subscription structure. Only one pricing plan can be defined for each available type (recurring or usage-based).
returnUrlRequiredstringURL where merchant is redirected after approving or declining the subscription. Should be a page in your app that handles the result.
trialDaysintegerNumber of free trial days beginning when merchant approves the subscription. Merchant won't be charged during trial period.
replacementBehaviorstringControls how the new subscription interacts with existing active subscriptions.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.