Aggiorna webhook stato di consegna
PUT/api/partner-gateway/v1/webhooks/delivery-status
Replaces the callback URL of the existing delivery-status webhook with a new URL. Use this when your server endpoint changes and you want to redirect notifications without any downtime. The update takes effect immediately: subsequent delivery-status events will be sent to the new URL. The new callback URL must use HTTPS. This endpoint does not create a webhook if none exists. If no webhook is currently configured, a 404 is returned; use POST /webhooks/delivery-status to create one first. Returns 400 if the request body is invalid (e.g. missing or malformed callbackUrl). Returns 401 if the API key is missing or invalid. Returns 500 if an internal error occurs.
Richiesta
Risposte
- 200
- 400
- 401
- 404
- 500
Webhook aggiornato con successo
Corpo della richiesta non valido
Non autorizzato
Nessun webhook configurato
Errore interno del server