# F.A.Q.

## Quienes pueden consumir el API ?

El API lo puede consumir cualquier usuario Administrador de Ventiapp

## Cómo puedo detectar nuevas Ventas ?

Para detectar nuevas ventas, hay dos maneras diferentes:\
**Pooling**: Consultando el API de Orders períodicamente, recomendamos cada unos 5 minutos y utilizando el parámetro de sort **created\_desc**\
**Pushing:** Escuchando los webhook que proveemos en el tópico orders/created, de esta manera podrás tener en tiempo real una notificación de venta creada

## Cuando debería Imprimir guías de Envío ?

Te recomendamos que la impresión de la guía sea en el momento posterior a tener tu paquete embalado, recordemos que este evento dispara la inicialización del Handling Time y dependiendo del canal de venta podrás ser penalizado si se excede de cierto tiempo. Ventiapp te recomienda que tu integración esté hecha de manera inteligente e imprima las guías de envío luego del proceso de embalado


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ventiapp.mx/ventiapp/desarrolladores/f.a.q..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
