Start here
Introduction
Learn how the District GraphQL APIs work, set up a typed client, and choose the keys for your app.
District developer platform
Build storefronts with the Marketplace API, and seller tools and sync services with the Admin API. Run sample operations in the docs with your own key.
POST /graphql$ curl https://marketplace.api.district.net/graphql \
-H "District-Client-Authorization: Bearer $DISTRICT_CLIENT_KEY" \ -H 'Content-Type: application/json' \ -d '{"query":"{ marketplace { name handle description } }"}'{"data": {
"marketplace": {
"name": "Sage's Supply Co",
"handle": "sages-supply-co",
"description": "Sage: woof!"
} }}Learn how the District GraphQL APIs work, set up a typed client, and choose the keys for your app.
Build a storefront for one marketplace: products, carts, checkout and orders.
Run a marketplace: listings, orders, shipping and members.
Get an HTTPS request when a listing, an order, a livestream or a seller changes.