Swell · Capability

Cart Checkout

Cart Checkout is a Naftiko capability published by Swell, one of 8 capabilities the APIs.io network indexes for this provider.

Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Run with Naftiko

Capability Spec

cart-checkout.yaml Raw ↑
apiVersion: naftiko.dev/v1
kind: Capability
metadata:
  name: cart-checkout
  description: End-to-end cart and checkout flow — create cart, add items, apply coupon, submit order.
spec:
  inputs:
    - name: store_id
      required: true
    - name: public_key
      description: Swell public storefront key.
      required: true
  steps:
    - id: create-cart
      operation: createCart
      api: swell-backend-api
    - id: add-item
      operation: frontendAddCartItem
      api: swell-frontend-api
    - id: apply-coupon
      operation: frontendApplyCoupon
      api: swell-frontend-api
    - id: submit-order
      operation: frontendSubmitOrder
      api: swell-frontend-api