The openCheckout action navigates the user directly to the Shopify checkout page inside the Superfans app.
It allows customers to review their cart items, apply discounts, and complete their purchase — all within the in-app experience.
Function Signature
Superfans.actions.openCheckout()
Parameter
Type
Required
Description
Nil
Nil
Nil
This action does not require any parameter.
Structure of Response
Status
Response
Success
{ "status": "success", "message": "Checkout page opened successfully" }