Ga naar de inhoud
AchaduDevelopers
Operationele APIGa naar website
Dashboard
Developers/API/offer_preview
Aanbiedingen

Voorbeeldbericht

Stel het uiteindelijke bericht samen zonder het naar welk kanaal dan ook te sturen.

POST/offers/{id}/previewoffers:read

Verzoek

idstring · pathResource-ID.verplicht
segment_idstring · bodySegment gebruikt in het voorbeeld.optioneel

Voorbeeld

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

Antwoord

200Operatie voltooid
4xxFout met code, bericht en request_id