v1
latestOpenAPI 3.0.12026-07-24373659.1 KBPedidos
Recuperar um único pedido
get/api/v1/salesOrders/{id}
Path parameters
idinteger required
Identificador único do pedido no Base.
Response
OK
Example response
{
"number": 123456,
"issueDate": "2024-01-20",
"customerId": 109988777,
"observations": "Entregar na portaria e solicitar a assinatura do canhoto da nota fiscal",
"externalReference": "544222",
"typeOfShipping": "EMITENTE",
"shippingCompanyId": 109988777,
"costOfShipping": 3.05,
"discountValue": 5.65,
"orderItems": [
{
"productId": 1234567890,
"unitPrice": 10.22,
"quantity": 3,
"costOfShipping": 3.05,
"discountValue": 5.65,
"itemValue": 25.01,
"cClassTrib": "000001"
}
],
"orderPayments": [
{
"dueDate": "2024-01-20",
"receiptDate": "2024-01-18",
"value": 28.06,
"bankId": 1099999997,
"billingType": "BOLETO",
"paymentId": "pay_080225913252",
"numberInstallments": 2
}
],
"itemsValue": 25.01,
"orderValue": 28.06,
"id": 10040055
}