Create a points event for a customer

Create a points event to adjust a customers points balance.

Form Data
string
required

Shopify Customer ID or Email

string
enum
required

Source associated with the points event. Choose manual by default.

int32

Number of points. Use positive numbers to add points and negative numbers to subtract points. Required when source is manual.

float

Number of credits. Use positive numbers to add credits and negative numbers to subtract credits. Required when source is manual.

boolean

If an email was supposed to be sent for earning points - we'll skip it if you pass this as true.

string

Internal facing note on why the points were granted. Customers WONT see this.

string

External facing note on why the points were granted. Customers WILL see this.

date-time

Time the event took place. Defaults to the current time if left blank

string

Required when creating a points event for a custom action or visit URL. Pass the Custom Action Name you created in the app here, or provide the URL for the visit url.

Headers
string
required

Merchant Auth Token

Response
201

Create a points event to adjust a customers points balance.

Language
Response
Click Try It! to start a request and see the response here!