POST
/
events
/
webhooks
/
{webhook_id}
/
events
/
{event_id}
/
resend
curl --request POST \
  --url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/events/{event_id}/resend
{
  "id": 123,
  "app_id": 123,
  "webhook_id": 123,
  "entity_id": 123,
  "entity_external_id": "<string>",
  "status_code": 123,
  "response": "<string>",
  "event_type": "ORDER_UPDATED",
  "remote_endpoint": "<string>",
  "attempts": 123,
  "status": "CREATED",
  "date_created": "2023-11-07T05:31:56Z",
  "date_last_modified": "2023-11-07T05:31:56Z",
  "date_next_attempt": "2023-11-07T05:31:56Z"
}

A new header X-Violet-Event-Id-Source will be added to the request indicating the original event ID source.

Headers

X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer

Path Parameters

webhook_id
integer
required
event_id
integer
required

Response

default - application/json
id
integer
app_id
integer

App ID

webhook_id
integer

ID of the webhook the event occurred on

entity_id
integer

ID of entity this event occurred for

entity_external_id
string

External ID of entity this event occurred for

status_code
integer

HTTP Status Code

response
string

Response from the remote url

event_type
enum<string>

Type of webhook event

Available options:
ORDER_UPDATED,
ORDER_SHIPPED,
ORDER_COMPLETED,
ORDER_CANCELED,
ORDER_REFUNDED,
ORDER_RETURNED,
MERCHANT_CONNECTED,
MERCHANT_DISCONNECTED,
OFFER_CREATED,
OFFER_UPDATED,
OFFER_REMOVED,
PRODUCT_SYNC_STARTED,
PRODUCT_SYNC_COMPLETED,
PRODUCT_SYNC_FAILED,
MERCHANT_NEEDS_ATTENTION,
RELAY_OFFER_CREATED,
RELAY_OFFER_UPDATED,
RELAY_OFFER_REMOVED,
RELAY_ORDER_UPDATED,
MERCHANT_ENABLED,
MERCHANT_DISABLED,
MERCHANT_COMPLETE,
COLLECTION_CREATED,
COLLECTION_UPDATED,
COLLECTION_REMOVED,
COLLECTION_OFFERS_UPDATED,
COLLECTION_SYNC_STARTED,
COLLECTION_SYNC_COMPLETED,
COLLECTION_SYNC_FAILED
remote_endpoint
string

Remote endpoint the webhook event was sent.

attempts
integer

Deliver attempts of the webhook the event

status
enum<string>
required

Status of webhook event

Available options:
CREATED,
IN_PROGRESS,
SUCCEEDED,
FAILED,
CANCELLED
date_created
string

Date of creation

date_last_modified
string

Date of last update

date_next_attempt
string

Date of next delivery attempt