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

Post offer

Queues the offer's publication to an authorized group or thread.

POST/offers/{id}/publishpublications:write

Request

idstring · pathResource identifier.mandatory
segment_idstring · bodyTarget segment.optional
group_idstring · bodyTarget group.optional
with_imageboolean · bodyPublish with image.optional

Example

curl
curl -X POST 'https://achadu.com/api/v1/offers/resource_id/publish' \
+  -H 'Authorization: Bearer ach_live_...' \
+  -H 'Accept: application/json' \
+  -H 'Content-Type: application/json' \
+  --data '{
  "segment_id": "string",
  "group_id": "string",
  "with_image": true
}'

Answer

200Operation completed
4xxError with code, message and request_id