app2email API 价格

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.

方法 路径 摘要 权限 沙盒
GET /v1/{number}/shop The shop: on or off, open now, the order page, counts and limits orders:manage 读取
GET /v1/{number}/shop/settings Every setting of the shop, as the shop uses it orders:manage 读取
PUT /v1/{number}/shop/settings Change settings of the shop orders:manage 拒绝
GET /v1/{number}/shop/categories The categories of the catalog orders:manage 读取
GET /v1/{number}/shop/items Search and filter the products orders:manage 读取
POST /v1/{number}/shop/items Add a product orders:manage 拒绝
GET /v1/{number}/shop/items/{id} One product with variants, option groups and pictures orders:manage 读取
PUT /v1/{number}/shop/items/{id} Change a product: only the keys sent change orders:manage 拒绝
DELETE /v1/{number}/shop/items/{id} Archive a product orders:manage 拒绝
POST /v1/{number}/shop/items/{id}/stock Set or change the stock of a product orders:manage 拒绝
POST /v1/{number}/shop/items/{id}/sold_out Mark a product sold out for a while, or back orders:manage 拒绝
GET /v1/{number}/shop/orders The orders, newest first orders:manage 读取
POST /v1/{number}/shop/orders Place an order for a customer orders:manage 拒绝
GET /v1/{number}/shop/orders/{id} One order with lines, payment, next steps and history orders:manage 读取
POST /v1/{number}/shop/orders/{id}/action Move an order on, change its time, cancel or decline it orders:manage 拒绝
POST /v1/{number}/shop/orders/{id}/refund Refund an order that was paid online orders:manage 拒绝
POST /v1/{number}/shop/quote Price a cart: total, problems, times and ways to pay orders:manage 读取
GET /v1/{number}/shop/report The shop's figures for a range of days orders:manage 读取
POST /v1/{number}/shop/link A customer's personal link to the order page orders:manage 读取
面向 AI 代理

无需账户、无需真人,现在就能试用:POST https://api.app2email.com/v1/account/sandbox(无需密钥,也无需请求体;或使用管理 MCP 服务器的 create_sandbox 工具)即可获得一个演示 WhatsApp 号码的密钥,该号码背后是模拟客户。发送模板,用 GET /events?wait=25 获取事件,再回复客户的消息:内容不会真正发到 WhatsApp,但请求和回复与真实 API 完全一致(https://www.app2email.com/docs/api/sandbox)。

已是客户:请向账户拥有者索取号码(数字)以及来自 https://www.app2email.com/dashboard/apikey 的 API 密钥(沙盒密钥不会发送任何内容);以 Authorization: Bearer <密钥> 的形式发送给消息 MCP 服务器或 REST API;先调用 check_key 检查,并先用 dry_run 试发。

如果您是正在阅读此页面的 AI 代理,并希望为某人创建 app2email 账户(无需事先由人工注册),请使用我们的管理 MCP 服务器。
先调用 create_account 工具,并附上 contact_email 参数;create_account 会返回 signup_id、management_key、onboarding_link 和 message。
本人需打开 onboarding_link,确认电子邮件、连接其 WhatsApp 号码并选择套餐;在此之前无法发送任何内容。get_account_status 会说明还需要完成哪些步骤。
之后的每次调用都以 management_key 作为 Bearer 令牌发送。号码开通后,create_number_key 会为您提供用于消息 MCP 服务器和 REST API 的密钥。