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

Update offer

Updates only the submitted fields.

PATCH/offers/{id}offers:write

Request

idstring · pathResource identifier.mandatory
urlstring · bodyOriginal HTTPS URL for the product.optional
titlestring · bodyPublic title of the offer.optional
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 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"
}'

Answer

200Operation completed
4xxError with code, message and request_id