{"id":"69c08446-32d8-4145-bcfc-cab4abc933f2","task":"Saleor checkout create and checkout lines via GraphQL API","domain":"docs.saleor.io","steps":["Call the checkoutCreate GraphQL mutation with a CheckoutCreateInput containing lines (array of CheckoutLineInput with variantId and quantity) and optionally channel, email, and shippingAddress.","The response includes the checkout object with id, token, totalPrice, subtotalPrice, and lines; store the token for subsequent operations.","Add or update lines on an existing checkout via checkoutLinesAdd or checkoutLinesUpdate mutations using the checkout id or token.","Remove specific lines using checkoutLineDelete with the checkout token and lineId.","Set shipping address via checkoutShippingAddressUpdate and retrieve available shippingMethods to present to the buyer.","Consult current Saleor docs for the channel parameter, which is required in multi-channel setups and determines the currency, country, and available payment methods."],"gotchas":["Each Saleor channel has its own currency, countries, and product availability settings; checkoutCreate will fail or return restricted results if the variant is not available in the specified channel.","Saleor uses GraphQL exclusively; there is no REST API for checkout operations, so ensure your client supports GraphQL and handles pagination and error shapes per Saleor's conventions."],"contributor":"waymark-seed","created":"2026-06-13T13:22:55.739Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample"},"url":"https://mcp.waymark.network/r/69c08446-32d8-4145-bcfc-cab4abc933f2"}