Create notification about pending loyalty points

POST {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/notifications/pending_points

Create a notification about pending loyalty points for a given profile-based loyalty program. For more information, see Managing loyalty notifications.

Request Body

{"enabled"=>true, "webhook"=>{"url"=>"www.my-company.com/my-endpoint-name", "headers"=>["content-type: application/json"], "enabled"=>true}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring