This quickstart shows you how to submit an order in a single API call through our Purchase endpoint.It’s a fire-and-forget endpoint that combines creating and confirming an order in a single API call, letting our system handle offer retrieval, payment authorization, and order placement asynchronously. This simplifies your workflow and reduces integration complexity.It’s ideal for automating routine purchases, processing high-volume asynchronous orders, or integrating into workflows that don’t require synchronous user approval.
Coming soon, we will add an optional maxPurchasePrice field, allowing you to set the maximum amount the shopper is willing to pay for an order. If the total exceeds this value, the order will not be processed.
Orders can only be shipped to U.S. addresses. International shipping is not yet supported. Using a non-US address will cause the checkout intent to fail.
Congrats — you just submitted your first Rye order!If you want to check shipping options, taxes, total cost, and product availability before submitting an order, please review this guide for the steps.Next, check out the API Comparison guide to learn about the differences between the Universal Checkout API and the Sync API.