api.voa.delivery
Início
Início
  1. v1
  • Introduction
  • Authentication
  • Rate limit
  • Endpoints
    • v1
      • external-orders
        POST
  • Webhook
    • How does it work?
    • status
Início
Início
  1. v1

external-orders

POST
https://api.voa.delivery/v1/external-orders

Requisição

Parâmetros de Consulta

Parâmetros Bodyapplication/json

Examples

Respostas

🟢201/v1/external-orders
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.voa.delivery/v1/external-orders?key={{key}}&token={{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "external_id": "237910102020",
    "display_id": "2379",
    "customer": {
        "name": "João da Silva",
        "phone": "48911112222"
    },
    "address": {
        "country": "BR",
        "state": "SC",
        "city": "São José",
        "neighborhood": "Campinas",
        "street": "Rua Professora Maria do Carmo de Souza",
        "number": "600",
        "zip_code": "88132600",
        "complement": "Apto 1405",
        "coordinates": {
            "latitude": -27.597756,
            "longitude": -48.610153
        }
    },
    "payment": {
        "prepaid": 2350,
        "pending": 5050,
        "methods": [
            {
                "value": 2350,
                "method": "CARD",
                "type": "ONLINE"
            },
            {
                "value": 5050,
                "method": "CASH",
                "type": "OFFLINE",
                "cash": {
                    "change_for": 10000
                }
            }
        ]
    },
    "extras": {
        "origin": "ifood",
        "localizer": "68058813",
        "central": "08007054050",
        "order_id": "fd77e2e5-09a6-4d98-aaed-1af08277416a"
    },
    "external_data": {}
}'
Response Response Example
{
    "id": "624745adc97eab807f39718a"
}
Modificado em 2025-10-27 20:21:41
Página anterior
Rate limit
Próxima página
How does it work?
Built with