v1Ressources/Clients/postAnnuler un archivage planifié
Annuler un archivage planifié
Annule un archivage de client en attente, afin qu'un client planifié pour archivage à la fin de la période de facturation continue normalement. Libère également les établissements qui étaient planifiés avec lui. Ne fonctionne que tant que l'archivage est encore en attente — un client déjà entièrement archivé doit plutôt être réactivé, via l'endpoint reactivate.
post
clients:write/api/v1/clients/{id}/cancel-archiveParamètres de requête
idstringobligatoire
Le client dont l'archivage en attente doit être annulé.
Réponse
dataobjectfacultatif
cancelledbooleanfacultatif
Toujours true en cas de succès.
locationsReleasednumberfacultatif
Nombre d'établissements libérés de la planification d'archivage annulée.
Erreurs
401Clé API manquante, invalide, expirée ou révoquée.
403La clé n'a pas la permission requise, ou n'est pas autorisée pour ce client/établissement.
404La ressource est introuvable, ou n'appartient pas à votre agence.
409La requête entre en conflit avec l'état actuel de la ressource — par exemple, modifier l'e-mail ou le téléphone d'un destinataire à qui un message a déjà été envoyé, ou une invitation d'équipe déjà acceptée (ou pas encore acceptée).
429Trop de requêtes. Réessayez après le nombre de secondes indiqué dans l'en-tête Retry-After.
post/api/v1/clients/{id}/cancel-archive
Votre clé API
id *
{
"data": {
"cancelled": true,
"locationsReleased": 1
}
}Guides qui utilisent cette ressource
- Business Listings API: Complete Developer GuideHow a business listings API works and how to create, update, sync and monitor locations across Google, Apple, Bing and directories with the Synup API.
- Create a Location with the Synup APICreate a business location under a client in one POST, get back a locationId, and know which fields matter and which can wait.
- How to Build a Reputation Management PlatformArchitecture and API calls for a multi-client reputation management platform on Synup: review ingestion, reply workflows, invites, widgets and reporting.
- How to Add Local Marketing Features to Your SaaSAdd listings management, reviews, Google posts, profile analytics, rank tracking and AI visibility to a SaaS product with the Synup API, tenant by tenant.
- How to Build a White-Label Local Marketing PlatformBuild a multi-tenant white-label local marketing platform on the API, with client provisioning, team access, per-client summaries and scoped API keys.
- How to Build a Multi-Location Marketing DashboardBuild a multi-location marketing dashboard from the API's rollup endpoints, one call per panel, covering listings, reviews, rank, AI visibility and duplicates.
- How to Add Local Marketing Functionality to Vertical SaaSAdd local marketing to a vertical SaaS by mapping existing customers to clients and locations, and shipping only the features your niche needs.