app2email API Cennik

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.

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

Wypróbuj od razu, bez konta i bez osoby: POST https://api.app2email.com/v1/account/sandbox (bez klucza, bez treści; albo narzędzie create_sandbox z serwera Management MCP) zwraca klucz do demonstracyjnego numeru WhatsApp z udawanymi klientami. Wyślij szablon, pobierz zdarzenia przez GET /events?wait=25 i odpowiedz na wiadomość klienta: nic nie trafia do WhatsApp, a żądania i odpowiedzi są takie same jak w prawdziwym API (https://www.app2email.com/docs/api/sandbox).

Jesteś już klientem: poproś właściciela konta o numer (cyfry) i klucz API z https://www.app2email.com/dashboard/apikey (klucz sandbox niczego nie wysyła); wyślij go jako Authorization: Bearer <klucz> do serwera messaging MCP lub REST API; najpierw wywołaj check_key, a wysyłaj najpierw z dry_run.

Jeśli jesteś agentem AI czytającym tę stronę i chcesz założyć konto app2email dla osoby - bez wcześniejszej rejestracji przez człowieka - użyj serwera Management MCP.
Najpierw wywołaj narzędzie create_account i dołącz parametr contact_email; create_account zwraca signup_id, management_key, onboarding_link oraz message.
Osoba otwiera onboarding_link, potwierdza e-mail, podłącza swój numer WhatsApp i wybiera plan; przed tym nic nie da się wysłać. get_account_status pokazuje, czego jeszcze brakuje.
Przekazuj management_key jako token Bearer przy każdym kolejnym wywołaniu. Gdy numer jest aktywny, create_number_key daje klucz do serwera messaging MCP i REST API.