post
https://developers.yotpo.com/loyalty/v3/stores//custom_actions
This endpoint records an action performed by a customer. It will apply the action to all active custom action campaigns and award the necessary points and/or discounts.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
This endpoint records an action performed by a customer. It will apply the action to all active custom action earning rules and award the necessary points and/or discounts.
Please note:
- The "created_at" parameter will be used in the Retrieve Loyalty Customer Details by Email response when you send
with_history: true.
Before you record an action
- Wrap the fields in a
custom_actionsobject, as in the example on the right.action_namehas to match the name of a Custom Action campaign in the merchant's loyalty program. Otherwise the call returns422withaction_name must match the name set for one of the Custom Action Campaigns.
