Pedidos
Post orders
post/api/order
Request body
Example request
{
"pedido_id_externo": 4,
"created_at": "2024-09-12 12:18:43",
"dt_pagamento": "2110-06-06",
"status_pedido_id": 19,
"cpf": "animi",
"itens": [
[]
],
"pdv_id": 16
}Response
Example response
{
"data": [
{
"id": "int",
"user_name": "string",
"user_cpf": "string",
"user_cep": "string",
"created_at": "datetime",
"time_to_pay": "int",
"status_pedido": "int",
"pdv_id": "int",
"pdv_description": "string",
"delivery": "boolean",
"paid_at": "datetime",
"payment_method": "int",
"itens": {
"data": [
{
"code": "string",
"description": "string",
"value": "float",
"total_value": "float",
"delivery": "boolean",
"unit": "string",
"amount": "int"
}
]
}
}
],
"links": {
"first": "string",
"last": "string",
"prev": "nullable_string",
"next": "string"
},
"meta": {
"current_page": "int",
"from": "int",
"last_page": "int",
"links": [
{
"url": "nullable_string",
"label": "string",
"active": "boolean"
},
{
"url": "string",
"label": "string",
"active": "boolean"
}
],
"path": "string",
"per_page": "int",
"to": "int",
"total": "int"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.