Update a specific Webhook
PUT/webhook/:guid
Update a specific Webhook.
Note, this can only be done for Webhooks owned by the requested Company.
Request
Path Parameters
The guid of the Webhook.
- application/json
Body
Input data
Possible values: [order-updated
, order-pending
, order-paid
, order-cancelled
]
The trigger that will invoke the Webhook.
Possible values: <= 65535 characters
The url to which to make POST request(s) after a trigger of the event. Only if a request fails, there can be a retry.
Responses
- 200
- 403
- 404
- 406
Webhook updated.
- application/json
- Schema
- Example (from schema)
Schema
The guid of the Webhook.
Possible values: [order-updated
, order-pending
, order-paid
, order-cancelled
]
The trigger that will invoke the Webhook.
Possible values: <= 65535 characters
The url to which to make POST request(s) after a trigger of the event. Only if a request fails, there can be a retry.
The time it was created.
The time it was last updated.
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event": "order-updated",
"url": "string",
"created_at": "string",
"updated_at": "string"
}
Unauthorized. You do not have permission to manage the Webhook.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Webhook not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}