TanqoryDocs

More business ideas

Six apps beyond online selling, each with the Tanqory building blocks it uses, a starter prompt for your AI, and what the platform does not do yet.

Each recipe below is a short plan for an app you can build the same way as Room Booking. It names:

  • the Tanqory building blocks: Admin API operations, the access scopes they need, and webhooks;
  • what runs on your server (Appwrite in our example): your own data and the logic Tanqory does not have;
  • a starter prompt to give your AI, after the Room Booking prompts have shown it the pattern;
  • what Tanqory does not do yet, so you do not plan on it.

Every operation named here exists in the Admin API today; its page in the API reference shows its arguments and the scope it needs. The pieces Room Booking used (OAuth, App Bridge, orders/create, billing and the app proxy) were run on this environment; its booking box is now an app block, checked against the built system; the others were checked against the API, not run.

Pieces every recipe shares

NeedOn Tanqory
Install, a page inside the dashboard, chargingOAuth, App Bridge and app billing, as in Room Booking
Something inside a page of the store's websiteAn app block the merchant places in the theme editor (App blocks), and the app proxy (/apps/<subpath> on the store's address, forwarded to your server with a signature)
Something floating or on every page (a chat button, a banner, a pixel)An app embed, a script the merchant switches on (App embeds). Never one that looks for a place in the theme's markup: that is a block (the rules)
Data that belongs to the storeMetaobjects of your own type ($app: prefix), with read_metaobjects, write_metaobjects, write_metaobject_definitions; webhooks metaobjects/create, metaobjects/update, metaobjects/delete
Data only your app needsYour own database on your server, every row keyed by the store id
A shopper who is signed inThe app proxy's logged_in_customer_id parameter
A development store full of believable content to test onAsk the Tanqory connector for a whole store build: products, collections, pages, a blog, policies and menus in one approval

Unified chat inbox

Messages from the store's channels in one place, next to the customer's orders.

Building blockUse
customerByIdentifier, customers (read_customers)Find the customer behind an email address or a phone number
orders (read_orders)Show their orders beside the conversation
customerCreate, customerUpdate (write_customers)Add a new contact, or a note and tags
App embed and app proxyA chat button on the store's website that posts to your server
Your serverThe conversations, and the connections to each messaging service (LINE, Messenger, WhatsApp, email), each with its own account and terms
Text
Build a Tanqory app called "Inbox" the same way as Room Booking. It collects messages from a chat button on the store's
website (an app embed that posts through the app proxy at /apps/inbox) into conversations in Appwrite, and shows them
inside the store dashboard. For each conversation, look up the customer by email or phone with customerByIdentifier and
show their last five orders. Scopes: read_customers, write_customers, read_orders, write_app_proxy. The merchant
answers from the dashboard; the answer appears in the shopper's chat box the next time it asks the app proxy.

Left to your app, by design: Tanqory has no messages or conversations API and no inbox, and does not plan one: as on other commerce platforms, a chat or helpdesk app keeps the conversations and talks to each channel (LINE, Messenger, WhatsApp, email) itself. Not on Tanqory yet: a webhook for the store's contact form, and a way for an app to send email or SMS through Tanqory.

Appointment or class booking

A salon, a clinic or a yoga studio: services with time slots, booked and paid on the store.

Building blockUse
productSet, productVariantsBulkCreate (write_products)A product per service, a variant per length or level
inventorySetQuantities (write_inventory)Seats in a class, if a class has a fixed size
orders/create, orders/paid webhooksTurn a paid order into a confirmed appointment
orderUpdate (write_orders)Write the appointment time onto the order as a metafield in your app's namespace
draftOrderCreate, draftOrderInvoiceSend (write_draft_orders)A deposit or a booking taken by phone
App block and app proxyFree slots on the service's page, where the merchant places the block
Your serverOpening hours, staff, slots and holds
Text
Build a Tanqory app called "Appointments" the same way as Room Booking. Each service is a product of type "Service".
The merchant sets opening hours, staff and the length of each service in the app. On a service's page, an app block
the merchant places shows the free slots for the next 14 days (through the app proxy at /apps/book) and holds a slot for
10 minutes while the shopper pays. orders/paid confirms the booking; an order that is cancelled frees the slot.

Left to your app, by design: Tanqory has no calendar or time-slot model, no holds that expire, no availability search and no reminders, and does not plan them: as on other commerce platforms, a booking app keeps the calendar on its own server, as this recipe does.

Restaurant table reservations

Building blockUse
App block and app proxyA reservation form on the restaurant's website, on the page the Baan Rim Nam theme links to
customerByIdentifier, customerCreate (read_customers, write_customers)Know returning guests
draftOrderCreate, draftOrderInvoiceSend (write_draft_orders)A deposit for a large table
Your serverTables, sittings, covers and the waiting list
Text
Build a Tanqory app called "Tables" the same way as Room Booking. The restaurant sets its tables (seats each) and
sittings in the app. A booking box on the website (an app block, through the app proxy at /apps/tables) asks for date,
time, number of guests, name and phone, and offers the sittings that still have a table that fits. Parties of 8 or more
pay a deposit: create a draft order and send its invoice with draftOrderInvoiceSend.

Left to your app, by design: a reservation model and text-message reminders, as for appointments above.

Event tickets

Building blockUse
productSet (write_products)A product per event, a variant per ticket type
inventorySetQuantities (write_inventory)The number of tickets; the store stops selling at zero
orders/paid webhookIssue the tickets
orderUpdate (write_orders)Keep each ticket code on the order, in your app's metafield namespace
fulfillmentCreate (write_merchant_managed_fulfillment_orders)Mark the order fulfilled once the tickets are issued
Your serverTicket codes, the QR image, check-in at the door
Text
Build a Tanqory app called "Tickets" the same way as Room Booking. Each event is a product of type "Event" with a
variant per ticket type and inventory as the number of seats. On orders/paid, make one ticket code per seat, save the
codes on the order with orderUpdate in the app's metafield namespace, show them on a page the buyer opens through the
app proxy at /apps/tickets, and fulfil the order. Add a check-in page inside the dashboard that marks a code as used.

Not on Tanqory yet: ticket or QR code generation, check-in, and sending the tickets by email from Tanqory. Your server makes and shows them.

Memberships and loyalty

Building blockUse
customerUpdate (write_customers)Tags such as member-gold (the input replaces the customer's tags as a set), and your app's metafields
discountCodeBasicCreate, discountRedeemCodeBulkAdd (write_discounts)Member prices and single-use reward codes
giftCardCreate (write_gift_cards)Rewards as gift cards
storeCreditAccountCredit, storeCreditAccountDebit (write_store_credit_account_transactions)Turn points into store credit the customer spends at checkout
orders/paid webhookEarn points
Metaobjects or your serverThe points ledger
Text
Build a Tanqory app called "Members" the same way as Room Booking. On orders/paid, add 1 point per THB 100 to the
customer's ledger in Appwrite. Customers with 1,000 points or more get the tag "member-gold" (keep their other tags).
Inside the dashboard, the merchant sees each member's points and can turn 500 points into a single-use discount code
with discountCodeBasicCreate. A page through the app proxy at /apps/members shows a signed-in shopper their points.

Not on Tanqory yet: an app cannot add to a gift card's balance (that scope is not offered to apps), discount logic run by an app is not planned (an app creates discounts with the Admin API instead, as above), and segments, selling plans and subscription contracts an app creates cannot be read back by apps.

B2B quotes

Building blockUse
draftOrderCreate, draftOrderCalculate (write_draft_orders)The quote, with the company as purchasingCompany
draftOrderInvoiceSendSend the quote; the buyer pays it as an order
draftOrderCompleteTurn an accepted quote into an order
companyCreate (write_companies)The buyer's company
paymentTermsCreate (write_payment_terms)Net 30 and similar terms
draft_orders/create, draft_orders/update, orders/create webhooksFollow each quote
Your serverThe quote's status and the history of changes
Text
Build a Tanqory app called "Quotes" the same way as Room Booking. A wholesale buyer asks for a quote from a form on the
website (an app block, through the app proxy at /apps/quotes): products, quantities, company name and email. Inside the
dashboard the merchant sees each request, changes prices and quantities, and selects Send Quote, which creates a draft
order for the company and sends its invoice. Track each quote as requested, sent, accepted or expired.

Not on Tanqory yet: a quote object with its own status, and reading back companies, price lists and catalogs from an app. Keep those in your app.

What is missing, in one list

These are the gaps the recipes above work around. Those Tanqory keeps on its list:

  1. Metafield definitions, from an app. (Writing up to 25 metafields at once with metafieldsSet works since 2026-11-15, on every owner your app's write scopes change.)
  2. Reading back companies, price lists, catalogs, segments and subscription contracts from an app.
  3. Gift card balances, for apps. (Store credit works since 2026-11-15: storeCreditAccountCredit and storeCreditAccountDebit with write_store_credit_account_transactions.)

This page changes when one is built. Not planned: a messages or conversations API with an inbox, and a booking or time-slot model, which are left to apps by design, as on other commerce platforms; and, for now, discount logic run by an app (an app creates discounts with the Admin API instead).

Built from commit c0b3fb3fdef7 · API version 2026-10