Comerzly

These endpoints are dedicated to create new ticket.

Ticket

Create a ticket.

HTTP Request
Request type

POST

Endpoint

https://api.datenly.com/api/comerzly/ticket/new/<POINT_OF_SALE>/<POS_ID>>

Parameters
Parameter Type Description
POINT_OF_SALE (*) string ID of point of sale to afect ticket
Retrieve your points of sale at Core resources
POS_ID (*) int ID of POS to afect ticket
Read more about POS id at POS id explain
Body
Name Type Description
ticket file Your ticket ( only pdf file )
Response Parameters
Parameter Type Description
status Boolean Processing status of your request
uuid String Ticket ID
short_url String Url that redirect to current available ticket (is not unique)
url String Real url to download ticket
You can generate a QR code with this url
Example
Request
curl --location --request POST 'https://api.datenly.com/api/comerzly/ticket/new/<POINT_OF_SALE>/<POS_ID>>' \
-H "Authorization: <token>"\
--form 'ticket=@"/desktop/document/ticket.pdf"'
Response