Saleor
communityGraphQL-first headless commerce platform with dashboard, multi-channel, and extensible checkout.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://{instance}/graphql/Search products via GraphQL
Parameters
query{ products(filter: {search: "keyword"}required— first: 10) { edges { node { id name description pricing { priceRange { start { gross { amount currency } } } } thumbnail { url } category { name } } } } } (stringReturns
products.edges[].node with id, name, description, pricing, thumbnail, categoryPOST
https://{instance}/graphql/Get product details
Parameters
query{ product(id: "{id}") { id name description seoDescription variants { id name pricing { price { gross { amount } } } quantityAvailable } images { url } } } (stringrequiredReturns
product with id, name, variants[], images[], descriptionPOST
https://{instance}/graphql/Create checkout
Parameters
querymutation { checkoutCreate(input: {channel: "default"required— lines: [{quantity: 1, variantId: "{id}"}]}) { checkout { id token totalPrice { gross { amount } } lines { quantity variant { name } } } } } (stringReturns
checkout with id, token, totalPrice, lines[]