Webhooks
Update Webhook
Overview
Login
- Access
Merchants
- Merchant
- Configuration
- Onboarding
- Explore
Catalog
- Offers
- SKUs
- Categories
- Collections
- Currencies
Orders & Checkout
- Carts
- Cart Items
- Cart Customer
- Cart Discounts
- Cart Shipping
- Cart Pricing
- Cart Payment
- Cart Completion
- Orders
- Order Refunds
- Order Cancellations
- Transfers
Payments
- Payout Accounts
- Distributions
- Transfers
Events
- Webhooks
- Webhook Events
- Wekbhook Headers
Apps
- Merchant/App Installs
- Commission Rates
Operations
- Connection
Relay
- Shipping
Ecom Syncs
- Offers
Webhooks
Update Webhook
Updates Webhook.
PUT
/
events
/
webhooks
/
{webhook_id}
curl --request PUT \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id} \
--header 'Content-Type: application/json' \
--data '{
"event": "ORDER_UPDATED",
"remote_endpoint": "<string>",
"status": "INACTIVE"
}'
{
"id": 123,
"app_id": 123,
"event": "ORDER_UPDATED",
"remote_endpoint": "<string>",
"status": "INACTIVE",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"events_count": 123,
"failure_rate": 123,
"temp_disable_ms": 123
}
Path Parameters
Body
application/json
External Hook Event
Response
default - application/json
default response
External Hook Event
Was this page helpful?
curl --request PUT \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id} \
--header 'Content-Type: application/json' \
--data '{
"event": "ORDER_UPDATED",
"remote_endpoint": "<string>",
"status": "INACTIVE"
}'
{
"id": 123,
"app_id": 123,
"event": "ORDER_UPDATED",
"remote_endpoint": "<string>",
"status": "INACTIVE",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"events_count": 123,
"failure_rate": 123,
"temp_disable_ms": 123
}