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 קריאה
לסוכני בינה מלאכותית

נסו עכשיו, בלי חשבון ובלי אדם: POST https://api.app2email.com/v1/account/sandbox (בלי מפתח, בלי גוף; או הכלי create_sandbox של שרת ה-MCP לניהול) מחזיר מפתח למספר WhatsApp הדגמה עם לקוחות מדומים. שלחו תבנית, שלפו את האירועים עם GET /events?wait=25, וענו לתשובת הלקוח: שום דבר לא מגיע ל-WhatsApp, והבקשות והתשובות הן של ה-API האמיתי (https://www.app2email.com/docs/api/sandbox).

כבר לקוחות: בקשו מבעל החשבון את המספר (ספרות) ומפתח API מ-https://www.app2email.com/dashboard/apikey (מפתח ניסוי לא שולח דבר); שלחו אותו כ-Authorization: Bearer <key> לשרת ה-MCP להודעות או ל-REST API; קראו קודם ל-check_key, ושלחו קודם עם dry_run.

אם אתם סוכן בינה מלאכותית שקורא את העמוד הזה ורוצים ליצור חשבון 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.