Passer au contenu
AchaduDevelopers
API opérationnelleAller sur le site Web
Tableau de bord
Developers/API/schedule_update
Horaires

Calendrier de mise à jour

Changez l’heure, la destination, la récurrence ou le statut.

PATCH/schedules/{id}schedules:write

Demande

idstring · pathIdentificateur de ressource.obligatoire
typestring · bodyTapez : offre ou SMS.facultatif
atstring · bodyDate et heure ISO 8601.facultatif
segment_idstring · bodySegment cible.facultatif
group_idstring · bodyGroupe spécifique.facultatif
offer_idstring · bodyOffre programmée.facultatif
textstring · bodyTexte pour la planification textuelle.facultatif
imagestring · bodyImage facultative.facultatif
recurrencestring · bodyRègle de récurrence.facultatif
activeboolean · bodyActive la planification.facultatif

Exemple

curl
curl -X PATCH 'https://achadu.com/api/v1/schedules/resource_id' \
+  -H 'Authorization: Bearer ach_live_...' \
+  -H 'Accept: application/json' \
+  -H 'Content-Type: application/json' \
+  --data '{
  "type": "string",
  "at": "2026-09-01T15:00:00Z",
  "segment_id": "string"
}'

Réponse

200Opération terminée
4xxErreur avec le code, le message et request_id