Create Order
The Authorization needs to be in the following format:
Authorization: Token <YOUR_API_KEY>
This endpoint enables the creation of new orders by adding an existing customer using their unique identifier.
Body
Your Tonder API Key. You can retrieve it from the dashboard.
"<YOUR_API_KEY>"
The client authorization token: auth_token
"<YOUR_CLIENT_AUTH_TOKEN>"
The total monetary value of the transaction.
A code indicating the status of the transaction.
A unique identifier or reference number associated with the transaction.
A boolean value indicating whether the transaction involves a one-click purchase.
An array containing details about the items included in the transaction.
The identifier for the billing address.
null
The identifier for the shipping address.
null
Response
An identifier associated with the order.
5910
The timestamp indicating the creation date and time of the order.
"2024-01-18T10:09:36.499975-06:00"
The total monetary value of the order.
"1200.0000"
The status of the order.
"Activa"
The payment method used in the order.
null
A unique identifier or reference number associated with the order.
"1234556"
A boolean value indicating whether the order involves a one-click purchase.
true
An array containing details about the items included in the order.
The billing address information in the order.
The shipping address information in the order.
Contains information about the client.