SendCouponsDto
webhookUrlstring
Webhook URL to receive notification when bulk operation completes. Auth headers: append #headers=Authorization:Bearer%20token
Example:
https://example.com/webhook#headers=Authorization:Bearer%20tokenforceSyncboolean
Execute synchronously (max 1000 items). If true and items >= 1000, request is rejected.
Default value:
falseoverrideStripImagestring<binary>
Optional strip image override. In form-data: upload image file (PNG/JPEG). In application/json: provide image URL.
clients object[]required
Array [
clientIdstring
firstNamestring
lastNamestring
emailstring<email>
phoneNumberstring
barcodestring
promoCodestring
descriptionstring
valuestring
expirationDatestring<date-time>
]
SendCouponsDto
{
"webhookUrl": "https://example.com/webhook#headers=Authorization:Bearer%20token",
"forceSync": false,
"overrideStripImage": "string",
"clients": [
{
"clientId": "string",
"firstName": "string",
"lastName": "string",
"email": "user@example.com",
"phoneNumber": "string",
"barcode": "string",
"promoCode": "string",
"description": "string",
"value": "string",
"expirationDate": "2024-07-29T15:51:28.071Z"
}
]
}