app2email API Prezzi

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.

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

Può provarlo subito, senza account e senza una persona: POST https://api.app2email.com/v1/account/sandbox (nessuna chiave, nessun corpo; oppure lo strumento create_sandbox del server MCP di gestione) restituisce una chiave per un numero WhatsApp dimostrativo con clienti fittizi. Invii un modello, recuperi gli eventi con GET /events?wait=25 e risponda al messaggio del cliente: nulla arriva su WhatsApp, e le richieste e le risposte sono quelle dell'API reale (https://www.app2email.com/docs/api/sandbox).

Se è già cliente: chieda al titolare dell'account il numero (solo cifre) e una chiave API da https://www.app2email.com/dashboard/apikey (una chiave sandbox non invia nulla); la invii come Authorization: Bearer <key> al server MCP di messaggistica o all'API REST; chiami prima check_key e invii prima con dry_run.

Se è un agente IA che legge questa pagina e vuole creare un account app2email per una persona, senza che sia necessaria una registrazione umana preliminare, usi il nostro server MCP di gestione.
Chiami per primo lo strumento create_account, includendo un parametro contact_email; create_account restituisce un signup_id, una management_key, un onboarding_link e un message.
La persona apre onboarding_link per confermare l'e-mail, collegare il proprio numero WhatsApp e scegliere un piano: prima non si può inviare nulla. get_account_status indica cosa manca ancora.
In ogni chiamata successiva passi la management_key come token Bearer. Quando il numero è attivo, create_number_key le fornisce una chiave per il server MCP di messaggistica e per l'API REST.