Merch Maker
v1.0.1Design and order custom merch, like branded shirts and hoodies, for a team, event or yourself
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
shop.about Ask how the shop works
Answers a question about how this shop works, in a sentence or two written for the shopper. It applies when the person asks, rather than asking for designs: whether they can have a store, shop or website of their own; how ordering and payment happen, or to place the order; who makes the products or what they cost the shop; printing on a sleeve; putting another company's logo, trademark or characters on merchandise; shipping one order to several addresses; how a group buy works; a margin or payout for a shop's owner; an exact ink colour such as a Pantone; how many design rounds a person has and…
| Parameter | Type | Description |
|---|---|---|
topic * | string | What the person asked about: own_shop (a store, shop or website of their own), ordering_and_payment, makers_and_costs (who makes the products, what they cost the shop), sleeve_printing, other_brands (… |
shop.browse Browse a collection
Opens one collection the shopper can reach, by collection_id, and lists its items as cards with price tiers, variants and an item_ref: the shopper's own prepared products, or the items of a collection shared with them. The card checks out the sizes and quantities the shopper picks, and payment happens on the merchant's checkout page. An item of a group order has no item_ref: friends pick it on the group's page. query narrows by product name. A collection that is paused or closed lists nothing to buy, and an id the shopper cannot open is refused as not found. Nothing is created, reserved or cha…
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | The collection to open, by the id a listing of the shopper's collections gave. |
limit | integer | At most this many items, 1 to 12; default 12. |
query | string | Narrows the list to items whose product name contains this text. |
shop.cart Show my cart
Shows the cart this chat built (its cart_id), with current prices and checkout, as a card of its own. It applies when the shopper asks to see their cart. A cart holds only what was put in it under its cart_id; carts built in other chats are separate. Changes nothing. Inputs: cart_id.
| Parameter | Type | Description |
|---|---|---|
cart_id | string | The cart this chat built, as its last cart result named it. Absent: this chat has no cart yet. |
shop.checkout Get a checkout quote
Prices the shopper's selected sizes and quantities for up to 10 products and 24 lines, and returns one quote with a signed merchant checkout link. Each item_ref appears once, from a prepared round, the cart, or a collection's listing. Private prepared products and published shop items can be checked out together. Each product needs its own minimum quantity; unavailable sizes, changed offers and other shoppers' private products are refused. Every offer and price is checked again on the server, and each quote line names its item_ref. Takes no payment, publishes nothing and records no design appr…
| Parameter | Type | Description |
|---|---|---|
items * | array | The items being bought: one object per item, each with its item_ref and its lines. |
shop.choose_product Choose the product
Records the product the shopper chose, from the options shown (or the only one), on a project for this request, opening the project when there is none. Answers in text, with no card: the project's id (occasion_brief_id) and the next step, which is the question of what to design from. Starts no designs and charges nothing. Inputs: catalog_product_id, colour, occasion, occasion_brief_id, revision.
| Parameter | Type | Description |
|---|---|---|
catalog_product_id * | string | The product the shopper chose, one of the options shown. |
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
colour | string | The garment colour by name, when the shopper named one. |
occasion | string | The project in a few words (at most 300 characters). Used only when this call opens the shopper's setup. |
occasion_brief_id | string | The project this choice is for, when an earlier result named one. Absent for the shopper's current setup. |
revision | integer | The project's revision from an earlier result. Absent or 0 writes to the project as it stands; a choice made on an older revision is refused. |
shop.collections Show collections
Lists the collections the shopper can open: their own, ones shared with them (saved from a link) and group orders they joined, each with its access, status and item count. With collection_id it opens one; for the shopper's own it shows what each product can be bought as, its publication links, and the revision that edits take. It lists no products to buy: the items of one collection, with prices, are a separate read by collection_id. Reads only. Inputs: collection_id.
| Parameter | Type | Description |
|---|---|---|
collection_id | string |
shop.design_credits Check my design rounds
App-only; the assistant never calls it. The rounds-used-up card reads the shopper's free rounds left, the date the next one opens and their design credits, so it can offer to start the round it holds once one covers it. Makes no provider call and spends nothing. Session supplies tenant and actor identity; this tool takes no agent arguments.
shop.open_link Open a shared link
Opens a collection link the person pasted (a merchmaker.ai /c/ link) and saves it to their collections. Returns the collection's name, status and item count. Adds nothing to a cart, and opening the same link again changes nothing. A group-order (/g/) link is joined in the browser, not here. A link that is wrong or has been turned off is refused as not found. Inputs: url.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
url * | string | A merchmaker.ai collection link the person pasted, for example https://merchmaker.ai/c/abc123. |
shop.orders Show my orders
Lists or reads the orders this shopper placed themselves: orders for their own designs, and purchases from a published shop they checked out of while signed in. Without order_id it returns their orders newest first, one page at a time (limit 1 to 20; cursor continues from the previous page), optionally only those at one stage. With order_id it returns what that order holds, each design with its sizes by colour and any finishing charges, what it was charged, its stage, refund stage, shipment tracking and the shipping address it was paid with. An order is confirmed, in production, shipped, deliv…
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | integer | |
order_id | string | |
stage | string | Narrows the list to orders at one stage: CONFIRMED, IN_PRODUCTION, SHIPPED, DELIVERED, DELAYED or REFUNDED. |
shop.pick_design Pick a design
Reads one design of a round by its design number. It applies when the person chooses a design in the chat by its name or its place on the card ("let's go with Corn Dog Lineup", "the fifth one"). Returns that design's product_id, minimum order, the sizes (a sku_id per size) of the colour it was prepared on, or of the colour named, and the names of the other colours the product comes in, as text, with the next step for where the round's products go. A colour the product does not come in is refused with the colours it does. Shows no card: the round's card is already in the chat. Makes no provider…
| Parameter | Type | Description |
|---|---|---|
design * | integer | The design number of the chosen design, 1 to 10. The person sees names and places on the card, not numbers; the round's 'Shown on the card' list gives the number for each name and place. |
design_sheet_id * | string | The round's design_sheet_id. |
colour | string | A colour the product comes in, by its name from other_colourways, for that colour's sizes. Without it, the sizes are those of the colour the design was prepared on. |
shop.preview_collection Preview publishing a collection
Previews what publishing one of the shopper's collections would make public, as a storefront or a group buy. Returns exactly that: the public title, each designed item with its price, and the items left out because they have no design yet or their product is no longer available, with a confirmation code (confirm_digest) that publishing takes. Writes nothing. A shop or group buy is a place to buy from: it has no voting or reactions, adds no margin and pays the sharer nothing, and a group buy sells one design. Inputs: collection_id, group_buy, publication_mode.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | |
group_buy | object | |
publication_mode | string | storefront or group_buy |
shop.price_selection Price my selection
App-only; the assistant never calls it. A card reads the price of the sizes and quantities the shopper has chosen, as the checkout will charge them: every item priced together as the cart is, each line's unit and extended price, the subtotal, and for an item below its minimum which of the chosen sizes are short and how many more pieces of them reach it. Takes the items a checkout takes. Writes nothing, makes no checkout link and takes no payment. Inputs: items.
| Parameter | Type | Description |
|---|---|---|
items * | array |
shop.products See what the shop can make
Lists what this shop sells and can design on right now. It applies when someone asks what the shop sells or whether it sells something, names several products at once, or asks for custom or branded merchandise without yet saying what the designs are for or about: a request that gives only a quantity ("40 shirts"), names no product at all ("something for our team"), says only who a person is ("military parent"), or asks for their own logo with no website or picture to take it from. A request that already says what the designs are for or about, a group and the product it wants included ("caps fo…
| Parameter | Type | Description |
|---|---|---|
asked | string | What the shopper asked for, in their own words, with any colours and wishes ("black sweater", "a black hoodie and a white hat", "something warm for the team"). Several products may be asked at once. E… |
company | boolean | True when the design is for the shopper's company or is to carry their logo or website. Absent for a personal design. |
limit | integer | At most this many options, 1 to 4; default 4. |
occasion | string | The project in a few words, from the request ("team offsite", "our company hoodies"). The setup card opens the shopper's project with it. |
quantity | integer | How many pieces the shopper asked for (40 for "40 t-shirts"). Absent when they named no number. |
shop.proposal_progress Check design progress
Used by the round's card only. Reads a round's preparation status and its purchase-ready product cards, by design_sheet_id. Makes no provider call and spends nothing. Inputs: design_sheet_id.
| Parameter | Type | Description |
|---|---|---|
design_sheet_id * | string |
shop.proposals Show product proposals
Reads the shopper's latest round of designs, or one round by design_sheet_id: its prepared products with their current prices, and where the round's products go. Options that are unfinished or failed are never shown as purchasable. Once the round is ready, every call shows the round's card again, so it suits reopening a round whose card is no longer in view; a card already in the chat keeps itself up to date without it. Makes no provider call and spends nothing. Inputs: design_sheet_id.
| Parameter | Type | Description |
|---|---|---|
design_sheet_id | string |
shop.propose Draw design proposals
Draws a round of original design proposals on a product, or a few of the type asked for, from the person's request, and adds them to the person's own private account as new products they can look at, adjust and later choose to buy. It applies as soon as the person has said what the designs are for or about: an occasion or gift, what someone loves, who the designs are for (a team, a club, a gym's members), words to print, their company's website, or a picture they attach or upload. No product needs choosing first: with a product type alone, or with none (apparel), the round goes on up to three…
shop.publish_collection Publish a collection
Publishes one of the shopper's collections as a public link that anyone can open and buy from, as a storefront or a group buy. It applies when the person asks to publish and has confirmed a preview of exactly what becomes public: it takes that preview's collection_id, publication_mode, group_buy terms and confirm_digest unchanged, and is refused when the collection changed since the preview, which a new preview resolves. The link is returned once and can be turned off later. A collection has at most 3 live links, and a shopper 10. The person who shares sees order counts only, never buyer detai…
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | |
confirm_digest * | string | The confirmation code of the preview the person confirmed. |
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
group_buy | object | |
publication_mode | string | storefront or group_buy |
shop.report_feedback Send feedback to the team
Sends the Merch Maker team one report that the person asked to send: their comment, suggestion or problem in their own words, with the round, design, cart or order they named, if any. It carries nothing the person did not ask to send: no note of what they were doing and no observation of the assistant's. The report is stored for the team and is readable only by the shopper who sent it; nothing is sent to anyone else, published, spent or charged. Returns a reference id. A session is limited to a few reports per hour and a reporter to a few per day. Inputs: kind, message, related.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
kind * | string | What the report is: feedback, suggestion, issue. An issue is something that did not work as expected. |
message * | string | The person's report, in their own words. Up to 4000 characters. |
related | array | The records the person said the report is about, up to 10. |
shop.round_status Check how a round stands
Reads how a round of designs stands, by design_sheet_id or the person's latest round: its state, how many designs are ready out of the total, and the names of the ready designs with their design numbers, in the order the card shows them, with the designs the ranker suggests. It answers as text only and shows no card. Makes no provider call and spends nothing. Inputs: design_sheet_id.
| Parameter | Type | Description |
|---|---|---|
design_sheet_id | string | The round's design_sheet_id. Without it, the person's latest round. |
shop.set_destination Set shopping destination
Sets where a project's designs go: the shopper's own purchase, a saved collection, a group buy, or a shop. The choice is saved on the project and shared by all its rounds and refinements. It applies when the shopper states or changes that goal. A destination other than a purchase keeps the project's current collection or creates an empty private draft. It takes the project's current destination revision, which a read of the round gives. It moves no saved products and never publishes, checks out or charges: checkout happens from the cart, and publishing is a separate step the person confirms. A…
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
intent * | string | purchase, collection, group_buy, or storefront, as chosen by the shopper. |
occasion_brief_id * | string | |
revision * | integer | The project's current destination revision, as a read of the round gives it. |
collection_id | string | An existing owned collection. Absent keeps this project's collection, or creates a draft when it has none. |
name | string | Name for a new draft collection, group buy, or shop. |
shop.unpublish_collection Unpublish a collection
Turns off one of the shopper's published links, so it no longer opens. It applies when the person asks to stop sharing. share_id names the link, as given when it was published or as listed with the collection. Turning off a group buy's link also closes its group order. A link cannot be turned back on; publishing again gives a new one. Inputs: share_id.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
share_id * | string | One of the shopper's own live links, by the id given when it was published or listed with its collection. |
shop.update_cart Update my cart
Puts a design the shopper chose in this chat's cart, or changes what is there, and answers with the cart as a card of its own, with the total and checkout. An entry is the design's product_id with one line per size (sku_id and quantity), in the quantities the shopper has stated; setting it replaces that design's earlier selections. An entry can also be removed, or the whole cart emptied. cart_id and revision are the cart's, from its last result; with no cart_id a new cart opens, holding only this call's entries. Does not order or charge: the shopper checks out on the merchant's checkout page.…
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
ops * | array | The changes, applied together: one object per design set or removed, or one clear. |
cart_id | string | The cart this chat built, as its last cart result named it. Absent opens a new cart, holding only this call's entries. |
revision | integer | The cart's revision, as its last cart result gave it. |
shop.update_collection Update a collection
Creates or edits a private collection of prepared products, which may come from different rounds. Operations run in the order given: create (first, for a new collection), rename, add or remove by prepared product_id, reorder (with every product_id exactly once) and archive (last; it stops the collection's links). An existing collection is named by collection_id with its current revision. The edits apply together or not at all. A collection holds up to 50 products. Does not publish, order or charge. Inputs: collection_id, ops, revision.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
ops * | array | |
collection_id | string | |
revision | integer |
shop.upload_design_file Upload a picture to design from
Used by the upload card only. It sends the picture the shopper chose, shrunk to at most 2048 px and 4 MB. The shop checks it is a real PNG, JPEG or WebP picture with something in it, stores it as the shopper's own image and answers its asset_id, size and a guess at whether it is a logo or inspiration. It draws nothing and costs nothing; the picture is used only once a design round names its asset_id. Inputs: image_base64, mime_type.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Unique key for this write; the same key with exactly the same input is a retry of it. |
image_base64 * | string | The picture as standard base64, at most 2048 px on its longest side and at most 4 MB once decoded. |
mime_type * | string | image/png, image/jpeg or image/webp. The server reads the real type from the bytes; any other declared type is refused. |