logo
logo

Docs Groceries

Módulo exclusivo Esse módulo é de uso exclusivo de parceiros que operam com mercado e não está disponível para todos os desenvolvedores. Caso tenha interesse em utilizar funções dessa API, entre em contato com time de atendimento.

A API é orientada a eventos, sendo assim, um pedido pode ter vários eventos vinculados a ele. Segue um diagrama com os possíveis status de um pedido.

PLACED
CONFIRMED
SEPARATION_STARTED
SEPARATION_ENDED
DISPATCHED
ARRIVED
CONCLUDED
CANCELLED

Além desses status, existem vários outros eventos vinculados a um pedido que não afetam o status dele. Nessa seção você tem mais detalhes de todos esses eventos possíveis.

Fluxo de integração

Etapas da recepção de um pedido.

ClientAPI1- Get new ordersGET /events:pollingEvents (without ACK)2- Received eventsAcknowledgmentPOST /events/acknowledgment3- Get order detailsGET /orders/{id}order details4- Separation StartPOST /startSeparationGet result of start separation requestGET /events:pollingSEPARATION_STARTED5- Separation EndPOST /endSeparationGet result of end separation requestGET /events:pollingSEPARATION_ENDED6- Order is ready to delivery or takeoutPOST /dispatch or readyToPickupClientAPI

Detalhes do pedido

Através do endpoint GET /orders/{id} você pode obter todos os detalhes de um pedido.

Esse endpoint retorna o código 200 e o conteúdo do pedido. Caso seja informado um id inválido na request o endpoint retorna 404.

Pedidos antigos A API mantém os detalhes de pedidos por apenas 14 dias a partir da data do pedido. Caso seja consultado um pedido com mais de 14 dias ele não será encontrado. Cuidado para não consultar repetidamente pedidos antigos para evitar ser bloqueado temporariamente devido ao rate limit.

Nessa seção você encontrará todos os detalhes do payload de um pedido:

Veja em detalhes todos os campos que um pedido pode ter

Saiba mais

Migracao da SiteMercado Service API

EMI
SEP
ENT/ENP/RET/REP
FIN
DEV
CAN
PLACED
CONFIRMED
SEPARATION_STARTED
SEPARATION_ENDED
DISPATCHED
ARRIVED
CONCLUDED
CANCELLED
{
    "idLoja": 11111,
    "idCliente": 510034978,
    "idPedido": "fc18f00b-95c8-4cfa-b293-d7c93195d23b",
    "codigo": "11111-Z510034984",
    "codigoLoja": "222222",
    "data": "2024-03-23T00:00:00",
    "hora": "21:31",
    "dataHora": "2024-03-23T21:31:56.1863131",
    "agendamentoDataInicio": "2024-03-25T00:00:00",
    "agendamentoHoraInicio": "10:00",
    "agendamentoDataFim": "2024-03-25T00:00:00",
    "agendamentoHoraFim": "12:00",
    "entrega": true,
    "retirada": false,
    "cpfNaNota": true,
    "status": "FIN",
    "tipo": "SCHEDULED",
    "statusDescricao": "Finalizado",
    "pessoaAutorizadaRecebimento": "",
    "quantidadeItemUnico": 1,
    "valorMercado": 7.06,
    "valorConveniencia": 0,
    "quantidadeSacolaResfriada": 1,
    "quantidadeSacolaSeca": 0,
    "valorEntrega": 1,
    "valorRetirada": 0,
    "valorTroco": 0,
    "valorDesconto": 0,
    "valorTotal": 8.06,
    "valorCorrigido": 8.06,
    "opcaoTroca": "STORE_CHOOSE_OTHER_ITEMS",
    "parceiro": {
        "codigoEntrega": "80835343",
        "codigoPedido": "3760",
        "agendado": true
    },
    "plataforma": "IFOOD",
    "enderecoEntrega": {
        "id": 509590658,
        "logradouro": "R. das Entregas",
        "numero": "999",
        "complemento": "Casa 3",
        "bairro": "Parque Vila Maria",
        "cidade": "São Paulo",
        "uf": "SP",
        "cep": "02169000",
        "latitude": -23.520088,
        "longitude": -46.580377
    },
    "loja": {
        "id": 11111,
        "storeId": "caabfbc7-b31c-482a-b130-90de2b540d81",
        "nome": "Mercadão Vila Maria",
        "cnpj": "41574314000185",
        "status": "Ativa",
        "endereco": {
            "logradouro": "Av Mercadao De figueiredo",
            "numero": "61",
            "bairro": "VILA MARIA",
            "cidade": "SAO PAULO",
            "uf": "SP",
            "cep": "02179999"
        },
        "rede": {
            "id": 289312,
            "nome": "Mercadao 1"
        },
        "atendimento": []
    },
    "cliente": {
        "id": 1100348881,
        "nome": "Irany Natly",
        "email": "IRANYMAIL@EMAIL.COM",
        "cpf": "57560161049",
        "tipo": "Fisica",
        "publicidadeEmail": false,
        "publicidadeSms": false,
        "telefoneCelular": "11999625991"
    },
    "items": [
        {
            "id": 5056629492,
            "uniqueId": "78c8e027-a0ad-4140-9ebd-f8aa4de3cec0",
            "index": 0,
            "codigo": "36763-A510034984",
            "codigoLoja": "510034984",
            "pesoVariavel": false,
            "codigoBarra": "7896031232083",
            "plu": "767149",
            "produto": "Salsicha Bordon Viena 180g",
            "quantidade": 3,
            "quantidade3": 3,
            "valor": 4.84,
            "valorTotal": 14.52,
            "indisponivel": false,
            "desistencia": false,
            "valorOriginal": 4.84,
            "pesoVariavelVendidoPorUnidade": false
        }
    ],
    "pagamentos": [
        {
            "id": 4061,
            "nome": "iFood PIX",
            "valor": 7.06,
            "tipo": "Online"
        }
    ],
    "beneficios": [
        {
            "patrocinio": "IFOOD",
            "valor": 4.2,
            "tipo": "ITEM",
            "itemId": 5056629492
        },
        {
            "patrocinio": "EXTERNAL",
            "valor": 2.26,
            "tipo": "ITEM",
            "itemId": 5056629492
        }
    ],
    "beneficiosEntrega": {}
}
{
  "id": "fc18f00b-95c8-4cfa-b293-d7c93195d23b",
  "shortCode": "97611",
  "status": "CONCLUDED",
  "package": {
    "drybag": 1,
    "coldbag": 1
  },
  "test": false,
  "createdAt": "2024-03-24T00:31:56.1863131Z",
  "category": "GROCERY",
  "salesChannel": {
    "name": "IFOOD"
  },
  "merchant": {
    "id": "caabfbc7-b31c-482a-b130-90de2b540d81",
    "name": "Mercadão Vila Maria",
    "cnpj": "41574314000185",
    "address": {
      "streetName": "Av Mercadao De figueiredo",
      "city": "SAO PAULO",
      "complement": null,
      "country": "BR",
      "district": "VILA MARIA",
      "latitude": -23.524411,
      "longitude": -46.574299,
      "state": "SP",
      "streetNumber": "61",
      "zipCode": "02179999"
    },
    "phones": [
      {
        "phone": "999995566"
      }
    ]
  },
  "taxPayer": {
    "identification": {
      "value": "16695141886",
      "type": "CPF"
    }
  },
  "customer": {
    "id": "da0e292e-f8e1-43e7-b781-21d69f13f079",
    "name": "Irany Natly",
    "phones": [
      {
        "phone": "11999625991"
      }
    ],
    "email": "IRANYMAIL@EMAIL.COM",
    "birthDate": null,
    "document": {
      "type": "CPF",
      "value": "57560161049"
    },
    "billingAddress": {
      "streetName": "R. das Perobas",
      "city": "São Paulo",
      "complement": "Casa 111",
      "country": null,
      "district": "Parque Vila Maria",
      "latitude": -23.520093,
      "longitude": -46.5800923,
      "state": "SP",
      "streetNumber": "91C",
      "zipCode": "06649023"
    },
    "type": "NATURAL_PERSON",
    "localizer": {
      "code": "908353"
    }
  },
  "bag": {
    "items": [
      {
        "uniqueId": "78c8e027-a0ad-4140-9ebd-f8aa4de3cec0",
        "quantity": 3,
        "name": "Salsicha Bordon Viena 180g",
        "ean": "7896031232083",
        "note": null,
        "weight": {
          "value": 540
        },
        "prices": {
          "unitValue": {
            "value": 484,
            "currency": "BRL"
          },
          "salePriceKg": null,
          "grossValue": {
            "value": 1452,
            "currency": "BRL"
          }
        },
        "product": {
          "plu": "767149",
          "isVariableWeight": false
        },
        "unavailable": false
      }
    ],
    "prices": {
      "grossValue": {
        "value": 1452,
        "currency": "BRL"
      }
    },
    "replacementOptions": {
      "mode": "STORE_CHOOSE_OTHER_ITEMS"
    }
  },
  "operationMode": {
    "type": "DELIVERY",
    "schedulingType": "TIME_SLOT",
    "delivery": {
      "provider": "IFOOD",
      "type": "SCHEDULED",
      "destination": {
        "id": "fc6853d8-12d7-4e80-bcce-18ea0f83efa8",
        "streetName": "R. das Entregas",
        "city": "São Paulo",
        "complement": "Casa 3",
        "country": "BR",
        "district": "Parque Vila Maria",
        "latitude": -23.520088,
        "longitude": -46.580377,
        "state": "SP",
        "streetNumber": "999",
        "zipCode": "02169000"
      },
      "prices": {
        "grossValue": {
          "value": 100,
          "currency": "BRL"
        }
      },
      "deliveryTime": {
        "window": {
          "from": "2024-03-25T13:00:00Z",
          "to": "2024-03-25T15:00:00Z"
        }
      },
      "code": "DEFAULT"
    },
    "takeout": null,
    "preparation": {
      "start": "2024-03-25T12:30:00Z",
      "end": "2024-03-25T12:45:00Z"
    }
  },
  "payment": {
    "methods": [
      {
        "name": "PIX",
        "inPerson": false,
        "liability": "IFOOD",
        "amount": {
          "value": 806,
          "currency": "BRL"
        },
        "cash": null,
        "card": null,
        "wallet": null,
        "digital": null,
        "uniqueId": "16e000f5-f76d-49cd-ac59-888a0848ad93"
      }
    ]
  },
  "benefit": {
    "benefits": [
      {
        "targetId": "038a39f5-4330-4e59-9bbe-58952e38280f",
        "target": "ITEM",
        "sponsorships": [
          {
            "liability": "OWN",
            "amount": {
              "value": 420,
              "currency": "BRL"
            }
          }
        ]
      },
      {
        "targetId": "3f53906e-1d7e-4917-81c0-9f9e14235128",
        "target": "ITEM",
        "sponsorships": [
          {
            "liability": "EXTERNAL",
            "amount": {
              "value": 226,
              "currency": "BRL"
            }
          }
        ]
      }
    ]
  },
  "invoiceInformation": null
}
{
    "idLoja": 75872,
    "idCliente": 510080108,
    "idPedido": "a619d3aa-d058-4af1-9b46-fce3df9334ed",
    "codigo": "5272-A510080114",
    "codigoLoja": "510080114",
    "data": "2024-03-24T00:00:00",
    "hora": "10:29",
    "dataHora": "2024-03-24T10:29:13.5129199",
    "agendamentoDataInicio": "2024-03-24T00:00:00",
    "agendamentoHoraInicio": "10:29",
    "agendamentoDataFim": "2024-03-24T00:00:00",
    "agendamentoHoraFim": "11:14",
    "entrega": false,
    "retirada": true,
    "cpfNaNota": true,
    "status": "FIN",
    "tipo": "IMMEDIATE",
    "statusDescricao": "Finalizado",
    "pessoaAutorizadaRecebimento": "",
    "quantidadeItemUnico": 1,
    "valorMercado": 27.39,
    "valorConveniencia": 0,
    "quantidadeSacolaResfriada": 0,
    "quantidadeSacolaSeca": 1,
    "valorEntrega": 0,
    "valorRetirada": 0,
    "valorTroco": 0,
    "valorDesconto": 0,
    "valorTotal": 27.39,
    "valorCorrigido": 27.39,
    "opcaoTroca": "STORE_REMOVE_ITEMS",
    "parceiro": {
        "codigoEntrega": "98743895",
        "codigoPedido": "8468",
        "agendado": false
    },
    "plataforma": "IFOOD",
    "loja": {
        "id": 75872,
        "storeId": "62d5881f-b7fd-493c-80a2-1a5ccc50bf29",
        "nome": "Mercadao Varejista",
        "cnpj": "90015416000176",
        "status": "Ativa",
        "endereco": {
            "logradouro": "RUA DO MERCADAO",
            "numero": "6",
            "bairro": "Ressaca",
            "cidade": "CONTAGEM",
            "uf": "MG",
            "cep": "32000340"
        },
        "rede": {
            "id": 299942,
            "nome": "Mercadao 100"
        },
        "atendimento": []
    },
    "cliente": {
        "id": 519981108,
        "nome": "JULIA GRAMISCELLI CERQUEIRA",
        "email": "JUGRAMMAIL@EMAIL.COM",
        "cpf": "82743786019",
        "tipo": "Fisica",
        "publicidadeEmail": false,
        "publicidadeSms": false,
        "telefoneCelular": "31993200022"
    },
    "items": [
        {
            "id": 5056851281,
            "uniqueId": "ba1eb819-af83-480a-979c-e8bb18fa45da",
            "index": 0,
            "codigo": "5272-A510080114",
            "codigoLoja": "510080114",
            "pesoVariavel": false,
            "codigoBarra": "7896006711155",
            "produto": "Arroz Branco Longo Fino Polido Tipo 1 Camil 5kg",
            "quantidade": 1,
            "quantidade3": 1,
            "valor": 30.79,
            "valorTotal": 30.79,
            "indisponivel": false,
            "desistencia": false,
            "valorOriginal": 30.79,
            "pesoVariavelVendidoPorUnidade": false
        }
    ],
    "pagamentos": [
        {
            "id": 4060,
            "nome": "iFood Carteira Digital",
            "valor": 27.39,
            "tipo": "Online",
            "transacoes": [
                {
                    "bandeira": "MOVILE_PAY",
                    "transactionCode1": "92f0d967-0380-4403-aa58-e9dd8b969055",
                    "valor": 27.39,
                    "dataHora": "2024-03-24T10:29:13.5129199"
                }
            ]
        }
    ],
    "beneficios": [
        {
            "patrocinio": "IFOOD",
            "valor": 3.4,
            "tipo": "ITEM",
            "itemId": 5056851282
        }
    ],
    "beneficiosEntrega": {}
}
{
  "id": "a619d3aa-d058-4af1-9b46-fce3df9334ed",
  "shortCode": "8468",
  "status": "CONCLUDED",
  "package": {
    "drybag": 3,
    "coldbag": 0
  },
  "test": false,
  "createdAt": "2024-03-24T13:29:13.5129199Z",
  "category": "GROCERY",
  "salesChannel": {
    "name": "IFOOD"
  },
  "merchant": {
    "id": "62d5881f-b7fd-493c-80a2-1a5ccc50bf29",
    "name": "Mercadao Varejista",
    "cnpj": "90015416000176",
    "address": {
      "streetName": "RUA DO MERCADAO",
      "city": "CONTAGEM",
      "complement": null,
      "country": "BR",
      "district": "Ressaca",
      "latitude": -19.8811104,
      "longitude": -44.02099,
      "state": "MG",
      "streetNumber": "6",
      "zipCode": "32000340"
    },
    "phones": [
      {
        "phone": "30091444"
      }
    ]
  },
  "taxPayer": {
    "identification": {
      "value": "82743786019",
      "type": "CPF"
    }
  },
  "customer": {
    "id": "5f108982-73ba-4327-9fcb-f58cd0cf1954",
    "name": "JULIA GRAMISCELLI CERQUEIRA",
    "phones": [
      {
        "phone": "31993200022"
      }
    ],
    "email": "JUGRAMMAIL@EMAIL.COM",
    "birthDate": null,
    "document": {
      "type": "CPF",
      "value": "82743786019"
    },
    "billingAddress": null,
    "type": "NATURAL_PERSON",
    "localizer": {
      "code": "987881895"
    }
  },
  "bag": {
    "items": [
      {
        "uniqueId": "ba1eb819-af83-480a-979c-e8bb18fa45da",
        "quantity": 1,
        "name": "Arroz Branco Longo Fino Polido Tipo 1 Camil 5kg",
        "ean": "7896006711155",
        "note": null,
        "weight": {
          "value": 5000
        },
        "prices": {
          "unitValue": {
            "value": 3079,
            "currency": "BRL"
          },
          "salePriceKg": null,
          "grossValue": {
            "value": 3079,
            "currency": "BRL"
          }
        },
        "product": {
          "plu": null,
          "isVariableWeight": false
        },
        "unavailable": false
      }
    ],
    "prices": {
      "grossValue": {
        "value": 3079,
        "currency": "BRL"
      }
    },
    "replacementOptions": {
      "mode": "STORE_REMOVE_ITEMS"
    }
  },
  "operationMode": {
    "type": "TAKEOUT",
    "schedulingType": "IMMEDIATE",
    "delivery": null,
    "takeout": {
      "takeoutTime": {
        "window": {
          "from": "2024-03-24T14:14:13.5129199Z",
          "to": "2024-03-24T14:24:13.5129199Z"
        }
      }
    },
    "preparation": {
      "start": "2024-03-24T13:29:13.512Z",
      "end": "2024-03-24T14:14:13.512Z"
    }
  },
  "payment": {
    "methods": [
      {
        "name": "DIGITAL_WALLET",
        "inPerson": false,
        "liability": "MOVILE_PAY",
        "amount": {
          "value": 2739,
          "currency": "BRL"
        },
        "cash": null,
        "card": {
          "brand": "MOVILE_PAY",
          "cardNumber": null,
          "provider": null
        },
        "wallet": null,
        "digital": null,
        "uniqueId": "903b0ce1-6782-477f-8fb6-b1a0ebc4acee"
      }
    ]
  },
  "benefit": {
    "benefits": [
      {
        "targetId": "ba1eb819-af83-480a-979c-e8bb18fa45da",
        "target": "ITEM",
        "sponsorships": [
          {
            "liability": "OWN",
            "amount": {
              "value": 340,
              "currency": "BRL"
            }
          }
        ]
      }
    ]
  },
  "invoiceInformation": null
}
    • Deprecated
    • Deprecated
    • Deprecated
    • Deprecated
    • Id Agora será um UUID
    • Deprecated
    • Deprecated
    • CreatedAt
    • Igual ao campo DataHora
    • Igual ao campo DataHora
    • OperationMode.Delivery.DeliveryTime.Window.From Para pedidos onde OperationMode.SchedulingType in ["TIME_SLOT", "SCHEDULED"] e OperationMode.Type == "DELIVERY"
    • OperationMode.Takeout.TakeoutTime.Window.From Para pedidos onde OperationMode.SchedulingType in ["TIME_SLOT", "SCHEDULED"] e OperationMode.Type == "TAKEOUT"
    • OperationMode.Preparation.Start Para pedidos onde OperationMode.SchedulingType not in ["TIME_SLOT", "SCHEDULED"]
    • Igual ao campo AgendamentoDataInicio
    • OperationMode.Delivery.DeliveryTime.Window.To Para pedidos onde OperationMode.SchedulingType in ["TIME_SLOT", "SCHEDULED"] e OperationMode.Type == "DELIVERY"
    • OperationMode.Takeout.TakeoutTime.Window.To Para pedidos onde OperationMode.SchedulingType in ["TIME_SLOT", "SCHEDULED"] e OperationMode.Type == "TAKEOUT"
    • OperationMode.Preparation.End Para pedidos onde OperationMode.SchedulingType not in ["TIME_SLOT", "SCHEDULED"]
    • Igual ao campo AgendamentoDataFim
    • true Para pedidos onde OperationMode.Type == "DELIVERY"
    • true Para pedidos onde OperationMode.Type != "DELIVERY"
    • true Para pedidos onde TaxPayer.Identification.Type in ["CPF", "CNPJ"]
    • Máquina de statusNova máquina de status
      EMIPLACED
      CONFIRMED
      SEPSEPARATION_STARTED
      ENT, ENP, RET, REPSEPARATION_ENDED
      DISPATCHED
      ARRIVED
      FINCONCLUDED
      CANCANCELLED
    • DEPRECATED
    • "EXPRESS" Para pedidos onde OperationMode.Type == "DELIVERY" e OperationMode.Delivery.Code in ["EXPRESS", "FAST_DELIVERY"]
    • "SCHEDULED" Para pedidos onde OperationMode.Type == "DELIVERY" e OperationMode.Delivery.Code not in ["EXPRESS", "FAST_DELIVERY"] e OperationMode.SchedulingType in ["SCHEDULED", "TIME_SLOT", "TIME_INTERVAL"]
    • OperationMode.SchedulingType Para os outros pedidos
    • Deprecated
    • Deprecated (Pode ser extraido de Bag.Items)
    • Bag.Prices.GrossValue / 100 (GrossValue é retornado em centavos)
    • OperationMode.Delivery.Prices.GrossValue / 100 Para pedidos onde OperationMode.Type == "DELIVERY" e OperationMode.Delivery.Provider != "IFOOD" (GrossValue é retornado em centavos)
    • Sempre será retornado, fretes cobrados pelo iFood ou pela loja.
    • Deprecated
    • Deprecated
    • Payment.Methods[].Cash.ChangeFor / 100 Para pedidos que possuem Payment.Methods[].Cash (ChangeFor é retornado em centavos)
    • SUM(Benefit.Benefits[].Sponsorships[].Amount.Value) / 100 Para pedidos que Benefit.Benefits[].Target != "DELIVERY_FEE" e Benefit.Benefits[].Sponsorships[].Liability == "PARTNER" (Amount.Value é retornado em centavos)
    • Use ValorMercado - ValorDesconto
    • Deprecated
    • Package.Coldbag
    • Package.Drybag
    • Deprecated
    • Bag.ReplacementOptions.Mode
    • SalesChannel.Name
    • Customer.Localizer.Code
    • ShortCode
    • true *Para pedidos onde OperationMode.SchedulingType in ["TIME_SLOT", "SCHEDULED"]
    • Deprecated
    • OperationMode.Delivery.Destination.Id Para pedidos onde OperationMode.Type == "DELIVERY" (Agora será um UUID)
    • OperationMode.Delivery.Destination.StreetName Para pedidos onde OperationMode.Type == "DELIVERY"
    • OperationMode.Delivery.Destination.StreetNumber Para pedidos onde OperationMode.Type == "DELIVERY"
    • OperationMode.Delivery.Destination.Complement Para pedidos onde OperationMode.Type == "DELIVERY"
    • OperationMode.Delivery.Destination.District Para pedidos onde OperationMode.Type == "DELIVERY"
    • OperationMode.Delivery.Destination.City Para pedidos onde OperationMode.Type == "DELIVERY"
    • OperationMode.Delivery.Destination.State Para pedidos onde OperationMode.Type == "DELIVERY"
    • Deprecated
    • OperationMode.Delivery.Destination.ZipCode Para pedidos onde OperationMode.Type == "DELIVERY"
    • OperationMode.Delivery.Destination.Latitude Para pedidos onde OperationMode.Type == "DELIVERY"
    • OperationMode.Delivery.Destination.Longitude Para pedidos onde OperationMode.Type == "DELIVERY"
    • Deprecated
    • Deprecated
    • Deprecated
    • Deprecated
    • Deprecated
    • Deprecated
    • Deprecated
    • Merchant.Id Agora será um UUID
    • Deprecated
    • Merchant.Name
    • Merchant.Cnpj
    • Test
    • Deprecated
    • Deprecated
    • Merchant.Address.StreetName
    • Merchant.Address.StreetNumber
    • Merchant.Address.Complement
    • Merchant.Address.District
    • Merchant.Address.City
    • Merchant.Address.State
    • Deprecated
    • Merchant.Address.ZipCode
    • Merchant.Address.Latitude
    • Merchant.Address.Longitude
    • Deprecated
    • Deprecated
    • Deprecated
    • Deprecated
    • Deprecated
    • Customer.Id Agora será um UUID
    • Customer.Name
    • Customer.Email
    • Customer.Document.Value Para pedidos onde Customer.Document.Type == "CPF"
    • Customer.Document.Value Para pedidos onde Customer.Document.Type == "CNPJ"
    • Customer.Document.Value Para pedidos onde Customer.Document.Type == "RG"
    • InvoiceInformation.StateRegistration
    • Customer.Type Agora será ["NATURAL_PERSON", "LEGAL_PERSON"]
    • Deprecated
    • Deprecated
    • Customer.BirthDate
    • Deprecated
    • Customer.Phones[].PhoneNumber
    • Customer.Phones[].PhoneNumber
    • Deprecated
    • Deprecated
    • Customer.BillingAddress.StreetName
    • Customer.BillingAddress.StreetNumber
    • Customer.BillingAddress.Complement
    • Customer.BillingAddress.District
    • Customer.BillingAddress.City
    • Customer.BillingAddress.State
    • Deprecated
    • Customer.BillingAddress.ZipCode
    • Customer.BillingAddress.Latitude
    • Customer.BillingAddress.Longitude
    • Deprecated
    • Bag.Items[].UniqueId
    • Deprecated
    • Deprecated
    • Deprecated
    • Bag.Items[].Product.IsVariableWeight
    • Bag.Items[].Ean
    • Bag.Items[].Product.Plu
    • Bag.Items[].Name
    • Deprecated
    • Bag.Items[].Note
    • Bag.Items[].Weight.Value Para pedidos onde Bag.Items[].Product.IsVariableWeight == true (Weight.Value é retornado em gramas)
    • Bag.Items[].Quantity Para pedidos onde Bag.Items[].Product.IsVariableWeight == false
    • Deprecated
    • Bag.Items[].Prices.SalePriceKg.Value / 100 Para pedidos onde Bag.Items[].Product.IsVariableWeight == true (SalePriceKg.Value é retornado em centavos)
    • Bag.Items[].Prices.UnitValue.Value / 100 Para pedidos onde Bag.Items[].Product.IsVariableWeight == false (UnitValue.Value é retornado em centavos)
    • Bag.Items[].Prices.GrossValue / 100 (GrossValue é retornado em centavos)
    • Bag.Items[].Unavailable
    • Deprecated
    • Deprecated
    • Deprecated
    • Payment.Methods[].UniqueId
    • Payment.Methods[].Name
    • Payment.Methods[].Amount.Value / 100 (Amount.Value é retornado em centavos)
    • Deprecated
    • Payment.Methods[].InPerson Onde true é OFFLINE e false é ONLINE
    • Payment.Methods[].Card.Brand Para pedidos onde Payment.Name in ["Credit", "Debit"]
    • Payment.Methods[].Card.CardNumber Para pedidos onde Payment.Name in ["Credit", "Debit"] (Agora será o número do cartão mascarado)
    • Payment.Methods[].Card.CardNumber Para pedidos onde Payment.Name in ["Credit", "Debit"] (Agora será o número do cartão mascarado)
    • Payment.Methods[].Card.ProviderPara pedidos onde Payment.Name in ["Credit", "Debit"]
    • Deprecated
    • Deprecated
    • Deprecated
    • Payment.Methods[].Amount.Value / 100 Para pedidos onde Payment.Name in ["Credit", "Debit"] (Amount.Value é retornado em centavos)
    • Deprecated
    • Benefit.Benefits[].Sponsorships[].Liability
    • AtualNovo
      MERCHANTPARTNER
      IFOODOWN
    • Sempre serão retornados os benefícios concedidos pelo iFood ou pela loja.
    • Benefit.Benefits[].Sponsorships[].Amount.Value (Amount.Value é retornado em centavos)
    • Benefit.Benefits[].Target
    • Benefit.Benefits[].TargetId (Agora será o UUID do item)
    • O mesmo que Beneficios[].Patrocinio Para pedidos onde Benefit.Benefits[].Target == "DELIVERY_FEE"
    • O mesmo que Beneficios[].Valor Para pedidos onde Benefit.Benefits[].Target == "DELIVERY_FEE"
    • O mesmo que Beneficios[].Tipo Para pedidos onde Benefit.Benefits[].Target == "DELIVERY_FEE"
    • O mesmo que Beneficios[].ItemId Para pedidos onde Benefit.Benefits[].Target == "DELIVERY_FEE"