POST
/
unsubscribe
curl --request POST \
  --url https://test.paysight.io/customerapi/unsubscribe \
  --header 'Content-Type: application/json' \
  --data '{
  "parentCompanyId": 1,
  "userEmail": "care@yourdomain.com",
  "email": "joe@blogs.com",
  "orderIds": "[9382721,282262]",
  "subscriberIds": "[123455,123456]",
  "sendUserCommunication": false
}'
{
  "success": true,
  "message": "",
  "unsubscribes": 1
}

Body

application/json

Payload

The body is of type object.

Response

200 - application/json

Valid Request. More detailed info will be in the JSON body

The response is of type object.