Evento `TOKEN_GENERATED`
| Campo | Tipo | Descrição |
|---|---|---|
| order_id | string | UUID gerado pela Abbiamo na criação do pedido |
| order_number | string | Mesmo valor do campo order_number enviado no endpoint Criar pedido (v2) |
| order_type | string | Mesmo valor do campo type enviado no endpoint Criar pedido (v2) |
| invoice_number | string | Mesmo valor do campo invoice_number enviado no endpoint Criar pedido (v2) |
| access_key | string | |
| invoice_created_timestamp | string | The invoice creation timestamp, in milliseconds |
| seller_identifier | string | Mesmo valor do campo seller_identifier enviado no endpoint Criar pedido (v2) |
| seller_document_number | string | CPF/CNPJ cadastrado da filial |
| seller_trading_name | string | Nome fantasia cadastrado da filial |
| external_order_id | string | Mesmo valor do campo external_id enviado no endpoint Criar pedido (v2) |
| event_type | string("TOKEN_GENERATED") | Identifies the type of event that occurred |
| tracking | string(length: 7) | Código de rastreio gerado pela Abbiamo |
| timestamp | integer | Timestamp do momento em que a Abbiamo disparou o evento |
| event_at | ISOString | Timestamp (ISOString) do momento em que o evento aconteceu |
| customer_name | string | Mesmo valor do campo customer.name enviado no endpoint Criar pedido (v2) |
| customer_phone | string | Mesmo valor do campo customer.phone enviado no endpoint Criar pedido (v2) |
| customer_email | string | Mesmo valor do campo customer.email enviado no endpoint Criar pedido (v2) |
| token | integer | token generated by this event |
| seller_id | string | Unique identifier for the seller |
| seller_group_id | string | Unique identifier for the seller's group or brand |
{
"token": "798793",
"order_id": "e4b99026-4985-48f2-8e04-6c2e49045d76",
"order_number": "example order",
"order_type": "TAKEOUT",
"invoice_number": null,
"access_key": null,
"invoice_created_timestamp": "2025-10-24T04:14:54.583Z",
"seller_identifier": "31908391839181",
"seller_document_number": "31908391839181",
"seller_trading_name": "Go Go Salads",
"external_order_id": null,
"event_type": "TOKEN_GENERATED",
"tracking": "LZ3IL66BIG2L",
"timestamp": 1761279322758,
"customer_name": "example@user",
"customer_phone": null,
"customer_email": "example@gmail.com",
"event_at": "2025-10-24T04:15:22.758Z",
"seller_id": "258aa03c-355f-4a68-ba22-d6f5edc1d484",
"seller_group_id": "d6e6d1be-144c-4341-b92d-697c7eaa70d4"
}