Offres
Créer une offre
Crée une offre en attente sans la publier.
POST
/offersoffers:writeDemande
urlstring · bodyURL HTTPS d'origine du produit.obligatoiretitlestring · bodyTitre public de l'offre.obligatoiremarketplacestring · 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 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
}'Réponse
201Ressource créée4xxErreur avec le code, le message et request_id