Offers
Post offer
Queues the offer's publication to an authorized group or thread.
POST
/offers/{id}/publishpublications:writeRequest
idstring · pathResource identifier.mandatorysegment_idstring · bodyTarget segment.optionalgroup_idstring · bodyTarget group.optionalwith_imageboolean · bodyPublish with image.optionalExample
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 completed4xxError with code, message and request_id