Grant offer to customer
Customers
Grant offer to customer
Grant offer(s) to a customer
Create an offer grant for a customer.
In the request body inlcude offer resource identifier(s), id: OFFER_ID, type: "offers".
{ "data": [{"type": "offers", "id": "123"}] }
Response
- A successful response body will list the offers related to the customer
- An error response will include a JSON body with error details.
Behaviors and side effects
- Checks if the customerwas already granted the offer
- May send a gift granted email if this is a gift offer
- Triggers automations if configured
POST
Grant offer to customer
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json