post
https://loyalty.yotpo.com/api/v2/orders
This endpoint records an order made by a customer. It will apply the order to all matching active campaigns and award the necessary points and/or discounts.
Recipes
🛒
Record an order and award points
Open Recipe
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Important:
- Customer Tags validation using the
customerparameter is available for Shopify, Bigcommerce, Salesforce Commerce Cloud and Generic platforms.\
- These include/exclude tags must be configured through the Loyalty & Referrals Admin
- Order Tags validation is available for Shopify, Magento and Generic platforms.\
- These include/exclude tags must be configured through the Loyalty & Referrals Admin
Points timingPoints are awarded asynchronously. Orders with a
created_atfar in the past (for example, before your earning campaigns started) are recorded and count towardtotal_spend_cents, but may not earn points. To mark the customer as opted in, sendcustomer.opted_in: true.
