Create a points event for a customerAsk AIpost https://developer-api.rivo.io/merchant_api/v1/points_eventsCreate a points event to adjust a customers points balance.Form Datacustomer_identifierstringrequiredShopify Customer ID or EmailsourcestringenumrequiredSource associated with the points event. Choose manual by default.manualcustom_actionreferral_completevisit_urlinstagram_followtiktok_followfacebook_likefacebook_sharetwitter_followtwitter_shareShow 10 enum valuespoints_amountint32Number of points. Use positive numbers to add points and negative numbers to subtract points. Required when source is manual.credits_amountfloatNumber of credits. Use positive numbers to add credits and negative numbers to subtract credits. Required when source is manual.skip_emailbooleanIf an email was supposed to be sent for earning points - we'll skip it if you pass this as true.truefalseinternal_notestringInternal facing note on why the points were granted. Customers WONT see this.external_notestringExternal facing note on why the points were granted. Customers WILL see this.applied_atdate-timeTime the event took place. Defaults to the current time if left blankcustom_action_namestringRequired 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.HeadersAuthorizationstringrequiredMerchant Auth TokenResponse 201Create a points event to adjust a customers points balance.Updated 10 months ago