Next Commerce
Webhook Event ReferenceSupport

ticket.created

Triggers a new support ticket is created.

Request Body

application/json

Response Body

Example Requests

POST/ticket.created

{  "api_version": "2024-04-01",  "data": {    "assignee": null,    "channel": "string",    "comments": [      {        "attachments": [          {            "file": null,            "file_name": null,            "id": null          }        ],        "author": null,        "body": null,        "created_at": "2024-01-01T00:00:00Z",        "from_email": null,        "id": 0,        "is_public": false      }    ],    "created_at": "2024-01-01T00:00:00Z",    "from_email": null,    "id": 0,    "order": "string",    "priority": "string",    "products": [      0    ],    "requester": null,    "status": "string",    "subject": "string",    "tags": [      "string"    ],    "ticket_type": null,    "updated_at": "2024-01-01T00:00:00Z"  },  "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",  "event_type": "ticket.created",  "object": "ticket",  "webhook": {    "events": [      "ticket.created"    ],    "id": 1,    "store": "example",    "target": "https://example.com/webhook/"  }}