Swell · Arazzo Workflow

Swell Storefront Register and Log In

Version 1.0.0

Create a storefront customer account and immediately authenticate the session.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CommerceHeadless CommerceAPI-FirstB2CB2BSubscriptionMarketplacesWholesaleStorefrontCheckoutPaymentsCartOrderCatalogInternationalizationArazzoWorkflows

Provider

swell-io

Workflows

storefront-register-and-login
Create a storefront account, then log in.
Posts a new account, then posts login credentials to establish a session.
2 steps inputs: email, first_name, last_name, password, publicKey outputs: accountId, email
1
createAccountStep
Create the storefront customer account.
2
loginStep
Authenticate the new customer to establish a session.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Swell Storefront Register and Log In
  summary: Create a storefront customer account and immediately authenticate the session.
  description: >-
    The storefront sign-up flow. The workflow creates a customer account from an
    email, password, and name through the frontend account endpoint, then logs
    that customer in to establish an authenticated session. Each step spells out
    its request inline, including the public-key authorization, so the flow can
    be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: accountApi
  url: ../openapi/swell-io-account-api-openapi.yml
  type: openapi
- name: accountSessionApi
  url: ../openapi/swell-io-account-session-api-openapi.yml
  type: openapi
workflows:
- workflowId: storefront-register-and-login
  summary: Create a storefront account, then log in.
  description: >-
    Posts a new account, then posts login credentials to establish a session.
  inputs:
    type: object
    required:
    - publicKey
    - email
    - password
    properties:
      publicKey:
        type: string
        description: Public storefront key, prefixed with pk_.
      email:
        type: string
        description: Customer email address.
      password:
        type: string
        description: Customer password for the new account and login.
      first_name:
        type: string
        description: Customer first name.
      last_name:
        type: string
        description: Customer last name.
  steps:
  - stepId: createAccountStep
    description: Create the storefront customer account.
    operationId: frontendCreateAccount
    parameters:
    - name: Authorization
      in: header
      value: $inputs.publicKey
    requestBody:
      contentType: application/json
      payload:
        email: $inputs.email
        first_name: $inputs.first_name
        last_name: $inputs.last_name
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      accountId: $response.body#/id
      email: $response.body#/email
  - stepId: loginStep
    description: Authenticate the new customer to establish a session.
    operationId: frontendAccountLogin
    parameters:
    - name: Authorization
      in: header
      value: $inputs.publicKey
    requestBody:
      contentType: application/json
      payload:
        email: $inputs.email
        password: $inputs.password
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accountId: $response.body#/id
      email: $response.body#/email
  outputs:
    accountId: $steps.loginStep.outputs.accountId
    email: $steps.loginStep.outputs.email

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/swell-io-storefront-register-login-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.