App Developer & Merchant Docs
← View Case Study
FlowSync — VIP Loyalty & Bundle Upsell Shopify App — Integration Guide
API Build v1.8.2 • Shopify Admin API & Checkout Extensibility
1. Required OAuth Scopes
SCOPES="read_products,write_discounts,read_customers,write_metaobjects,read_orders"
2. Verified Production Architecture Stack
Shopify App
GraphQL
Node.js
React
PHP 8+
MySQL
3. Enabling the Checkout UI Extension Block
- Go to Settings → Checkout → Customize inside your Shopify Admin.
- Add the FlowSync One-Click Bundle & Loyalty Block above the payment method selector.
- Activate the Shopify Function Bundle Discount rule from the FlowSync Rule Builder tab.
4. Sample GraphQL Metafield Sync Payload
mutation SyncLoyaltyBalance($ownerId: ID!, $points: String!) {
metafieldsSet(metafields: [{
ownerId: $ownerId,
namespace: "flowsync_loyalty",
key: "available_points",
type: "number_integer",
value: $points
}]) { userErrors { field message } }
}
