Offres
Offre de mise à jour
Met à jour uniquement les champs soumis.
PATCH
/offers/{id}offers:writeDemande
idstring · pathIdentificateur de ressource.obligatoireurlstring · bodyURL HTTPS d'origine du produit.facultatiftitlestring · bodyTitre public de l'offre.facultatifmarketplacestring · bodyMarché source.facultatifpricenumber · bodyPrix actuel.facultatiforiginal_pricenumber · bodyPrix précédent.facultatifcurrencystring · bodyMonnaie ISO 4217.facultatifimagestring · bodyURL HTTPS de l'image.facultatifstorestring · bodyNom du magasin.facultatifcategorystring · bodyCatégorie.facultatifcouponstring · bodyCode promo.facultatifcopystring · bodyTexte éditorial de l'offre.facultatifstatusstring · bodyStatut organisé.facultatifExemple
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"
}'Réponse
200Opération terminée4xxErreur avec le code, le message et request_id