curl --location --request GET '/sales?type'
[
{
"success": true,
"message": "Vendas encontradas",
"response": [
{
"code": 0,
"company": "string",
"child": "string",
"total": 0,
"dateCreated": "string",
"datePaymentsGenerated": "2019-08-24",
"dateSold": "2019-08-24",
"dateBilled": "2019-08-24",
"fixedPaymentsDate": true,
"type": "Venda",
"status": "Em aberto",
"paymentConditionType": "2x",
"paymentMethod": "Dinheiro",
"priceList": "string",
"payments": [
{
"transaction": "string",
"nDup": 0,
"dVenc": "2019-08-24",
"vDup": 0,
"tPag": "string",
"acquirerFee": 0
}
],
"transactionsGenerated": false,
"customer": "string",
"customerId": "string",
"otherExpenses": 0,
"discount": 0,
"discountType": "R$",
"discountPercentage": 0,
"transportFee": 0,
"details": "string",
"nfse": "string",
"nfseStatus": "string",
"oc": "string",
"sellersInfo": [
{
"seller": "string",
"comissionType": "%",
"comissionValue": 0,
"comission": 0
}
],
"netTotal": 0,
"negotiationStatus": "Em orçamento",
"dueDate": "2019-08-24",
"events": [
{
"dateEvent": "2019-08-24",
"description": "string",
"responsible": "string"
}
],
"foreseenDelivery": "2019-08-24",
"quote": true,
"quoteDate": "2019-08-24",
"orig": "string",
"origId": "string",
"ecommerce": true,
"tags": [
{
"tagId": "string"
}
],
"origStatus": "string",
"origPaymentMethod": "string",
"origSynced": false,
"nfce": "string",
"pdv": "string",
"nfe": "string",
"cte": "string",
"contract": "string",
"nfeStatus": "string",
"totalTaxes": 0,
"vNF": 0,
"po": "string",
"poCode": 0,
"dateCanceled": "2019-08-24",
"cargo": "string",
"warehouse": "string",
"category": "string",
"bonificacao": false,
"carrier": "string",
"modFrete": "0 - Por conta do emitente",
"foreseenShipment": "2019-08-24",
"shipmentDetails": "string",
"shipmentAddress": "Endereço da Pessoa",
"shipment": "string",
"shipped": true,
"shipmentCode": "string",
"shipmentDate": "2019-08-24",
"approved": true,
"cpfCNPJ": "string",
"description": "string",
"checked": false,
"userChecked": "string",
"dateChecked": "2019-08-24",
"groupedSales": [
"string"
],
"grouper": "",
"saleLines": [
{
"productName": "string",
"productId": "string",
"variationId": "string",
"dimension": "UN",
"qty": 0,
"price": 0,
"subtotal": 0,
"productType": "Produto",
"details": "string",
"detailsNF": true,
"warehouse": "string"
}
],
"attachments": [
{
"name": "string",
"size": 0,
"key": "string",
"url": "string"
}
],
"user": "string",
"contactId": "string",
"acquirer": {
"isWithAcquirerFee": true,
"acquirerId": "string",
"feeType": "string"
},
"updates": [
{
"user": "string",
"timestamp": "YYYY-MM-DD HH:mm:ss",
"description": "string"
}
]
}
]
}
]