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 सार Scope सैंडबॉक्स
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 टूल) एक डेमो WhatsApp नंबर के लिए key लौटाता है, जिसमें नकली ग्राहक होते हैं। एक टेम्पलेट भेजें, GET /events?wait=25 से इवेंट लें, और ग्राहक के जवाब का उत्तर दें: कुछ भी असली 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 अकाउंट बनाना चाहते हैं (पहले किसी इंसान के साइन-अप की ज़रूरत नहीं), तो हमारा Management 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 आपको messaging MCP सर्वर और REST API के लिए key देता है।