Skip to content
StampyWalletDocs
MCP and AI / Tools with an account / fiche_commerce

fiche_commerce

With accountWrites (confirm)

Reads or changes the business profile: name, type of business, average basket (used for the dashboard estimates), customers' language, details printed on the back of the card (address, phone, opening hours, website, welcome message) and the public customer sign-up link (stampywallet.com/rejoindre/<lien>, the one in the QR code). With no change parameter: returns the current profile. With changes: confirmer=false (default) shows the before/after, confirmer=true writes after explicit approval. An old public link keeps working after a change (QR codes already printed stay valid).

Parameters

nomstring, ≤ 80 charactersoptional
Business name (also printed on the card).
metierenumoptional
Type of business. "autre": beauty salons, nails, florists, hairdressers, grocery stores…

Values : cafe boulangerie restaurant autre

panier_moyennumber, 0.01…100000optional
Average spend per customer per visit, in euros.
langueenumoptional
The business's language: that of the card, pages and messages customers see.

Values : fr en es

adressestring, ≤ 160 charactersoptional
Address, on the back of the card (160 characters at most).
telephonestring, ≤ 30 charactersoptional
Phone, on the back of the card.
horairesstring, ≤ 120 charactersoptional
Opening hours, as free text (e.g. "Tue–Sat 7am–7pm").
site_webstring, ≤ 160 charactersoptional
Website or Instagram page.
message_bienvenuestring, ≤ 180 charactersoptional
Short note on the back of the card, read by the customer when adding it.
lienstring, ≤ 120 charactersoptional
Desired public link, in plain words ("Le Fournil de la Gare" becomes "le-fournil-de-la-gare"), from 3 to 32 characters. A link already taken by another business is refused.
effacerarray<enum>, ≤ 6optional
Fields to clear. "lien": the public address goes back to the technical identifier (the link stays reserved for this business).

Values : adresse telephone horaires site_web message_bienvenue lien

confirmerbooleanoptional
false (default): only returns a preview of what would be done, without changing anything. true: carries it out. Always show the preview to the person and wait for their approval before calling again with true.

Default : false

Response

A text the assistant reads (content), and the same information as structured data (structuredContent). When a call is refused (a parameter to fix, plan, role), the response has isError: true and a sentence the assistant can rephrase.

Warning : this tool writes. Called with confirmer: false (the default), it only returns a preview, without changing anything. The assistant must show it to you and wait for your approval before calling again with confirmer: true.

Updated

Was this page helpful?