Products Webhook
Order webhook triggered when there's new product or product changed on Flavours Apps. This is the example payload that we send to third-party apps.
{
"xid": "9a48c3ad-35e9-4929-b714-6fe30f4afc93",
"action": "customers.CREATE",
"timestamp": 1697681187551,
"data": {
"market_id": "be7407f3-8d36-4a01-a20f-f306f044f496",
"product_category_id": 1,
"name_en": "Voluptas autem",
"stock": 10,
"preparation_time": 30,
"modifiers": [
{
"name_en": "Large",
"type": "OPTION",
"calorie": null,
"cost": 8,
"price": 10,
"is_tax_included": 0,
"weight_amount": 1,
"weight_unit": "Kg",
"prices": [
{
"payment_method_key": "MADA",
"price": 11
},
{
"payment_method_key": "VISA",
"price": 11.5
}
],
"ingredients": [
{
"ingredient_id": 179,
"qty": 2
},
{
"ingredient_id": 180,
"qty": 1
}
]
}
]
}
}
Last modified: 3 months ago