Create Ticket

Creates a new ticket in the system using the provided transaction details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The request body must include the client, items (products or treatments), payment method, ticket type, and optional discounts or commerce references. Upon successful creation, the endpoint returns the newly created ticket with all calculated fields and identifiers. This endpoint is typically used to register new sales, receipts, or orders, and supports both single and mixed payment methods.

items is an array of objects containing the ID of the item being purchased, type, quantity, and discount (if applicable).
The name of the item ID property varies depending on the type being described:

For product: idProduct, for treat (Service): idTreatment, for discount: idDiscount

Body Params
string
required

Client id

string
required

bill, receipt

string
required

creditcard, cash, _mix

items
array of objects
required

Array with products and treatments

items*
payMix
array of objects

Required if the ticket is pay by _mix mode

payMix
float

percentage discount example : 20 -> 20%

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json