Aanbiedingen
Aanbieding bijwerken
Werkt alleen de ingediende velden bij.
PATCH
/offers/{id}offers:writeVerzoek
idstring · pathResource-ID.verplichturlstring · bodyOriginele HTTPS-URL voor het product.optioneeltitlestring · bodyPublieke titel van de aanbieding.optioneelmarketplacestring · 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 PATCH 'https://achadu.com/api/v1/offers/resource_id' \
+ -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"
}'Antwoord
200Operatie voltooid4xxFout met code, bericht en request_id