Horaires
Calendrier de mise à jour
Changez l’heure, la destination, la récurrence ou le statut.
PATCH
/schedules/{id}schedules:writeDemande
idstring · pathIdentificateur de ressource.obligatoiretypestring · bodyTapez : offre ou SMS.facultatifatstring · bodyDate et heure ISO 8601.facultatifsegment_idstring · bodySegment cible.facultatifgroup_idstring · bodyGroupe spécifique.facultatifoffer_idstring · bodyOffre programmée.facultatiftextstring · bodyTexte pour la planification textuelle.facultatifimagestring · bodyImage facultative.facultatifrecurrencestring · bodyRègle de récurrence.facultatifactiveboolean · bodyActive la planification.facultatifExemple
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ée4xxErreur avec le code, le message et request_id