Swell GraphQL API

Experimental (alpha) GraphQL endpoint that exposes a curated subset of the storefront commerce model — products, attributes, categories, accounts, sessions, carts, orders, payments, payment settings, subscriptions, store settings, currencies, and navigation menus. Authorized with a public storefront key passed in the Authorization header. Notable limits: no nested queries, no payment tokenization, no abandoned-cart recovery, no guest cart email updates. A GraphQL playground is available at /playground when logged into the dashboard.

Documentation

Other Resources

🔗
GraphQL
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/graphql/swell-io-graphql.md
🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/apis.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-apply-coupon-to-cart-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-build-cart-convert-order-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-cancel-subscription-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-capture-refund-payment-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-categorize-product-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-create-product-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-create-subscription-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-find-or-create-customer-order-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-onboard-customer-order-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-storefront-apply-coupon-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-storefront-checkout-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-storefront-register-login-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/swell-io/refs/heads/main/arazzo/swell-io-storefront-update-cart-item-workflow.yml

API entry from apis.yml

apis.yml Raw ↑
aid: swell-io:swell-graphql-api
name: Swell GraphQL API
tags:
- Commerce
- GraphQL
- Storefront
- Experimental
humanURL: https://developers.swell.is/frontend-api/frontend-libraries/graphql
baseURL: https://{store-id}.swell.store/graphql/v2
properties:
- url: https://developers.swell.is/frontend-api/frontend-libraries/graphql
  type: Documentation
- url: https://{store-id}.swell.store/playground
  type: APIReference
  name: GraphQL Playground
- url: graphql/swell-io-graphql.md
  type: GraphQL
description: 'Experimental (alpha) GraphQL endpoint that exposes a curated subset of the storefront commerce
  model — products, attributes, categories, accounts, sessions, carts, orders, payments, payment settings,
  subscriptions, store settings, currencies, and navigation menus. Authorized with a public storefront
  key passed in the Authorization header. Notable limits: no nested queries, no payment tokenization,
  no abandoned-cart recovery, no guest cart email updates. A GraphQL playground is available at /playground
  when logged into the dashboard.'