Create time-limited full product discount
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/time_limited_relative_product_full_discount
bodyobjectTime-limited full discount promotion configuration with product targeting and time limits
200Time-limited full discount promotion successfully created
400Bad request - invalid promotion configuration
404Product not found
409Conflict with existing promotion
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/time_limited_relative_product_full_discount \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"id": "",
"type": "time_limited_relative_product_full_discount",
"promotionName": ""
}'