Swell Store API

Public store settings, currencies, payment settings, and menus.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

swell-io-store-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Swell Backend Account Addresses Store API
  version: 2025-01
  description: 'Swell Backend API — the server-side REST surface for managing every resource in a Swell commerce store: products, variants, carts, orders, payments, refunds, shipments, returns, subscriptions, accounts (customers), invoices, coupons, promotions, gift cards, content, files, data models, events, and webhooks. Authenticated with a store ID and secret key. The official Node and PHP libraries connect over a custom wire protocol on port 8443 for improved performance; HTTPS REST is available at https://api.swell.store.'
  contact:
    name: Swell Developer Support
    url: https://developers.swell.is
    email: support@swell.is
  license:
    name: API Profile — API Evangelist
    url: https://apievangelist.com
servers:
- url: https://api.swell.store
  description: Production Backend API
security:
- SwellStoreId: []
  SwellSecretKey: []
tags:
- name: Store
  description: Public store settings, currencies, payment settings, and menus.
paths:
  /api/settings:
    get:
      tags:
      - Store
      summary: Retrieve Store Settings
      operationId: frontendGetSettings
      responses:
        '200':
          description: Public store settings (currency
          locale: null
          store name).: null
  /api/settings/payments:
    get:
      tags:
      - Store
      summary: Retrieve Payment Settings
      operationId: frontendGetPaymentSettings
      responses:
        '200':
          description: Public payment gateway configuration.
  /api/settings/currencies:
    get:
      tags:
      - Store
      summary: List Supported Currencies
      operationId: frontendListCurrencies
      responses:
        '200':
          description: Currencies and exchange rates.
components:
  securitySchemes:
    SwellStoreId:
      type: apiKey
      in: header
      name: X-Store-Id
      description: Your Swell store ID, found in the Developer section of the dashboard.
    SwellSecretKey:
      type: apiKey
      in: header
      name: Authorization
      description: 'Secret API key prefixed with `sk_`. Sent as `Authorization: Basic <base64(store-id:secret-key)>` or equivalent custom header by official libraries.'