Edit Compensation Nights
1 min
PATCH
https://api.b.preview.loyaltyservices.io/api/v4/compensation/{compensationId}/nights
compensationIdinteger<int64>Unique Compensation Identifier
acceptstringGenerated from available response content types
bodyarrayList of Compensation Night items to edit
200Success
400Bad request
401Unauthorized
403Forbidden
500Internal error
curl --request PATCH \
--url https://api.b.preview.loyaltyservices.io/api/v4/compensation/{compensationId}/nights \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '[
{
"compensationDetailAmounts": [
{
"couponUseAmount": "",
"category": "",
"reason": ""
}
]
}
]'