Documentation Index
Fetch the complete documentation index at: https://docs.synapsebuilder.org/llms.txt
Use this file to discover all available pages before exploring further.
What are Functions?
Shopify Functions are serverless functions that customize discounts, payments, shipping, and validation logic.Function Types
Discounts
Volume discounts, BOGO, tiered pricing
Payment Customization
Hide/rename payment methods
Shipping Customization
Custom shipping rates and rules
Validation
Cart and checkout validation
Example: Volume Discount
Key Features
- JavaScript/Rust: Write in familiar languages
- Fast Execution: Sub-100ms execution time
- GraphQL Input: Query cart and customer data
- Metafield Config: Configure via Shopify admin