app2email API Amanani

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.

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

Zama manje, ngaphandle kwe-akhawunti nomuntu: POST https://api.app2email.com/v1/account/sandbox (akudingeki ukhiye, akudingeki umzimba; noma ithuluzi create_sandbox leseva ye-Management MCP) liphendula ngekhiye lenombolo yedemo ye-WhatsApp enamakhasimende abekiwe. Thumela isifanekiso, uthole izehlakalo nge-GET /events?wait=25, uphendule impendulo yekhasimende: akukho okufika ku-WhatsApp, nezicelo nezimpendulo zingezalo-API langempela (https://www.app2email.com/docs/api/sandbox).

Usuvele ungumkhwenyana: cela umnikazi we-akhawunti inombolo (izinombolo) nekhiye le-API ku-https://www.app2email.com/dashboard/apikey (ikhiye le-sandbox alithumeli lutho); lithumele njenge-Authorization: Bearer <key> seva ye-MCP yokuthumelana noma ku-REST API; bize check_key kuqala, uthumele ngo-dry_run kuqala.

Uma ungu-AI agent ofunda leli khasi futhi ufuna ukudala i-akhawunti ye-app2email yomuntu - akudingeki ukubhalisa okwandulele ngumuntu - sebenzisa iseva yethu ye-Management MCP.
Biza ithuluzi create_account kuqala, bese ufaka iparamitha contact_email; i-create_account ibuyisela i-signup_id, i-management_key, i-onboarding_link kanye ne-message.
Umuntu uvula i-onboarding_link ukuze aqinisekise i-imeyili, axhume inombolo yakhe ye-WhatsApp, akhethe ipulani; akukho okungathunyelwa ngaphambi kwalokho. I-get_account_status itshela ukuthi yini esadingekayo.
Dlulisa i-management_key njengethokheni le-Bearer kuzo zonke izicelo zakho ezilandelayo. Lapho inombolo isiphila, i-create_number_key ikunikeza ikhiye leseva ye-MCP yokuthumelana ne-REST API.