Actions34
- Cliente Actions
- Catálogo Actions
- Pedido Actions
- Conversa Actions
- Contexto Actions
- Telemetria Actions
- Canal WhatsApp Actions
- Paciente Actions
- Procedimento Actions
- Agenda Actions
- Agendamento Actions
- Lembrete Odonto Actions
Pedido → Detalhar
AI-generatedSummary
Retrieve detailed information about an existing order by its short number or UUID, optionally scoped to a customer's phone number.
Inputs
- ref (required) — Short number (e.g., 64) or UUID of the order. Used to identify the specific order to retrieve.
- pedidoTelefoneCliente — Optional customer phone number to restrict the response to orders belonging to that phone number. Useful for verifying ownership in contexts like WhatsApp interactions.
- tokenIdOverride — Optional dynamic token returned by multi-tenant bootstrap; must be used together with the dynamic Signing Secret.
- signingSecretOverride — Optional ephemeral secret returned by bootstrap; must be kept confidential and excluded from logs or outputs.
Output shape
a JSON object representing the full order details, including its items and item IDs
The order must belong to the tenant associated with the token. If the specified order belongs to another bakery, the API returns a 404 error. When a customer phone number is provided, the API returns the order only if it belongs to that customer, otherwise a 404 error occurs.
Examples
Example 1: Retrieve an order by its short number
Set 'ref' to the order's short number (e.g., "64") and optionally provide 'pedidoTelefoneCliente' for customer verification.