Comerzly
These endpoints are dedicated to retrieve all tickets.
Ticket
List tickets.
HTTP Request
Request type
GET
Endpoint
https://api.datenly.com/api/comerzly/tickets?page=<PAGE>
Parameters
Parameter | Type | Description |
---|---|---|
PAGE | int | This endpoint return 50 tickets per call, PAGE is the parameter to navigate to the next results If is not specified PAGE = 1 |
Response Parameters
Parameter | Type | Description |
---|---|---|
status | Boolean | Processing status of your request |
pagination | Object | Browsing information |
pagination.current_page | int | Current page number |
pagination.total_page | int | Total number of pages available |
pagination.total_row | int | The total number of items available |
tickets | Array | List of available tickets |
ticket.$.uuid | String | Ticket uuid |
ticket.$.brand | String | Ticket brand |
ticket.$.storage_url | String | URL to download the ticket |
ticket.$.point_of_sale | String | Point of sale to which the tickets are attached |
ticket.$.pos_id | Int | Pos id the ticket is attached to |
ticket.$.access_key | String | Internal ticket access key |
ticket.$.last_read_time | String | Last time a customer had access to the ticket |
ticket.$.created_time | String | Creation date |
ticket.$.user_ref | String | Reference of the user who download the ticket |
Example
Request
curl 'https://api.datenly.com/api/comerzly/tickets?page=<PAGE>' \
-H "Authorization: <token>"