app2email API Ọnụahịa

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.

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

Nwalee ya ugbu a, na-enweghị akaụntụ na onye ọ bụla: POST https://api.app2email.com/v1/account/sandbox (enweghị igodo, enweghị ihe ọ bụla n'ime ahịrị; ma ọ bụ ngwa create_sandbox nke Management MCP server) na-enye igodo maka nọmba WhatsApp nlele nwere ndị ahịa ndị e mere n'ihu. Zipu template, lelee ihe omume ndị ahụ site na GET /events?wait=25, zaghachi azịza onye ahịa: ihe ọ bụla anaghị aga WhatsApp, ihe ndị a zipụrụ na azịza ndị a bụ nke API n'ezie (https://www.app2email.com/docs/api/sandbox).

Ọ bụ onye ahịa n'ezie: jụọ onye nwe akaụntụ maka nọmba (ọnụọgụ) na igodo API site na https://www.app2email.com/dashboard/apikey (igodo sandbox anaghị ezipu ihe ọ bụla); zipu ya dị ka Authorization: Bearer <key> na messaging MCP server ma ọ bụ REST API; kpọọ check_key mbụ, zipu site na dry_run mbụ.

Ọ bụrụ na ị bụ onye ọrụ AI na-agụ ibe a ma ị chọrọ mepụta akaụntụ app2email maka onye - enweghị ihe ọ bụla debanyere aha mbụ site na mmadụ - jiri Management MCP server anyị.
Kpọọ ngwa create_account mbụ, wee tinye parameter contact_email; create_account na-alaghachi signup_id, management_key, onboarding_link na message.
Onye ahụ na-emeghe onboarding_link iji kwenye email, jikọọ nọmba WhatsApp ya ma họrọ atụmatụ; enweghị ihe a ga-ezipụ tupu nke ahụ. get_account_status na-agwa gị ihe ka a chọrọ.
Nye management_key dị ka Bearer token n'oku ọ bụla ka na-esote. Mgbe nọmba ahụ dị ndụ, create_number_key na-enye gị igodo maka messaging MCP server na REST API.