CartQL

GraphQL Shopping Cart API

GraphQL shopping cart and checkout API built to work with your existing inventory.

CartQL illustration

Bring your own frontend, or backend

However you handle carts, on the frontend or as a separate microservice, CartQL was designed to fit right in.

Built for the Jamstack

No longer worry about writing logic to handle carts and checkout. Works with Apollo Client, URQL and more.

Webhooks Paid upgrade

Bring your Jamstack site to life with webhooks. Process custom business logic when carts change.

Flexible cart items

Store any type of data on cart and cart items with the CartQL mutations API.

No replatforming

CartQL was built to handle custom cart items for SKUs, promotions, shipping and so much more.

Microservice

CartQL can be used directly with your static site or stitched together with your other APIs.

Customer Auth Paid upgrade

Mutations for registering, managing and authenticating users. Queries for retrieving previous orders.

What you see is what you get

Manage cart items, checkout and pay for orders with a simple declarative GraphQL API.

Works with your favorite frontend framework.

Works with React
Works with Next.js
Works with Vue.js
Works with Gatsby
Works with Ember
Works with Svelte
Works with Apollo
query {
cart(
id: "ck5r8d5b500003f5o2aif0v2b",
currency: {
code: GBP
}
) {
...CartWithItems
}
}
fragment CartWithItems on Cart {
...CartInfo
items {
...ItemInfo
}
}
fragment CartInfo on Cart {
id
email
isEmpty
abandoned
totalItems
totalUniqueItems
currency {
code
symbol
}
subTotal {
amount
formatted
}
shippingTotal {
amount
formatted
}
taxTotal {
amount
formatted
}
grandTotal {
amount
formatted
}
attributes {
key
value
}
notes
createdAt
updatedAt
}
fragment ItemInfo on CartItem {
id
name
description
images
quantity
attributes {
key
value
}
unitTotal {
amount
formatted
}
lineTotal {
amount
formatted
}
createdAt
updatedAt
}

Simple, transparent pricing

It's free to get started with carts and checkout. Upgrade in your own time, or don't.

Free

No account needed

  • Jamstack-ready
  • GraphQL Cart API
  • GraphQL Checkout API

Custom

Book a demo for more info

  • Everything from Pay as you Go
  • Customer Authentication
  • Webhooks
CartQLMade with ❤️ in the UK