v1Ressources/Clients/postRéactiver un client archivé
Réactiver un client archivé
Restaure un client déjà archivé, ainsi que tous les établissements archivés avec lui. Un client qui n'est pas actuellement archivé se traduit par un succès sans effet, pas par une erreur. C'est le seul moyen de revenir en arrière pour un client dont outcome est archived — un client encore planifié doit plutôt passer par cancel-archive.
post
clients:write/api/v1/clients/{id}/reactivateParamètres de requête
idstringobligatoire
Le client à réactiver.
Réponse
dataobjectfacultatif
archivedbooleanfacultatif
Si le client est archivé.
locationsArchivednumberfacultatif
Nombre d'établissements archivés avec le client. Présent uniquement lorsque outcome est archived.
locationsFailednumberfacultatif
Nombre d'établissements dont l'archivage a échoué. Présent uniquement lorsque outcome est archived.
cancelledScheduledPostsnumberfacultatif
Nombre de publications planifiées annulées dans le cadre de l'archivage. Présent uniquement lorsque outcome est archived.
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.
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}/reactivate
Votre clé API
id *
{
"data": {
"archived": false,
"locationsArchived": 1,
"locationsFailed": 0,
"cancelledScheduledPosts": 0
}
}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.