Skip to content
AchaduDevelopers
Operational APIGo to website
Dashboard
Developers/API/offer_create
Offers

Create offer

Creates a pending offer without publishing it.

POST/offersoffers:write

Request

urlstring · bodyOriginal HTTPS URL for the product.mandatory
titlestring · bodyPublic title of the offer.mandatory
marketplacestring · bodySource marketplace.optional
pricenumber · bodyCurrent price.optional
original_pricenumber · bodyPrevious price.optional
currencystring · bodyISO 4217 currency.optional
imagestring · bodyHTTPS URL of the image.optional
storestring · bodyStore name.optional
categorystring · bodyCategory.optional
couponstring · bodyCoupon code.optional
copystring · bodyEditorial text of the offer.optional
statusstring · bodyCurated status.optional

Example

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
}'

Answer

201Resource created
4xxError with code, message and request_id