Orders
Track checkout started
Changed onTracks a started checkout and triggers the ecommerce.checkout_started event, which can power abandoned checkout automations.
post/checkouts
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/checkouts
- AuthHTTP bearer
Request body
Example request
{
"checkoutId": "checkout-abc123",
"totalCents": 8850,
"currency": "USD",
"checkoutUrl": "https://store.example.com/checkout/abc123",
"customer": {
"email": "buyer@example.com",
"externalId": "user_123",
"firstName": "Jane",
"lastName": "Doe",
"attributes": {
"acquisitionChannel": "tiktok",
"country": "US"
}
},
"items": [
{
"productId": "SKU-PROTEIN-1KG",
"variantId": "SKU-PROTEIN-1KG-VANILLA",
"sku": "VANILLA-1KG",
"title": "Protein Powder",
"variantTitle": "Vanilla",
"quantity": 1,
"priceCents": 8850
}
]
}Response
Checkout tracked successfully
Example response
{
"success": true,
"checkoutId": "checkout-abc123"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
became not nullable
- breaking