Add loyalty points
Create a loyalty event that awards points to a customer
Identify the customer
Include at least one of the following fields in the request body so Meadow can locate the customer that should receive the loyalty points:customerIdcustomerEmailcustomerPhone
error.code of USER_NOT_FOUND.Authorizations
The key assigned to your company and provided via Meadow
The key generated and provided by our mutual client
Body
The number of loyalty points to award to the customer.
A note describing why the points are being awarded.
The customer id, as returned by customer endpoints.
The email address of the customer to receive the points.
The phone number of the customer to receive the points.
Response
Loyalty event response
The ID of the loyalty event
The source of the loyalty event, will always be open-api for events created through this API
The number of points awarded in this event
A description explaining why the points were awarded
When the loyalty event was created
When the loyalty event was last updated

