Panelr

Create Support Ticket

POST ?action=create_support_ticket

Open a support ticket on a customer's behalf. The customer gets a confirmation email and the store is notified — exactly like a ticket opened on the site. To send screenshots or files with it, post the request as multipart/form-data instead of JSON: the same fields as form fields, and each file as files[]. What may be sent is in get_store_settings under support.attachments. A file that cannot be kept refuses the whole ticket with a 422 that says which file and why. A request larger than the server accepts in one go is answered with a 413.

Request Parameters

FieldTypeRequiredDescription
customer_emailstringRequiredThe customer
subjectstringRequiredA short summary
topicstringRequiredOne of the store's topics — see get_support_tickets
messagestringRequiredThe opening message. May be left out when a file is sent
activation_idintegerOptionalThe line the ticket is about
prioritystringOptionallow, normal, high, urgent (default normal)
files[]fileOptionalScreenshots or files, in a multipart/form-data request

Response Fields

FieldTypeDescription
ticket_refstringThe ticket reference, e.g. 20260830-4F28AC
statusstringAlways open on creation
prioritystringThe starting priority
attachmentsintegerHow many files were kept with the ticket