Order Delegation Webhook
This is a dummy endpoint that demonstrates the webhook payload structure that will be sent to webhook subscribers when an order.created event occurs.
The actual webhooks will be sent asynchronously to the URLs specified in the webhook subscriptions that are subscribed to the order.created event type.
The webhook payload includes:
id: ID of the webhook message
event: The event type (order.created)
timestamp: When the event occurred
subscription_id: ID of the webhook subscription
message: The order data in the same format as the GET /orders/{id} endpoint
Authorizations
X-API-KeystringRequired
Body
idinteger · min: 1RequiredExample:
ID of the webhook message
1eventconst: order.createdRequired
Event type of webhook message
timestampstring · date-timeOptional
UTC timestamp when the event was created
subscription_idinteger · min: 1 · nullableOptionalExample:
ID of the subscription
1Responses
200
OK
No content
post/api/v1/webhooks/order-created
POST /api/v1/webhooks/order-created HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1219
{
"id": 1,
"event": "text",
"timestamp": "2026-01-01T00:00:00.000Z",
"message": {
"order_items": [
{
"return_tracking_key": "text",
"shipment_tracking_key": "text",
"sku": "text",
"status": "open",
"id": 1,
"vat": 19,
"price_without_tax": 1,
"price_with_tax": 1
}
],
"order_number": "text",
"carrier_key": "text",
"cost_without_tax": 1,
"cost_with_tax": 1,
"delivery_document_url": "text",
"fulfillment_type": "dropshipping",
"shop": 1,
"status": "open",
"customer_key": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"payment_method": "text",
"billing_street": "text",
"billing_zip_code": "text",
"billing_city": "text",
"billing_country_code": "text",
"billing_recipient_gender": "text",
"billing_recipient_first_name": "text",
"billing_recipient_last_name": "text",
"billing_additional": "text",
"shipping_street": "text",
"shipping_zip_code": "text",
"shipping_city": "text",
"shipping_country_code": "text",
"shipping_additional": "text",
"shipping_collection_point_key": "",
"shipping_collection_point_type": "",
"shipping_collection_point_description": "",
"customer_phone": "",
"customer_email": "",
"shipping_recipient_gender": "text",
"shipping_recipient_first_name": "text",
"shipping_recipient_last_name": "text",
"currency_code": "text"
},
"subscription_id": 1
}200
OK
No content
Last updated
Was this helpful?