{
"child": "string",
"total": 0,
"dateSold": "2019-08-24",
"fixedPaymentsDate": true,
"type": "Venda",
"status": "Em aberto",
"paymentConditionType": "2x, 30 60 90",
"paymentMethod": "Dinheiro",
"priceList": "string",
"payments": [
{
"nDup": 0,
"dVenc": "2019-08-24",
"vDup": 0,
"tPag": "string",
"acquirerFee": 0
}
],
"customer": "string",
"customerId": "string",
"otherExpenses": 0,
"discount": 0,
"discountType": "R$",
"discountPercentage": 0,
"transportFee": 0,
"details": "string",
"oc": "string",
"sellersInfo": [
{
"seller": "string",
"comissionType": "%",
"comissionValue": 0,
"comission": 0
}
],
"netTotal": 0,
"negotiationStatus": "Em orçamento",
"dueDate": "2019-08-24",
"foreseenDelivery": "2019-08-24",
"quoteDate": "2019-08-24",
"orig": "string",
"origId": "string",
"tags": [
{
"tagId": "string"
}
],
"origStatus": "string",
"origPaymentMethod": "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,
"description": "string",
"saleLines": [
{
"productId": "string",
"variationId": "string",
"qty": 0,
"price": 0,
"details": "string",
"detailsNF": true
}
],
"contactId": "string",
"acquirer": {
"isWithAcquirerFee": true,
"acquirerId": "string",
"feeType": "string"
}
}
curl --location --request POST '/sales' \
--header 'Content-Type: application/json' \
--data-raw '{
"child": "string",
"total": 0,
"dateSold": "2019-08-24",
"fixedPaymentsDate": true,
"type": "Venda",
"status": "Em aberto",
"paymentConditionType": "2x, 30 60 90",
"paymentMethod": "Dinheiro",
"priceList": "string",
"payments": [
{
"nDup": 0,
"dVenc": "2019-08-24",
"vDup": 0,
"tPag": "string",
"acquirerFee": 0
}
],
"customer": "string",
"customerId": "string",
"otherExpenses": 0,
"discount": 0,
"discountType": "R$",
"discountPercentage": 0,
"transportFee": 0,
"details": "string",
"oc": "string",
"sellersInfo": [
{
"seller": "string",
"comissionType": "%",
"comissionValue": 0,
"comission": 0
}
],
"netTotal": 0,
"negotiationStatus": "Em orçamento",
"dueDate": "2019-08-24",
"foreseenDelivery": "2019-08-24",
"quoteDate": "2019-08-24",
"orig": "string",
"origId": "string",
"tags": [
{
"tagId": "string"
}
],
"origStatus": "string",
"origPaymentMethod": "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,
"description": "string",
"saleLines": [
{
"productId": "string",
"variationId": "string",
"qty": 0,
"price": 0,
"details": "string",
"detailsNF": true
}
],
"contactId": "string",
"acquirer": {
"isWithAcquirerFee": true,
"acquirerId": "string",
"feeType": "string"
}
}'
{
"success": true,
"message": "Pedido registrado com sucesso",
"response": "Id do pedido registrado"
}