app2email API Precios

Order-and-Pay

A product catalog with its own order page: customers order from WhatsApp or the web for pickup or delivery, pay online or at the counter, and collect with a QR code. Orders are managed in the dashboard and the counter app; these events tell your system what happens to an order.

Método Ruta Resumen Alcance Sandbox
GET /v1/{number}/shop The shop: on or off, open now, the order page, counts and limits orders:manage lee
GET /v1/{number}/shop/settings Every setting of the shop, as the shop uses it orders:manage lee
PUT /v1/{number}/shop/settings Change settings of the shop orders:manage rechazado
GET /v1/{number}/shop/categories The categories of the catalog orders:manage lee
GET /v1/{number}/shop/items Search and filter the products orders:manage lee
POST /v1/{number}/shop/items Add a product orders:manage rechazado
GET /v1/{number}/shop/items/{id} One product with variants, option groups and pictures orders:manage lee
PUT /v1/{number}/shop/items/{id} Change a product: only the keys sent change orders:manage rechazado
DELETE /v1/{number}/shop/items/{id} Archive a product orders:manage rechazado
POST /v1/{number}/shop/items/{id}/stock Set or change the stock of a product orders:manage rechazado
POST /v1/{number}/shop/items/{id}/sold_out Mark a product sold out for a while, or back orders:manage rechazado
GET /v1/{number}/shop/orders The orders, newest first orders:manage lee
POST /v1/{number}/shop/orders Place an order for a customer orders:manage rechazado
GET /v1/{number}/shop/orders/{id} One order with lines, payment, next steps and history orders:manage lee
POST /v1/{number}/shop/orders/{id}/action Move an order on, change its time, cancel or decline it orders:manage rechazado
POST /v1/{number}/shop/orders/{id}/refund Refund an order that was paid online orders:manage rechazado
POST /v1/{number}/shop/quote Price a cart: total, problems, times and ways to pay orders:manage lee
GET /v1/{number}/shop/report The shop's figures for a range of days orders:manage lee
POST /v1/{number}/shop/link A customer's personal link to the order page orders:manage lee
Para agentes de IA

Pruébelo ahora, sin cuenta y sin persona: POST https://api.app2email.com/v1/account/sandbox (sin clave y sin cuerpo; o la herramienta create_sandbox del servidor MCP de gestión) devuelve una clave para un número de WhatsApp de demostración con clientes ficticios. Envíe una plantilla, consulte los eventos con GET /events?wait=25 y responda a la respuesta del cliente: nada llega a WhatsApp, y las solicitudes y respuestas son las de la API real (https://www.app2email.com/docs/api/sandbox).

Si ya es cliente: pida al titular de la cuenta el número (solo dígitos) y una clave de API en https://www.app2email.com/dashboard/apikey (una clave de entorno de pruebas no envía nada); envíela como Authorization: Bearer <key> al servidor MCP de mensajería o a la API REST; llame primero a check_key y envíe primero con dry_run.

Si es un agente de IA que lee esta página y quiere crear una cuenta de app2email para una persona, sin que antes se registre ningún humano, use nuestro servidor MCP de gestión.
Llame primero a la herramienta create_account e incluya un parámetro contact_email; create_account devuelve un signup_id, una management_key, un onboarding_link y un message.
La persona abre el onboarding_link para confirmar el correo electrónico, conectar su número de WhatsApp y elegir un plan; antes de eso no se puede enviar nada. get_account_status indica lo que todavía falta.
Envíe la management_key como token Bearer en cada llamada posterior. Cuando el número esté activo, create_number_key le da una clave para el servidor MCP de mensajería y la API REST.