Rewards
Set all products that reward can be applied to
Batch process helps to set all products in one request. Request needs to contain all the products, because previous products will be erased. ⚠️ Adjust batch sizes based on processing times. We recommended use maximum amount of 1000 records and adjust the batch size based on processing time. ⚠️ Endpoint is available only in the Enterprise interface.
post/rewards/{reward_id}/actions/set-products
Path parameters
reward_idstring required
The unique ID of the reward.
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"products": [
{
"product_id": "85d6598db0bf3f62afd5db8507",
"plu_id": {
"list_code": "GLOBAL",
"code": "abc"
}
}
]
}Response
No Content