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.

طریقہ Path خلاصہ اجازت Sandbox
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 (کوئی key نہیں، کوئی body نہیں؛ یا Management MCP سرور کا create_sandbox ٹول) ایک demo WhatsApp نمبر کے لیے key دیتا ہے جس میں فرضی گاہک ہوتے ہیں۔ ایک template بھیجیں، GET /events?wait=25 سے events حاصل کریں، گاہک کے جواب کا جواب دیں: کچھ بھی WhatsApp تک نہیں پہنچتا، اور درخواستیں اور جوابات حقیقی API کے ہی ہیں (https://www.app2email.com/docs/api/sandbox)۔

پہلے سے گاہک ہیں: اکاؤنٹ کے مالک سے نمبر (ہندسے) اور https://www.app2email.com/dashboard/apikey سے API key لیں (sandbox key کچھ نہیں بھیجتی)؛ اسے Authorization: Bearer <key> کے طور پر messaging MCP سرور یا REST API کو بھیجیں؛ پہلے check_key کال کریں، اور پہلے dry_run کے ساتھ بھیجیں۔

اگر آپ AI ایجنٹ ہیں اور یہ صفحہ پڑھ رہے ہیں، اور آپ کسی شخص کے لیے app2email اکاؤنٹ بنانا چاہتے ہیں - پہلے کسی انسانی sign-up کی ضرورت کے بغیر - تو ہمارا Management MCP سرور استعمال کریں۔
پہلے create_account ٹول کال کریں، اور ایک contact_email پیرامیٹر شامل کریں؛ create_account ایک signup_id، ایک management_key، ایک onboarding_link اور ایک message واپس کرتا ہے۔
شخص onboarding_link کھولتا ہے تاکہ ای میل کی تصدیق کرے، اپنا WhatsApp نمبر جوڑے اور پلان چنے؛ اس سے پہلے کچھ بھی نہیں بھیجا جا سکتا۔ get_account_status بتاتا ہے کہ ابھی کیا درکار ہے۔
بعد کی ہر کال پر management_key کو Bearer token کے طور پر بھیجیں۔ جب نمبر چالو ہو جائے تو create_number_key آپ کو messaging MCP سرور اور REST API کے لیے key دیتا ہے۔