Voyages
Mettre à jour le parcours
Met à jour le graphique et les règles de parcours.
PATCH
/journeys/{id}journeys:writeDemande
idstring · pathIdentificateur de ressource.obligatoirenamestring · bodyNom du voyage.facultatifdescriptionstring · bodyObjectif du voyage.facultatiftriggerstring · bodyDéclencheur initial.facultatifblocksarray · bodyBlocs de flux.facultatifchannelsarray · bodyChaînes autorisées.facultatifsegment_idstring · bodySegment éligible.facultatifactiveboolean · bodyActivez le voyage.facultatifExemple
curl
curl -X PATCH 'https://achadu.com/api/v1/journeys/resource_id' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"description": "string",
"trigger": "string"
}'Réponse
200Opération terminée4xxErreur avec le code, le message et request_id