Get a purchase
Return one purchase with its merchant orders, statuses and totals. Poll this after submitting a cart, or consume purchase webhooks instead. Requires the orders:read scope; purchases of other workspaces return 404.
GET
/
v1
/
purchases
/
{purchase_id}
Get a purchase
curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"all_children_resolved": true,
"app_id": "app_example",
"cart_id": "crt_example",
"created_at": "2026-11-30T09:31:10.912204+00:00",
"currency": "AED",
"environment": "sandbox",
"extensions": {},
"failure_reason": null,
"id": "pur_example",
"merchant_orders": [
{
"cancellation_status": null,
"connection_id": "con_example",
"connector_release": "v1",
"coupon_codes": [],
"currency": "AED",
"custom_fields_state": {},
"discount_minor": 0,
"external_order_id": "SB-EXAMPLE-1001",
"failure_reason": null,
"id": "mord_example",
"last_observed_at": "2026-11-30T11:02:41.118203+00:00",
"lines": [
{
"line_id": "lin_example",
"line_total_minor": 24900,
"qty": 1,
"sku": "OUD-50",
"title": "Royal Oud Perfume 50ml — 50ml",
"unit_price_minor": 24900,
"variant_external_id": "v-oud-50",
"variant_id": "var_example"
}
],
"merchant_id": "mer_example",
"placed_at": "2026-11-30T09:31:10.988884+00:00",
"purchase_id": "pur_example",
"references": {
"connection_id": "con_example",
"environment": "sandbox",
"ignite_order_id": "mord_example",
"merchant_id": "mer_example",
"merchant_order_id": "SB-EXAMPLE-1001",
"purchase_id": "pur_example",
"tenant_id": "ten_example"
},
"revision": 3,
"route": "direct_api",
"shipments": [
{
"carrier": "Aramex",
"id": "shp_example",
"status": "shipped",
"tracking": "TRK-EXAMPLE-1001"
}
],
"shipping_minor": 1500,
"source_metadata": {},
"status": "shipped",
"subtotal_minor": 24900,
"tax_minor": 1320,
"total_minor": 27720
}
],
"notification_owner": "ignite",
"partial_order_policy": "allow_partial",
"quote_id": "quo_example",
"review_offered_at": null,
"shopper_decision": null,
"shopper_options": [],
"shopper_ref": "shopper-ref-1",
"status": "placed",
"submission_id": "sub_example",
"tenant_id": "ten_example",
"total_minor": 27720
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
MachineKeyCustomerOIDC
Response
Successful Response
A purchase with its merchant orders.
⌘I
Get a purchase
curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/purchases/{purchase_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"all_children_resolved": true,
"app_id": "app_example",
"cart_id": "crt_example",
"created_at": "2026-11-30T09:31:10.912204+00:00",
"currency": "AED",
"environment": "sandbox",
"extensions": {},
"failure_reason": null,
"id": "pur_example",
"merchant_orders": [
{
"cancellation_status": null,
"connection_id": "con_example",
"connector_release": "v1",
"coupon_codes": [],
"currency": "AED",
"custom_fields_state": {},
"discount_minor": 0,
"external_order_id": "SB-EXAMPLE-1001",
"failure_reason": null,
"id": "mord_example",
"last_observed_at": "2026-11-30T11:02:41.118203+00:00",
"lines": [
{
"line_id": "lin_example",
"line_total_minor": 24900,
"qty": 1,
"sku": "OUD-50",
"title": "Royal Oud Perfume 50ml — 50ml",
"unit_price_minor": 24900,
"variant_external_id": "v-oud-50",
"variant_id": "var_example"
}
],
"merchant_id": "mer_example",
"placed_at": "2026-11-30T09:31:10.988884+00:00",
"purchase_id": "pur_example",
"references": {
"connection_id": "con_example",
"environment": "sandbox",
"ignite_order_id": "mord_example",
"merchant_id": "mer_example",
"merchant_order_id": "SB-EXAMPLE-1001",
"purchase_id": "pur_example",
"tenant_id": "ten_example"
},
"revision": 3,
"route": "direct_api",
"shipments": [
{
"carrier": "Aramex",
"id": "shp_example",
"status": "shipped",
"tracking": "TRK-EXAMPLE-1001"
}
],
"shipping_minor": 1500,
"source_metadata": {},
"status": "shipped",
"subtotal_minor": 24900,
"tax_minor": 1320,
"total_minor": 27720
}
],
"notification_owner": "ignite",
"partial_order_policy": "allow_partial",
"quote_id": "quo_example",
"review_offered_at": null,
"shopper_decision": null,
"shopper_options": [],
"shopper_ref": "shopper-ref-1",
"status": "placed",
"submission_id": "sub_example",
"tenant_id": "ten_example",
"total_minor": 27720
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}