Zum Inhalt springen
AchaduDevelopers
Developers/API/offer_publish
Angebote

Angebot posten

Stellt die Veröffentlichung des Angebots in eine Warteschlange für eine autorisierte Gruppe oder einen autorisierten Thread.

POST/offers/{id}/publishpublications:write

Anfrage

idstring · pathRessourcenbezeichner.obligatorisch
segment_idstring · bodyZielsegment.optional
group_idstring · bodyZielgruppe.optional
with_imageboolean · bodyMit Bild veröffentlichen.optional

Beispiel

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

Antwort

200Vorgang abgeschlossen
4xxFehler mit Code, Nachricht und request_id