Afosto|Developer Docs
Developer documentation

Build on the
Afosto platform

Everything you need to integrate with Afosto: the GraphQL API for your data, webhooks for real-time events, and integrations that connect your platform to Afosto.

Get startedAPI reference
GET /ordersorder READYcreateCartaddItemsToCartsearch_ordersget_orderorder.createdparcel.shippedquery { orders }adjustStockcart.checkout.urlconfirmCartMarketplacesStorefrontsAI agentsWebhooksYour appsHosted checkout

Quick links

GraphQL API

Authentication

Learn how to authenticate with the Afosto API using API keys.

GraphQL API

Queries and mutations

Every query and mutation, with its arguments and an example.

GraphQL API

How-to guides

Step-by-step recipes for common flows, from a cart to a shipped order.

Webhooks

Webhooks

Receive events from Afosto in real time and verify their signatures.

Hosted Commerce

Storefront, checkout and account

Send carts to the hosted checkout, log in customers and charge their own prices.

BYOM

Bring Your Own Marketplace

Connect a marketplace Afosto has no integration for, with five endpoints.