This endpoint allows you to create and/or update currency prices for an existing coupon. Multiple prices can be created or updated in a single request but each of the currencies must be defined on the site level already and the coupon must be an amount-based coupon, not percentage.
Currency pricing for coupons must mirror the setup of the primary coupon pricing - if the primary coupon is percentage based, you will not be able to define pricing in non-primary currencies.
PUT /coupons/{coupon_id}/currency_prices.json
This endpoint requires BasicAuth
OK
application/json
curl -X PUT \
--url 'https://subdomain.chargify.com/coupons/162/currency_prices.json' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data-raw '{
"currency_prices": [
{
"currency": "EUR",
"price": 10
},
{
"currency": "GBP",
"price": 9
}
]
}'