Aanbiedingen
Aanbieding maken
Creëert een aanbieding die in behandeling is, zonder deze te publiceren.
POST
/offersoffers:writeVerzoek
urlstring · bodyOriginele HTTPS-URL voor het product.verplichttitlestring · bodyPublieke titel van de aanbieding.verplichtmarketplacestring · bodyBron marktplaats.optioneelpricenumber · bodyHuidige prijs.optioneeloriginal_pricenumber · bodyVorige prijs.optioneelcurrencystring · bodyISO 4217-valuta.optioneelimagestring · bodyHTTPS-URL van de afbeelding.optioneelstorestring · bodyWinkelnaam.optioneelcategorystring · bodyCategorie.optioneelcouponstring · bodyCouponcode.optioneelcopystring · bodyRedactionele tekst van het aanbod.optioneelstatusstring · bodySamengestelde status.optioneelVoorbeeld
curl
curl -X POST 'https://achadu.com/api/v1/offers' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"url": "https://example.com/product",
"title": "Air fryer 5L",
"marketplace": "string",
"price": 329.9,
"original_price": 329.9
}'Antwoord
201Bron gemaakt4xxFout met code, bericht en request_id