When placing an order, the order_created event will send JSON data using the PUT method in the body of the query to the links that were registered as data recipients.
<aside> ℹ️ Data added to the webhook
Starting from 4.26, new parameters are added to the product data array:
Data example
{
"order_id": 115,
"user": 99,
"delivery_name": "sdbgdasgdasg",
"delivery_email": "[email protected]",
"delivery_phone": "+38 (012) 421-42-14",
"delivery_city": "Kyiv",
"delivery_address": "",
"delivery_type": {
"id": 42,
"title": "Local pickup"
},
"delivery_price": 0,
"comment": "",
"payment_type": {
"id": 13,
"title": "In cash"
},
"payed": 0,
"total_default": 31799,
"total_sum": 31799,
"total_quantity": 1,
"discount_percent": 0,
"discount_value": 0,
"coupon_code": "",
"coupon_percent": 0,
"coupon_discount_value": 0,
"coupon_type": 0,
"stat_status": 1,
"stat_created": "2016-12-05 15:46:40",
"currency": "UAH",
"order_without_callback": true,
"products": [
{
"title": "MacBook Air 11.6\\" 128 GB, Green",
"article": "MJVM2UAA",
"price": 31799,
"quantity": 1,
"discount_marker": "DISCOUNT_CARD",
"total_price": 31799,
"url": "<https://site.com.ua/ru/kupit/batut-atleto-140-sm-z-sitkoyu-synii>",
"photo_url": "<https://site.com.ua/content/images/1/21893202338603_+09372ea19e.jpg>"
}
]
}
Fields (similar to Get orders list function fields)