Repair the OMS addon
POST/tenants/repair
Restores the ODUS webhook subscriber and API secret key the addon depends on to the state activating produces: exactly one active subscriber pointing at the OMS and subscribed to the events it handles, and an active API key carrying exactly the permissions the OMS needs. Reconciles the tenant schema too, so it is a superset of re-activating. Idempotent and non-destructive to orders and merchant data.
Request
Responses
- 200
- 401
- 403
- 429
- 500
- 503
- 504
No credentials were supplied, or the identity token / secret key is not valid for the target merchant. type is authentication_error.
The credentials are valid but lack the permission this operation requires. type is permission_error.
Too many requests. The rate limit is applied per client across all operations. type is rate_limit_error.
The request could not be completed because of an unexpected error. type is api_error.
A dependency needed to serve the request is temporarily unavailable — for every operation the auth service that verifies credentials and resolves entitlement, and on the provisioning routes also the ODUS API the OMS reconciles against. type is api_error. Unlike a plain 500 the condition is transient rather than a fault in the request, so it is worth retrying with backoff.
The request exceeded the processing time limit and was abandoned. type is api_error and code is timeout — unlike a plain 500 the request may still have taken effect.