Coupons
Maak een kortingsbon
Registreer een kortingsbon die u in aanbiedingen kunt gebruiken.
POST
/couponscoupons:writeVerzoek
marketplacestring · bodyMarktplaats.verplichtcodestring · bodyCouponcode.verplichtdescriptionstring · bodyBeschrijving.optioneelvaluestring · bodyWaarde gepresenteerd.optioneelminimumnumber · bodyMinimale bestelling.optioneelvalid_untilstring · bodyISO-geldigheid.optioneeltypestring · bodyCoupontype.optioneeldiscountnumber · bodyPercentage of kortingsbedrag.optioneelcapnumber · bodyKortingsplafond.optioneelcategoriesarray · bodyGeschikte categorieën.optioneelverifiedboolean · bodyMarkeer de kortingsbon als geverifieerd.optioneelactiveboolean · bodyActiveer of archiveer de kortingsbon.optioneelVoorbeeld
curl
curl -X POST 'https://achadu.com/api/v1/coupons' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"marketplace": "string",
"code": "string",
"description": "string",
"value": "string",
"minimum": 10
}'Antwoord
201Bron gemaakt4xxFout met code, bericht en request_id