Menu
Record Purchase
Log a completed order's line items — fire-and-forget
Use it in a workflow
- Add a step and choose the Recommendations connector.
- Pick the Record Purchase action (under database).
- Fill in the fields below, then reference the result from later steps as
{{recordPurchase.response.data}}.
Fields
Examples
One item
A single-item order still goes in as a one-entry list
{
"orderId": "ORD-00001",
"items": "[{\"itemKey\":\"SNOWBOARD-POWDER\",\"quantity\":1}]"
}
Whole order at once
Every line item in one call
{
"orderId": "ORD-00001",
"items": "[{\"itemKey\":\"SNOWBOARD-POWDER\",\"quantity\":1},{\"itemKey\":\"BINDING-STRAP\",\"quantity\":1}]"
}
Need more? See the Recommendations guide for connection setup and behaviour shared by every action.
Was this page helpful?