Sell to people and AI agents: create products, a storefront, and USDC payment links from chat.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Add a link to the linked account's SmartSite, with smart placement. TWO STEPS: (1) call with just the url — the tool detects what kind of link it is (payment like Venmo/PayPal/Cash App, social, contact, website) and returns a recommendation with a text preview of each layout: a small ICON in the icon row, a link BUTTON tile, or a full-width INFOBAR call-to-action card. Show the user the message + previews and ask which they want. (2) call again with the same url plus displayAs = 'icon' | 'button' | 'infobar' to place it. You can override title / buttonName / description / style ('solid' | 'glass') for an info bar. Returns a viewUrl to preview the result.
The link to add (any URL, or mailto:/tel:)
Info-bar card style (default solid)
Override the label/title
Omit first to get a placement suggestion; then set to place it
Info-bar button text (e.g. "Pay", "Book")
Info-bar description line
Specific SmartSite id (default: primary)
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Add a link to the linked account's SmartSite, with smart placement. TWO STEPS: (1) call with just the url — the tool detects what kind of link it is (payment like Venmo/PayPal/Cash App, social, contact, website) and returns a recommendation with a text preview of each layout: a small ICON in the icon row, a link BUTTON tile, or a full-width INFOBAR call-to-action card. Show the user the message + previews and ask which they want. (2) call again with the same url plus displayAs = 'icon' | 'button' | 'infobar' to place it. You can override title / buttonName / description / style ('solid' | 'glass') for an info bar. Returns a viewUrl to preview the result.
| Argument | Type | Description |
|---|---|---|
| url* | string | The link to add (any URL, or mailto:/tel:) |
| style | string | Info-bar card style (default solid) |
| title | string | Override the label/title |
| displayAs | string | Omit first to get a placement suggestion; then set to place it |
| buttonName | string | Info-bar button text (e.g. "Pay", "Book") |
| description | string | Info-bar description line |
| smartsiteId | string | Specific SmartSite id (default: primary) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The link to add (any URL, or mailto:/tel:)"
},
"style": {
"enum": [
"solid",
"glass"
],
"type": "string",
"description": "Info-bar card style (default solid)"
},
"title": {
"type": "string",
"maxLength": 120,
"description": "Override the label/title"
},
"displayAs": {
"enum": [
"icon",
"button",
"infobar"
],
"type": "string",
"description": "Omit first to get a placement suggestion; then set to place it"
},
"buttonName": {
"type": "string",
"maxLength": 40,
"description": "Info-bar button text (e.g. \"Pay\", \"Book\")"
},
"description": {
"type": "string",
"maxLength": 300,
"description": "Info-bar description line"
},
"smartsiteId": {
"type": "string",
"description": "Specific SmartSite id (default: primary)"
}
},
"additionalProperties": false
}Take payment on the seller's own website: creates a checkout for a cart of the linked account's OWN products, so a buyer pays there instead of being sent to Swop. For a single shareable link use swop_get_product_link instead. Prices come from the seller's catalogue and must NOT be sent — a price in the request is rejected. Shipping is charged automatically for physical products, and for those the buyer's name, email and delivery address are REQUIRED (the call is refused otherwise, naming what is missing). Rails: USDC on Solana always; set offerCard when the seller is card-enabled and every item is a physical good — then the response has cardOffered: true and paymentRequest is null until the buyer picks a rail on the seller's page via the public URLs POST /api/v5/checkout-intents/{intentId}/card-payment-intents (Stripe client secret for a Payment Element) or POST .../select-crypto (publishes the Solana Pay request). Otherwise paymentRequest is returned at once (a solana: URL the buyer's wallet opens, also fine as a QR code). Settlement is automatic once the payment lands — nothing to confirm; poll swop_get_checkout for status. Show the buyer the products, quantities and total before creating.
| Argument | Type | Description |
|---|---|---|
| items* | array | The cart. Ids only — prices come from the catalogue |
| buyerName | string | Buyer's name (required for physical items) |
| offerCard | boolean | Offer card as well as USDC. Only takes effect when the seller is card-enabled and every item is physical; otherwise the checkout is USDC-only |
| buyerEmail | string | Buyer's email, for the receipt (required for physical items) |
| buyerPhone |
Publish a PUBLIC post to the Swop feed as the linked account's SmartSite: a caption plus up to 4 images. Each image may be an https URL, a data:image/...;base64 URI, or bare base64 (PNG/JPEG/GIF/WebP, max 5 MB; keep inline images under ~3 MB total so the request fits). TWO-STEP like swop_send: call WITHOUT confirm to get a preview — Swop hosts the images and returns who it posts as, the exact caption, the hosted image URLs and a previewId. Show the user that exact caption and every image and get an explicit yes. Then call again with the SAME caption and smartsiteId, the `images` array exactly as the preview returned it, the previewId, and confirm: true. Any change after the preview is refused — preview again. Each preview publishes at most once: re-confirming it returns the same post (duplicate: true). Never confirm before the user has seen the preview.
| Argument | Type | Description |
|---|---|---|
| images | array | Images: https URLs, data:image/...;base64 URIs, or base64. On confirm, pass the hosted URLs from the preview |
| caption | string | Post text. Hashtags and @handle.swop.id mentions work as in the app |
| confirm | boolean | true ONLY after the user explicitly approved the preview |
| previewId | string | From the preview step |
| smartsiteId | string | Post as this SmartSite (default: primary). Ids from swop_get_my_profile |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"images": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 4,
"description": "Images: https URLs, data:image/...;base64 URIs, or base64. On confirm, pass the hosted URLs from the preview"
},
"caption": {
"type": "string",
"maxLength": 2000,
"description": "Post text. Hashtags and @handle.swop.id mentions work as in the app"
},
"confirm": {
"type": "boolean",
"description": "true ONLY after the user explicitly approved the preview"
},
"previewId": {
"type": "string",
"description": "From the preview step"
},
"smartsiteId": {
"type": "string",
"description": "Post as this SmartSite (default: primary). Ids from swop_get_my_profile"
}
},
"additionalProperties": false
}Start selling something in one call: creates a product that people can buy on the linked account's Swop SmartSite and AI agents can buy in USDC over x402, with no store setup, payment processor, or verification needed. To change an existing product use swop_update_product instead. name, description and image are all REQUIRED by the backend. Confirm name and price with the user before creating. Then call swop_feature_product to show it on the SmartSite and swop_get_product_link to share it.
| Argument | Type | Description |
|---|---|---|
| name* | string | Product name |
| image* | string | Primary product image URL (required) |
| nftType | string | Fine-grained type; overrides productType. phygital/menu are physical, the rest digital |
| keywords | array | Search keywords |
| priceUsd* | number | Price in USD (settles in USDC) |
| variants | array | Buyer-selectable options. Replaces the existing set when given. |
| mintLimit | integer | Inventory available, default 1 |
| description* | string |
Show an existing product on the linked account's SmartSite as a tile visitors can buy from. Pass the templateId returned by swop_create_product (or the id from swop_list_my_products). Each call ADDS a new tile and never replaces existing ones, so check swop_get_my_smartsite first to avoid duplicates; remove a tile with swop_remove_link. The product must belong to the linked account.
| Argument | Type | Description |
|---|---|---|
| templateId* | string | The product/template id from swop_create_product |
| smartsiteId | string | Specific SmartSite id (default: primary) |
| carouselTitle | string | Optional heading for the product section |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"templateId"
],
"properties": {
"templateId": {
"type": "string",
"description": "The product/template id from swop_create_product"
},
"smartsiteId": {
"type": "string",
"description": "Specific SmartSite id (default: primary)"
},
"carouselTitle": {
"type": "string",
"maxLength": 80,
"description": "Optional heading for the product section"
}
},
"additionalProperties": false
}Read back a checkout created with swop_create_checkout: its status (active, pending_payment, paid, settled, expired, cancelled), the payment request if one is published, and the line items. Poll this after the buyer has been shown the payment to learn when it lands — paid means the buyer's money arrived; settled means the seller has been paid out. Only the linked account's own checkouts are visible.
| Argument | Type | Description |
|---|---|---|
| intentId* | string | The intentId returned by swop_create_checkout |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"intentId"
],
"properties": {
"intentId": {
"type": "string",
"pattern": "^co_[A-Za-z0-9_-]{4,40}$",
"description": "The intentId returned by swop_create_checkout"
}
},
"additionalProperties": false
}Answer "what can I do with Swop?" (returns the plain-language list of what this connection can do for the user) and look up Swop's own how-to answers on payment previews, funded claim links, Goldman AI credits, companion pairing and saved context. Use it when the user asks what Swop can do or how a feature works; for their own data use the swop_get_my_* tools instead. Returns the closest curated answer, or says the topic is not covered.
| Argument | Type | Description |
|---|---|---|
| query* | string | The question in plain words, e.g. "how do claim links work" or "what are Goldman credits". Max 240 characters. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 240,
"description": "The question in plain words, e.g. \"how do claim links work\" or \"what are Goldman credits\". Max 240 characters."
}
},
"additionalProperties": false
}Current wallet balance snapshot for the linked Swop account (total USD and per-asset breakdown). For tokens or merchant Bucks the account has launched, use swop_list_my_tokens instead.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Recent marketplace orders for the linked Swop account, both sides: sales of your products and your purchases. Shows payment, escrow/settlement, and fulfillment status.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}The linked user's own Swop account: name, email, and SmartSites (handle, bio). Use swop_lookup_identity or swop_search_identities for anyone else's profile. If no Swop account is connected, the call fails asking the user to connect it.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Get the linked account's current SmartSite so you can see it BEFORE editing: name, bio, appearance (background/theme), the links already on it (icons, buttons, info bars, with their item ids for removal), product tiles, and a viewUrl to preview it. ALWAYS call this before adding or changing things so edits stay additive.
| Argument | Type | Description |
|---|---|---|
| smartsiteId | string | Specific SmartSite id (default: primary) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"smartsiteId": {
"type": "string",
"description": "Specific SmartSite id (default: primary)"
}
},
"additionalProperties": false
}Get one link that sells to everyone: a person who opens it sees a product page with a Buy button, and an AI agent that requests it gets an x402 USDC payment challenge. Use this to share a product in chat, a social post, or a message.
| Argument | Type | Description |
|---|---|---|
| sku* | string | Product sku/id from swop_get_store |
| handle* | string | Seller swop.id, e.g. "travis.swop.id" |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"handle",
"sku"
],
"properties": {
"sku": {
"type": "string",
"minLength": 1,
"description": "Product sku/id from swop_get_store"
},
"handle": {
"type": "string",
"minLength": 1,
"description": "Seller swop.id, e.g. \"travis.swop.id\""
}
},
"additionalProperties": false
}See what any swop.id sells and buy it: lists the products a swop.id sells on their SmartSite, with USDC prices and each product's x402 buyUrl (for the linked account's own catalogue use swop_list_my_products). An agent with an x402-capable wallet purchases by GETting the buyUrl: the first request returns HTTP 402 with payment instructions (exact USDC amount, network, pay-to address), and retrying with a signed X-PAYMENT header completes the purchase and returns a receipt. Always show the user the product, price, and seller and get their confirmation before paying.
| Argument | Type | Description |
|---|---|---|
| handle* | string | The seller swop.id, e.g. "travis.swop.id" |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"handle"
],
"properties": {
"handle": {
"type": "string",
"minLength": 1,
"description": "The seller swop.id, e.g. \"travis.swop.id\""
}
},
"additionalProperties": false
}Show which websites may currently display the linked account's Swop checkout in a frame. Use before adding or removing one so the user can see what is already allowed.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}List the linked account's OWN products (each with its id, name, price, inventory, and status); to browse another seller's products use swop_get_store. Use the id with swop_update_product (to edit or unlist) or swop_feature_product (to show it on the SmartSite).
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Community tokens and merchant Bucks the linked account has launched on Base, with live balances (for the overall wallet total use swop_get_my_balances). Read-only. Merchant Bucks are STORE CREDIT (isStoreCredit: true, 2 decimals) — never add them into a portfolio or cash total. An empty list means nothing has been launched yet, not an error.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Show the webhook endpoints Swop notifies when the linked account gets paid, and the events available. Two events: checkout.paid (the buyer's money arrived and an order exists) and payout.released (Swop released the seller's money — for a card sale that can be days later). Use before adding or removing one.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Resolve an exact swop.id handle (e.g. "travis.swop.id") to its profile: display name, avatar, and public EVM/Solana wallet addresses. Case-insensitive exact match; use swop_search_identities for fuzzy search.
| Argument | Type | Description |
|---|---|---|
| handle* | string | Exact swop.id handle, e.g. "travis.swop.id" |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"handle"
],
"properties": {
"handle": {
"type": "string",
"minLength": 1,
"description": "Exact swop.id handle, e.g. \"travis.swop.id\""
}
},
"additionalProperties": false
}Allow ONE website to display the linked account's Swop checkout inside a frame. This is a security setting: only registered origins can ever frame the checkout, so a leaked API key still cannot put it on someone else's site. Give a bare origin — scheme and host only, https (http allowed for localhost), no wildcards, no path. Confirm the exact origin with the user first.
| Argument | Type | Description |
|---|---|---|
| label | string | A note to recognise it later |
| origin* | string | Bare origin, e.g. https://acme.com |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"origin"
],
"properties": {
"label": {
"type": "string",
"maxLength": 80,
"description": "A note to recognise it later"
},
"origin": {
"type": "string",
"minLength": 1,
"description": "Bare origin, e.g. https://acme.com"
}
},
"additionalProperties": false
}Get notified the moment the user gets paid. Register an https URL that Swop will POST a signed JSON event to when the linked account gets paid (checkout.paid) and paid out (payout.released). Returns a signing secret ONCE — tell the user to store it now; it cannot be retrieved again. Deliveries carry a Swop-Signature header: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the secret>; failed deliveries retry for about 15 hours. Confirm the exact URL with the user first.
| Argument | Type | Description |
|---|---|---|
| url* | string | https URL to POST events to (http allowed for localhost only) |
| label | string | A name for this endpoint |
| events | array | Which events to send. Default: both |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2000,
"description": "https URL to POST events to (http allowed for localhost only)"
},
"label": {
"type": "string",
"maxLength": 80,
"description": "A name for this endpoint"
},
"events": {
"type": "array",
"items": {
"enum": [
"checkout.paid",
"payout.released"
],
"type": "string"
},
"minItems": 1,
"description": "Which events to send. Default: both"
}
},
"additionalProperties": false
}Remove a website from the list allowed to frame the linked account's checkout. Takes an id from swop_list_embed_origins. Afterwards that site can no longer display the checkout.
| Argument | Type | Description |
|---|---|---|
| id* | string | Origin id from swop_list_embed_origins |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Origin id from swop_list_embed_origins"
}
},
"additionalProperties": false
}Remove a link/icon/info-bar/product tile from the SmartSite. Get the item's id and contentType from swop_get_my_smartsite (icons → 'socialTop', buttons → 'socialLarge', info bars → 'infoBar', product tiles → 'marketPlace'). Confirm with the user first.
| Argument | Type | Description |
|---|---|---|
| itemId* | string | The item id from swop_get_my_smartsite |
| contentType* | string | The kind of item to remove |
| smartsiteId | string | Specific SmartSite id (default: primary) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"contentType",
"itemId"
],
"properties": {
"itemId": {
"type": "string",
"description": "The item id from swop_get_my_smartsite"
},
"contentType": {
"enum": [
"socialTop",
"socialLarge",
"infoBar",
"marketPlace"
],
"type": "string",
"description": "The kind of item to remove"
},
"smartsiteId": {
"type": "string",
"description": "Specific SmartSite id (default: primary)"
}
},
"additionalProperties": false
}Stop sending events to one of the linked account's webhook URLs. Pending deliveries to it are dropped. Confirm with the user first.
| Argument | Type | Description |
|---|---|---|
| id* | string | Webhook id from swop_list_webhooks |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook id from swop_list_webhooks"
}
},
"additionalProperties": false
}Search Swop user identities (swop.ids) by handle or display name. Returns handle, display name, avatar, and public EVM/Solana wallet addresses. Use this to find a user or resolve a name to a wallet address.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max results, default 8 |
| query* | string | Handle or name fragment, at least 2 characters (e.g. "travis") |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Max results, default 8"
},
"query": {
"type": "string",
"minLength": 2,
"description": "Handle or name fragment, at least 2 characters (e.g. \"travis\")"
}
},
"additionalProperties": false
}POST a signed 'ping' event to one of the linked account's webhooks right now and report the HTTP status the endpoint returned. Use to confirm an integration before relying on it.
| Argument | Type | Description |
|---|---|---|
| id* | string | Webhook id from swop_list_webhooks |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook id from swop_list_webhooks"
}
},
"additionalProperties": false
}Edit the linked account's SmartSite: display name, bio, and appearance (background color, a gradient of hex stops, a background image URL, theme/font color, font family, or header layout). Pass only what you want to change. For adding links/buttons/info bars use swop_add_link; for products use swop_create_product / swop_feature_product.
| Argument | Type | Description |
|---|---|---|
| bio | string | New bio text |
| name | string | New display name |
| fontColor | string | Primary font hex color |
| fontFamily | string | Font family name |
| themeColor | string | Accent/theme hex color |
| smartsiteId | string | Specific SmartSite id (default: primary) |
| headerFormat | string | Header layout style |
| backgroundImg | string | Background/wallpaper image URL |
| backgroundColor | string | Solid background hex, e.g. "#0b0b0f" |
| backgroundGradient |
Edit one of the linked account's products, or unlist it. Pass its productId (from swop_list_my_products) plus ONLY the fields to change — anything omitted keeps its current value. To unlist it, set status to 'archived'. Confirm price and name changes with the user first.
| Argument | Type | Description |
|---|---|---|
| name | string | New product name |
| image | string | New primary image URL |
| status | string | Set 'archived' to unlist |
| keywords | array | Replaces the keywords |
| priceUsd | number | New price in USD (settles in USDC) |
| variants | array | Buyer-selectable options. Replaces the existing set when given. |
| mintLimit | integer | New inventory available |
| productId* | string | The product id from swop_list_my_products |
| description | string | New description |
| string |
| Buyer's phone, for the courier |
| description | string | What this checkout is for |
| shippingAddress | object | Delivery address. Required when any item is a physical product |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId",
"quantity"
],
"properties": {
"quantity": {
"type": "integer",
"maximum": 99,
"description": "How many",
"exclusiveMinimum": 0
},
"productId": {
"type": "string",
"description": "Product id from swop_list_my_products"
},
"selectedOptions": {
"type": "object",
"description": "Chosen variants, e.g. { \"Color\": \"Black\" }",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1,
"description": "The cart. Ids only — prices come from the catalogue"
},
"buyerName": {
"type": "string",
"maxLength": 120,
"description": "Buyer's name (required for physical items)"
},
"offerCard": {
"type": "boolean",
"description": "Offer card as well as USDC. Only takes effect when the seller is card-enabled and every item is physical; otherwise the checkout is USDC-only"
},
"buyerEmail": {
"type": "string",
"format": "email",
"description": "Buyer's email, for the receipt (required for physical items)"
},
"buyerPhone": {
"type": "string",
"maxLength": 60,
"description": "Buyer's phone, for the courier"
},
"description": {
"type": "string",
"maxLength": 200,
"description": "What this checkout is for"
},
"shippingAddress": {
"type": "object",
"required": [
"line1",
"city",
"postalCode",
"country"
],
"properties": {
"city": {
"type": "string",
"maxLength": 120
},
"line1": {
"type": "string",
"maxLength": 180
},
"line2": {
"type": "string",
"maxLength": 180
},
"state": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postalCode": {
"type": "string",
"maxLength": 40
}
},
"description": "Delivery address. Required when any item is a physical product",
"additionalProperties": false
}
},
"additionalProperties": false
}| Product description (required) |
| extraImages | array | Additional image URLs, shown after the primary one |
| productType | string | physical (ships), digital (default), or in_person_checkout |
| shippingCost | number | Flat shipping cost in USD |
| requiresShipping | boolean | Physical goods: collect a shipping address |
| royaltyRecipient | string | Wallet receiving royalties |
| royaltyPercentage | number | Resale royalty percent |
| digitalDeliveryNote | string | Digital goods: what the buyer receives after purchase |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"description",
"priceUsd",
"image"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Product name"
},
"image": {
"type": "string",
"format": "uri",
"description": "Primary product image URL (required)"
},
"nftType": {
"enum": [
"phygital",
"menu",
"collectible",
"subscription",
"membership",
"coupon"
],
"type": "string",
"description": "Fine-grained type; overrides productType. phygital/menu are physical, the rest digital"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Search keywords"
},
"priceUsd": {
"type": "number",
"description": "Price in USD (settles in USDC)",
"exclusiveMinimum": 0
},
"variants": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"options"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Variant group, e.g. \"Color\" or \"Size\""
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Choices, e.g. [\"Black\",\"White\"]"
}
},
"additionalProperties": false
},
"description": "Buyer-selectable options. Replaces the existing set when given."
},
"mintLimit": {
"type": "integer",
"description": "Inventory available, default 1",
"exclusiveMinimum": 0
},
"description": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Product description (required)"
},
"extraImages": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 9,
"description": "Additional image URLs, shown after the primary one"
},
"productType": {
"enum": [
"physical",
"digital",
"in_person_checkout"
],
"type": "string",
"description": "physical (ships), digital (default), or in_person_checkout"
},
"shippingCost": {
"type": "number",
"minimum": 0,
"description": "Flat shipping cost in USD"
},
"requiresShipping": {
"type": "boolean",
"description": "Physical goods: collect a shipping address"
},
"royaltyRecipient": {
"type": "string",
"description": "Wallet receiving royalties"
},
"royaltyPercentage": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Resale royalty percent"
},
"digitalDeliveryNote": {
"type": "string",
"maxLength": 500,
"description": "Digital goods: what the buyer receives after purchase"
}
},
"additionalProperties": false
}| array |
| Gradient hex stops, e.g. ["#5b3df5","#0b0b0f"] (clears the solid color) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"bio": {
"type": "string",
"maxLength": 500,
"description": "New bio text"
},
"name": {
"type": "string",
"maxLength": 80,
"description": "New display name"
},
"fontColor": {
"type": "string",
"description": "Primary font hex color"
},
"fontFamily": {
"type": "string",
"description": "Font family name"
},
"themeColor": {
"type": "string",
"description": "Accent/theme hex color"
},
"smartsiteId": {
"type": "string",
"description": "Specific SmartSite id (default: primary)"
},
"headerFormat": {
"enum": [
"centered",
"left",
"cover",
"hero",
"orbit",
"card",
"bar"
],
"type": "string",
"description": "Header layout style"
},
"backgroundImg": {
"type": "string",
"format": "uri",
"description": "Background/wallpaper image URL"
},
"backgroundColor": {
"type": "string",
"description": "Solid background hex, e.g. \"#0b0b0f\""
},
"backgroundGradient": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 8,
"description": "Gradient hex stops, e.g. [\"#5b3df5\",\"#0b0b0f\"] (clears the solid color)"
}
},
"additionalProperties": false
}| extraImages | array | Replaces the additional images. Requires image, since the full list is rewritten |
| shippingCost | number | Flat shipping cost in USD |
| requiresShipping | boolean | Collect a shipping address |
| royaltyRecipient | string | Wallet receiving royalties |
| royaltyPercentage | number | Resale royalty percent |
| digitalDeliveryNote | string | What a buyer receives |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"productId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"description": "New product name"
},
"image": {
"type": "string",
"format": "uri",
"description": "New primary image URL"
},
"status": {
"enum": [
"active",
"archived"
],
"type": "string",
"description": "Set 'archived' to unlist"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Replaces the keywords"
},
"priceUsd": {
"type": "number",
"description": "New price in USD (settles in USDC)",
"exclusiveMinimum": 0
},
"variants": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"options"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Variant group, e.g. \"Color\" or \"Size\""
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Choices, e.g. [\"Black\",\"White\"]"
}
},
"additionalProperties": false
},
"description": "Buyer-selectable options. Replaces the existing set when given."
},
"mintLimit": {
"type": "integer",
"description": "New inventory available",
"exclusiveMinimum": 0
},
"productId": {
"type": "string",
"description": "The product id from swop_list_my_products"
},
"description": {
"type": "string",
"maxLength": 2000,
"description": "New description"
},
"extraImages": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 9,
"description": "Replaces the additional images. Requires image, since the full list is rewritten"
},
"shippingCost": {
"type": "number",
"minimum": 0,
"description": "Flat shipping cost in USD"
},
"requiresShipping": {
"type": "boolean",
"description": "Collect a shipping address"
},
"royaltyRecipient": {
"type": "string",
"description": "Wallet receiving royalties"
},
"royaltyPercentage": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Resale royalty percent"
},
"digitalDeliveryNote": {
"type": "string",
"maxLength": 500,
"description": "What a buyer receives"
}
},
"additionalProperties": false
}