latestOpenAPI 3.0.02026-08-1056429755.6 KB
a6efafc1669c
Add Coupon Codes (Asynchronous API)
Add Coupon Codes to an offer
Add Coupon Codes to an offer.
post/v1/offers/{OfferId}/coupon-codes
Path parameters
OfferIdnumber required
The identifier of the offer.
Headers
x-siteIdstring required
The site ID associated with the offer.
Request body
Example request
{
"importCouponCodes": {
"fileId": "86adc727-7328-4f0c-bf49-1908f0e377f9"
}
}Response
Accepted