Create percentage discount for partner-referred customers
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/product_item_relative_partner_discount
bodyobjectAutomatic partner discount promotion providing percentage-based discounts to specific product items for customers sourced through channel partners.
200Partner discount created with percentage rates and eligibility criteria
400Invalid discount percentage or partner configuration parameters
401Authentication required or invalid API key provided
500Internal server error occurred while creating partner discount
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/product_item_relative_partner_discount \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"id": "",
"type": "product_item_relative_partner_discount",
"promotionName": ""
}'