Pular para o conteúdo
Última atualização

Apêndice A — Exemplo de pedido (Brasil)

Pedido de entrega própria (merchant), em São Paulo, pago via PIX. Campos criptografados mostrados com ENC_.

{
  "id": "783441058793308",
  "type": "DELIVERY",
  "displayId": "4821",
  "sourceAppId": "Keeta",
  "category": "FOOD",
  "createdAt": "2026-10-13T20:41:05Z",
  "lastEvent": "CREATED",
  "orderTiming": "INSTANT",
  "preparationStartDateTime": "2026-10-13T20:41:05Z",
  "merchant": { "id": "LOJA-SP-001", "name": "Lanchonete Moema" },
  "items": [
    {
      "id": "it-1", "index": 0, "name": "Coxinha de frango com catupiry", "externalCode": "PDV-1001",
      "unit": "UN", "quantity": 4,
      "unitPrice": { "value": 7.9, "currency": "BRL" },
      "optionsPrice": { "value": 1.0, "currency": "BRL" },
      "totalPrice": { "value": 35.6, "currency": "BRL" },
      "specialInstructions": "Bem quentinha, por favor",
      "options": [
        { "id": "op-1", "name": "Molho de pimenta", "externalCode": "PDV-9001", "unit": "UN", "quantity": 1,
          "unitPrice": { "value": 1.0, "currency": "BRL" }, "totalPrice": { "value": 1.0, "currency": "BRL" } }
      ]
    },
    {
      "id": "it-2", "index": 1, "name": "Guaraná Antarctica lata 350 ml", "externalCode": "PDV-3005",
      "unit": "UN", "quantity": 2,
      "unitPrice": { "value": 6.5, "currency": "BRL" },
      "totalPrice": { "value": 13.0, "currency": "BRL" }
    }
  ],
  "otherFees": [
    { "name": "Taxa de entrega", "type": "DELIVERY_FEE", "receivedBy": "MERCHANT", "price": { "value": 7.99, "currency": "BRL" } }
  ],
  "discounts": [
    { "amount": { "value": 5.0, "currency": "BRL" }, "target": "CART",
      "sponsorshipValues": [ { "name": "MERCHANT", "amount": { "value": 5.0, "currency": "BRL" }, "discountCode": "BEMVINDO5" } ] }
  ],
  "total": {
    "itemsPrice": { "value": 48.6, "currency": "BRL" },
    "otherFees": { "value": 7.99, "currency": "BRL" },
    "discount": { "value": 5.0, "currency": "BRL" },
    "orderAmount": { "value": 51.59, "currency": "BRL" }
  },
  "payments": {
    "prepaid": 51.59, "pending": 0,
    "methods": [ { "value": 51.59, "currency": "BRL", "type": "PREPAID", "method": "PIX" } ]
  },
  "customer": {
    "id": "cust-90817", "name": "Mariana", "phone": { "number": "ENC_#MQesaE=#1#" }, "ordersCountOnMerchant": 3
  },
  "delivery": {
    "deliveredBy": "MERCHANT",
    "deliveryAddress": {
      "country": "BR", "state": "BR-SP", "city": "São Paulo",
      "district": "ENC_#Xp91ab=#1#", "street": "Rua Domingos de Morais", "number": "ENC_#Lk20qz=#1#",
      "complement": "ENC_#Tt77wa=#1#", "reference": "Próximo à estação Santa Cruz",
      "formattedAddress": "ENC_#Aa13fx=#1#", "postalCode": "04010-100",
      "coordinates": { "latitude": -23.5874, "longitude": -46.6343 }
    },
    "estimatedDeliveryDateTime": "2026-10-13T21:25:00Z"
  },
  "sendDelivered": true,
  "sendTracking": true
}

Conta de conferência: itens 35,60 + 13,00 = R$ 48,60; + entrega R$ 7,99 − desconto R$ 5,00 = R$ 51,59. Horários em UTC (20:41Z = 17:41 em Brasília).