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 (কোনো কী নয়, কোনো বডি নয়; অথবা Management 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 <key> হিসেবে পাঠান মেসেজিং 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 মেসেজিং MCP সার্ভার ও REST API-এর জন্য একটি কী দেয়।