This webhook is triggered when an order message is created by a customer or in the control panel. ```json filename="Example callback object" showLineNumbers { "created_at": 1561482670, "store_id": "1025646", "producer": "stores/{store_hash}", "scope": "store/order/message/created", "hash": "352e4afc6dd3fc85ea26bfdf3f91852604d57528", "data": { "type": "order", "id": 250, "message": { "order_message_id": 3 } } } ```
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/store_order_message_created",
"title": "store/order/message/created",
"description": "This webhook is triggered when an order message is created by a customer or in the control panel.\n\n```json filename=\"Example callback object\" showLineNumbers\n{\n \"created_at\": 1561482670,\n \"store_id\": \"1025646\",\n \"producer\": \"stores/{store_hash}\",\n \"scope\": \"store/order/message/created\",\n \"hash\": \"352e4afc6dd3fc85ea26bfdf3f91852604d57528\",\n \"data\": {\n \"type\": \"order\",\n \"id\": 250,\n \"message\": {\n \"order_message_id\": 3\n }\n }\n}\n```",
"x-examples": {},
"allOf": [
{
"$ref": "#/components/schemas/webhook_callback_base"
},
{
"description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.",
"properties": {
"data": {
"type": "object",
"description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.",
"properties": {
"type": {
"type": "string",
"description": "The type will always be `order`.",
"example": "order"
},
"id": {
"type": "integer",
"description": "ID of the order.",
"example": 250
},
"message": {
"type": "object",
"properties": {
"order_message_id": {
"type": "integer",
"description": "ID of the message on the order.",
"example": 3
}
}
}
}
}
}
}
],
"x-tags": [
"created"
],
"type": "object",
"x-internal": false
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.