Queek docs
App capabilities

Storefront and content

Storefront and content capabilities for Queek apps: storefront, content, reviews and conversations.

Capabilities for storefront, content, reviews and conversations. 12 capabilities on this page.

Each entry says what the capability does, what is worth knowing about it, and how you reach it. Scope names are explained on Merchant API scopes; How to read this catalogue explains the layout.

Storefront

Product-page app blocks

Available

Declared app blocks on product targets from a small schema (date, time, select, shopper text input (line_text), and one optional submit button); availability reads through the signed proxy (a line_text block needs no proxy read), the submit button posts the block’s choices to the app, other actions deep-link out.

Good to know:

  • Product targets only.

  • A block may declare one submit element, accepted only for an app that declares extensions.proxy.allow_post and granted by the merchant; the storefront posts the block’s other choices as one JSON object, with the product, through the signed proxy. Without the grant the block stays read-only.

  • A block renders only after its read at the same path answers, so an app with a submit element must answer that read, even with an empty object. A block made only of line_text fields makes no proxy read.

  • A line_text field takes shopper text up to its max_length (1 to 500, default 100); a manifest declares at most 3, a block holding one holds only line_text fields and shows on declared products only, and the text is untrusted shopper input: treat every value as such. A version that adds line_text goes through review.

  • Routes: GET api/v1/client/app-placements

  • Manifest: extensions.blocks

Site-wide storefront embeds

Available

Apps can display merchant-enabled, sandboxed body embeds across eligible storefront pages through a controlled iframe surface.

Good to know:

  • Each embed has exactly one capability: chat bubble, banner, popup, scroll to top, or link button.

  • Embeds render in the storefront body only; apps cannot add head content or inline scripts.

  • The iframe sandbox does not allow forms or popups, so a link-out chat button such as wa.me or t.me cannot work inside an iframe embed. Declare a link-button embed instead (Link-out buttons (WhatsApp, Telegram, Messenger)).

  • At most three embeds can be enabled per store; each embed is off until the merchant switches it on in the storefront editor (App embeds).

  • Embeds support the functional consent category only.

  • The iframe receives no shopper or customer identity.

  • Manifest: extensions.embeds

Shopper identity to apps

Available

The proxy passes the logged-in customer id only when the app’s grant, the manifest flag, the platform switch and the shopper’s session all agree, and no erasure filed for that customer is still standing (only a cancelled one lets the id through). Logged-out shoppers read as blank, and a POST carries the same identity rules as a read.

Good to know:

  • There is no anonymous visitor id: a logged-out shopper reads as blank, and the id Queek passes is the store customer id, never a cross-store identity. It is left out from the moment a merchant files an erasure for that customer, and comes back only if the merchant cancels it.

  • The proxy has no email-capture call, and a collected email is neither proof of identity nor permission to market to that person. A storefront can subscribe a shopper to the store’s email list through the public subscribe endpoint, and an app can file what it captured as a collected record from its server.

  • Apps cannot start a conversation with a shopper; they can reply to a conversation the shopper started through the conversation API.

  • Routes: GET api/v1/client/apps/{appSlug}/{path}, POST api/v1/client/apps/{appSlug}/{path}

  • Configuration: apps.proxy_share_customer_id_enabled

Available

An app can put a button on the storefront that opens its chat link. Queek draws the button; the app declares its label and icon in an embed with the link-button capability and writes only the link, as an installation metafield. The sandbox is not loosened.

Good to know:

  • The link must be an https address on exactly one of wa.me, api.whatsapp.com, t.me or m.me, with no credentials or port. A subdomain or look-alike host is refused.

  • The link is checked when the app writes it (a value that fails answers 422) and again every time the storefront bootstrap is built, so an unset or invalid link simply shows no button.

  • The icon is one of whatsapp, telegram, messenger or chat; the label is at most 40 characters. The link-button has no url, no settings and no shopper identity.

  • It counts toward the three-embed cap and is off until the merchant switches it on in the storefront editor (App embeds); the merchant chooses the corner.

  • The app defines the metafield first: an installation definition in its own app_{slug} namespace, named by the embed’s link field.

  • queek app deploy accepts a link-button from @usequeek/cli 0.16.6; an older CLI rejects it as an unknown capability.

  • Routes: PATCH api/v1/merchant/app/metafields

  • Manifest: extensions.embeds

Compose storefront pages

Available

An app can list, read, create, update and delete a store’s pages and write their sections, always as drafts. The merchant reviews and publishes in the dashboard; an app cannot publish.

Good to know:

  • Drafts only: a page an app creates is a draft and a change to a published page is saved as a draft beside it. An app cannot publish, schedule or unpublish, so status, published_at, is_home, template and chrome are refused.

  • On a published page only sections can be written; its title, slug and SEO would change the live page, so they answer 409. A published page or the home page cannot be deleted by an app.

  • Sections use the same section list the dashboard saves, limited to a safe subset for apps: no embed, video, contact or metaobjects sections, no raw HTML, links only as http(s), root-relative or #fragment (mailto: and tel: on link fields), background colour as a hex value, and no per-section tokens or dynamic-source bindings. At most 50 sections and 256 KB per page.

  • The page list and read answer the live sections beside the draft sections; there is no preview link for a draft.

  • The scopes merchant-pages-create, merchant-pages-update and merchant-pages-delete are review-required when added to an app version.

  • Routes: GET api/v1/merchant/pages, GET api/v1/merchant/pages/{page}, POST api/v1/merchant/pages, PATCH api/v1/merchant/pages/{page}, DELETE api/v1/merchant/pages/{page}

  • Scopes: merchant-pages-read, merchant-pages-detail, merchant-pages-create, merchant-pages-update, merchant-pages-delete

Storefront app proxy (read)

Available

One signed server-to-server read per shopper request, with replay rules, pinned fetch, throttling per installation and shopper IP (120 reads a minute) and no shared caching.

Good to know:

  • GET reads; writes are a separate opt-in (see storefront proxy writes). Tight body and time budgets per call.

  • Every call carries a signed surface param set only by Queek: storefront for a shopper call, dashboard for the merchant dashboard, ai for Queek AI. A shopper-supplied surface is always dropped. An app’s dashboard handler must refuse a call whose verified surface is not dashboard; a storefront handler must refuse one that is not storefront.

  • A shopper can never reach a path whose first segment is dashboard or ai: the storefront proxy answers 404 for it and sends nothing. On a storefront call the names vendor_id, installation_id and order_id are dropped from the query, so they only ever arrive on a dashboard call.

  • The signed shop param is the store's number (its id in the Merchant API, an integer) on every surface, never a slug or a UUID: key per-store data on it. logged_in_customer_id is the signed-in shopper on a storefront call and the order's customer on a dashboard call, and is left out from the moment a merchant files an erasure for that customer (through the cancel window, the last-order hold, the run and after it, a failed run included), returning only if the merchant cancels it.

  • Routes: GET api/v1/client/apps/{appSlug}/{path}

  • Configuration: apps.proxy_max_bytes

Storefront proxy writes

Available

An app that declares extensions.proxy.allow_post, and whose merchant has accepted it, receives signed JSON POSTs from the storefront at its proxy URL. The signed query carries the verb, a sha256 of the exact body and the shopper’s Idempotency-Key. A Queek-rendered product block can post its choices through a submit element.

Good to know:

  • POST only, application/json only, one JSON object or array of at most 65,536 bytes; PUT, PATCH and DELETE are refused.

  • Off until the app declares extensions.proxy.allow_post and the merchant accepts the update; installs made before the declaration stay read-only.

  • Queek forwards the body and the signed query only: no cookies, Authorization header, client key, Origin or shopper IP reach the app. The shopper’s customer id follows the same rules as reads.

  • The app’s 200, 201, 202, 204, 400, 409 and 422 answers are relayed; any other status, a non-JSON body or a timeout reads as a 424 app_proxy_failed. A timed-out POST may still have been processed, so dedupe on the signed idempotency_key.

  • At most 20 submissions a minute per shopper IP and 600 a minute per installation.

  • Embeds cannot post. A block posts only through its submit element, to its own proxy path, which is the same path its read uses, so an app with several blocks tells them apart by the body.

  • The queek app deploy command accepts extensions.proxy.allow_post from CLI 0.15.5 and a block submit element from CLI 0.16.0; older versions reject them.

  • Routes: POST api/v1/client/apps/{appSlug}/{path}

  • Manifest: extensions.proxy.allow_post

  • Configuration: apps.proxy_post_max_bytes

Available

Apps can search a store’s shopper-visible products by keyword, availability and defined metafields.

Good to know:

  • Products only: this endpoint has no collection filters or results, recommendations, app-managed synonyms, total counts or facets.

  • Keyword matching is a substring match on title, description or SKU with no relevance ranking, stemming or typo tolerance.

  • The in_stock field in a result is the stored product value, while the in_stock filter checks sellable active variants: read storefront_available for availability, which follows the same sellable-now rule.

  • Routes: GET api/v1/merchant/storefront/search

  • Scopes: merchant-items-read

Ad conversion tracking

Available

A store measures its ads with Queek’s built-in Google Analytics, Meta Pixel, TikTok Pixel and Pinterest Tag apps: the merchant installs one and enters the id, and the storefront reports page views and shopping events (product view, search, add to cart, checkout started and purchase; Pinterest reports page visit, search, add to cart and purchase). An app that needs server-side conversions reads orders/create and orders/paid.

Good to know:

  • An app cannot add scripts to the storefront page or receive its browser events; app embeds and blocks run in a sandboxed frame.

  • Order webhooks carry the order value, currency and lines; the customer’s name, email and phone only reach an app holding the customer contact grant.

  • Meta, TikTok and Pinterest load only after the shopper accepts advertising cookies; Google Analytics follows the analytics choice through Google Consent Mode.

  • Scopes: merchant-orders-read

  • Webhooks: orders/create, orders/paid

Content

Blog-post reads and markdown writes

Available

Apps can list and read blog posts, and create, update, publish and delete them with a markdown body through the merchant API. Storefront pages are written separately as drafts through the pages API.

Good to know:

  • Markdown body only; block-built posts cannot be written through the merchant API. Pages are separate: POST pages creates section pages as drafts that the merchant publishes in the dashboard (see Compose storefront pages).

  • Routes: GET api/v1/merchant/posts, GET api/v1/merchant/posts/{post}, POST api/v1/merchant/posts, PUT api/v1/merchant/posts/{post}, DELETE api/v1/merchant/posts/{post}

  • Scopes: merchant-posts-read, merchant-posts-detail, merchant-posts-create, merchant-posts-update, merchant-posts-delete

Reviews

Product reviews: import, read, reply and moderate

Available

An app can import product reviews and read back the ones it imported. With merchant-product_reviews-read it reads every review of the store in any moderation state, the reviewer shown as first name and last initial. With merchant-product_reviews-respond it publishes the store’s public reply, and with merchant-product_reviews-moderate it approves, hides or holds a review, which moves the product rating at once. Queek sends its own review request two days after delivery unless the store has switched review requests off; an app reads that switch with GET api/v1/merchant/review-settings and changes it with PATCH api/v1/merchant/review-settings, and an app that sends its own can use the orders/fulfilled webhook as its trigger once it has switched Queek’s request off, so a shopper is not asked twice.

Good to know:

  • Review requests, asking shoppers to review after delivery: Queek sends its own two days after delivery, on unless the store switches it off. GET review-settings (merchant-review_settings-read) reads the switch as review_requests_enabled (a store that never set it reads true) and PATCH review-settings (merchant-review_settings-update) turns it on or off for the whole store; the merchant sees the same switch in the dashboard settings and can turn it back on there. An app that sends its own from its own channel when orders/fulfilled arrives should switch Queek’s off first, or shoppers are asked twice. Apps cannot send a request through Queek, and no webhook announces a change to the switch. Request timing, contact permission and duplicate delivery are the app’s to manage.

  • Reviews are identified by a UUID, not a short numeric id; the product is its p_id.

  • The reviewer is the first name and last initial only: no full name, avatar, email, phone or order.

  • A reply is published under the store’s name and replaces the previous one. The merchant removes a reply in the dashboard; apps cannot.

  • Moderating a review changes the public product rating at once and applies to any review of the store, including shopper reviews and other apps’ imports.

  • Imported reviews are marked unverified.

  • Approved imports affect product ratings and Explore ordering, and appear in the shopper product review list, summary and latest approved reviews.

  • Verified-only storefront blocks, store-wide block summaries and testimonials hide imports by default; merchants can opt in with verified_only=0.

  • Apps cannot retract an imported review after submission, and cannot edit or delete a review.

  • Routes: GET api/v1/merchant/reviews, POST api/v1/merchant/reviews/import, GET api/v1/merchant/product-reviews, GET api/v1/merchant/product-reviews/{review}, POST api/v1/merchant/product-reviews/{review}/response, PATCH api/v1/merchant/product-reviews/{review}/status, GET api/v1/merchant/review-settings, PATCH api/v1/merchant/review-settings

  • Scopes: merchant-reviews-read, merchant-reviews-import, merchant-product_reviews-read, merchant-product_reviews-respond, merchant-product_reviews-moderate, merchant-review_settings-read, merchant-review_settings-update

  • Webhooks: orders/fulfilled

Conversations

Conversation and message API for apps

Available

Installed apps can list and read the store's WhatsApp, Instagram and Telegram conversations and messages, mark a conversation read, reply to a shopper on the store's own line, and subscribe to conversation_messages/create to be told when a shopper writes. The shopper's name and channel handle are masked unless the app also holds the customer contact grant.

Good to know:

  • conversation_messages/create fires once for each message a shopper writes, with the conversation id, the channel and the message. It needs the conversations read grant, and the message text can contain contact details. The assistant's and the team's replies do not fire it, and there is no topic for a conversation that changes mode or closes. Delivery is at least once, a message is reported within a few minutes of being stored, and an app added later catches up by listing conversations.

  • Message text is written by shoppers and can contain contact details; only the shopper's name and channel handle are masked.

  • A reply is text, an image or a product (as a card or a link): no buttons, voice, files or templates. It needs an Idempotency-Key, and on WhatsApp and Instagram it is refused 24 hours after the shopper's last message. Each installation may send 20 replies a minute and 1,000 a day.

  • A reply pauses the store's AI on that conversation for the store's takeover window. Apps cannot switch between AI and team, assign or close a conversation, or start a conversation with a shopper.

  • The store needs a plan that includes the messaging inbox, and a version that declares the read or reply scope goes through review before release.

  • Routes: GET api/v1/merchant/conversations, GET api/v1/merchant/conversations/{conversation}, GET api/v1/merchant/conversations/{conversation}/messages, POST api/v1/merchant/conversations/{conversation}/mark-read, POST api/v1/merchant/conversations/{conversation}/messages

  • Scopes: merchant-conversations-read, merchant-conversations-update, merchant-conversations-reply

  • Webhooks: conversation_messages/create

On this page