Volver al catálogo

Sellfy MCP

sellfy_mcp

Manage a Sellfy store's products, orders, discounts, email campaigns and storefront through Sellfy's hosted remote MCP server.

Acciones
58
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (58)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add license keysSELLFY_MCP_ADD_LICENSE_KEYSAcción

Upload license keys into a pool-mode product's inventory. Keys the product already has are skipped, not rejected; the result counts both. Each sale then hands out one available key, and while licensing is enabled the available key count is the product stock. Keys may be uploaded before enabling licensing.

Parámetros de entrada

  • keysstring[]Obligatorio
  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Add product media linkSELLFY_MCP_ADD_PRODUCT_MEDIA_LINKAcción

Add a YouTube, Vimeo, SoundCloud or Spotify link as a preview on the product page. For an uploaded image use begin_product_image_upload.

Parámetros de entrada

  • urlstringObligatorio

    Full link to a YouTube, Vimeo, SoundCloud, Spotify or other supported embed to show on the product page.

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Begin product image uploadSELLFY_MCP_BEGIN_PRODUCT_IMAGE_UPLOADAcción

Start adding a preview/thumbnail image to a product. Returns a short-lived upload_url: PUT the image bytes to it with the given headers, then call finalize_product_image_upload with the pixel size.

Parámetros de entrada

  • file_namestringObligatorio

    Image file name, e.g. "cover.png".

  • mime_typestringObligatorio

    Image MIME type, e.g. "image/png". The PUT must send it as Content-Type.

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Begin product uploadSELLFY_MCP_BEGIN_PRODUCT_UPLOADAcción

Start attaching a downloadable file to a product. Returns a short-lived upload_url: PUT the raw file bytes to it with the exact headers given, then call finalize_product_upload with the upload_id. A product needs at least one file before it can be published. A file already uploaded to another product is reused with set_product_contents instead. Not for bundles.

Parámetros de entrada

  • file_namestringObligatorio

    File name with extension, e.g. "guide.pdf".

  • mime_typestringObligatorio

    File MIME type, e.g. "application/pdf". The PUT must send it as Content-Type.

  • product_idstringObligatorio

    The product to attach the file to.

Parámetros de salida

Sin parámetros.

Create discountSELLFY_MCP_CREATE_DISCOUNTAcción

Create a discount. Types: coupon (code-based), sale (public price cut, optionally with countdown), social (unlocked by sharing), upsell (offer shown at checkout). For coupon/sale/social use products/excluded_products/all_products to choose what it applies to. For upsell, products = what is offered and applies_to/applies_to_all = what triggers it. amount is a percentage (0-100) or a fixed amount in minor units, per amount_type. A fixed amount is in the store currency unless currency is given. A coupon is either code_type "single" (one reusable code, set code) or "bulk" (a batch of unique single-use codes generated from bulk_config: total, prefix, code_format, code_length, optional suffix). Bulk codes are generated on creation and listed with list_discount_codes; the response reports codes_available.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • idstringObligatorio
  • codeany
  • nameany
  • typeany
  • limitany
  • amountany
  • enabledboolean
  • messageany
  • currencyany
  • code_typeany
  • is_activebooleanObligatorio
  • categoriesstring[]
  • times_usedinteger
  • valid_fromany
  • amount_typeany
  • bulk_configany
  • valid_untilany
  • all_productsboolean
  • dashboard_urlstringObligatorio
  • no_expirationboolean
  • amount_appliedany
  • applies_to_allboolean
  • products_countintegerObligatorio
  • codes_availableintegerObligatorio
  • applies_to_countintegerObligatorio
  • show_countdown_timerboolean
Create email campaignSELLFY_MCP_CREATE_EMAIL_CAMPAIGNAcción

Create an email campaign DRAFT. It is never sent by this tool - the seller reviews, picks recipients and sends it from the dashboard. Returns a dashboard link for review.

Parámetros de entrada

  • bodystringObligatorio
  • typestringenum
    customproduct-update
  • schemaany
  • subjectstringObligatorio
  • scheduled_atany
  • include_downloadboolean

Parámetros de salida

  • idstringObligatorio
  • sentany
  • sizeany
  • typeany
  • opensany
  • stateany
  • clicksany
  • bouncesany
  • subjectany
  • complaintsany
  • created_atany
  • deliveriesany
  • new_systemany
  • scheduled_atany
  • dashboard_urlstringObligatorio
  • include_downloadany
  • collecting_progressany
  • size_wo_unsubscribersany
Create productSELLFY_MCP_CREATE_PRODUCTAcción

Create a product in the seller's own catalogue as an unpublished draft. Types: digital (default), physical (shipped goods), freebie (free download for an email), subscription (recurring billing, requires interval), bundle (existing digital and freebie products sold together, requires members). Digital, freebie and subscription products need a file, text, link or license keys before publishing: add a file with begin_product_upload, then publish with update_product. Price is in minor units (cents).

Parámetros de entrada

  • namestringObligatorio

    Product title.

  • priceintegerObligatorio

    Price in the currency minor units (cents). E.g. 1999 = $19.99. Minimum is the equivalent of 0.50 in the major unit; freebies use 0. For subscriptions this is the recurring charge.

  • membersany

    The products the bundle sells together, at least 2, each once. The buyer gets every member's contents; the bundle has no contents of its own. Send the complete list - it replaces the current members. Required for bundles, not accepted otherwise.

  • currencyany

    ISO 4217 code, e.g. "USD". Defaults to the store currency.

  • intervalany

    How often a subscription bills. Required for subscription products, not accepted otherwise.

  • descriptionany

    Product description, basic HTML allowed.

  • product_typestringenum

    digital delivers downloadable files, physical is shipped merchandise, freebie is a free download in exchange for the buyer's email, subscription bills the buyer on a recurring interval, bundle sells existing digital and freebie products together for one price.

    digitalphysicalfreebiesubscriptionbundle
  • compare_at_priceany

    Strikethrough price in currency minor units (cents). Must exceed price.

  • show_bundle_contentsany

    Bundles only: true (default) lists the member products on the bundle page.

Parámetros de salida

  • idstringObligatorio
  • keystringObligatorio
  • namestringObligatorio
  • priceintegerObligatorio
  • stockanyObligatorio
  • publicboolean
  • membersany
  • currencystringObligatorio
  • intervalanyObligatorio
  • is_bundleboolean
  • seo_titleany
  • thumbnailanyObligatorio
  • created_atstringObligatorio
  • updated_atstringObligatorio
  • descriptionany
  • is_physicalboolean
  • is_printfulboolean
  • product_typestringObligatorioenum
    digitalphysicalmerchfreebiesubscriptionbundle
  • dashboard_urlstringObligatorio
  • is_subscriptionboolean
  • seo_descriptionany
  • compare_at_priceany
  • show_bundle_contentsany
Create shipping profileSELLFY_MCP_CREATE_SHIPPING_PROFILEAcción

Create a reusable shipping profile: named regions (each a set of region codes like 'WORLD', 'EU', 'US') with flat rates or weight-based tiers. Cover every physical product with all_products, or specific ones with product_ids - a product belongs to one profile, so covering it here releases it from any other. Prices are in the currency minor units (cents).

Parámetros de entrada

  • namestringObligatorio

    Profile name, e.g. "Standard shipping".

  • enabledboolean
  • regionsarrayObligatorio
  • product_idsstring[]

    The physical products this profile covers. A product belongs to one profile, so listing it here releases it from any other.

  • all_productsboolean

    Apply this profile to every physical product. Mutually exclusive with product_ids.

  • processing_timestring

    Order processing time shown to buyers, e.g. "1-2 business days".

Parámetros de salida

Sin parámetros.

Create store pageSELLFY_MCP_CREATE_STORE_PAGEAcción

Add a new page to the storefront (an About, FAQ or landing page). Build its blocks with set_store_module first and pass their ids in display order. Navigation and footer are added automatically. The page is private by default; pass public=true to publish it.

Parámetros de entrada

  • slugany

    URL path of the page. Defaults to a slug of the title.

  • titlestringObligatorio

    Page title, shown in the store navigation.

  • publicany

    Whether the page is live on the storefront. Defaults to false.

  • module_idsany

    Ordered block (module) ids that make up the page. Create blocks with set_store_module first, then list their ids here.

  • version_idany

    Read a store version, or edit a draft, instead of the live store. Create a draft with create_store_version.

  • descriptionany

    Meta description for search engines.

  • search_imageany

    og:image URL for shared links.

  • search_titleany

    Search-engine page title, when it should differ from title.

  • expected_revisionany

    Revision returned by the latest live store-editor read. Required for live writes, not accepted with version_id.

Parámetros de salida

  • idstringObligatorio
  • slugany
  • typestringObligatorio
  • titleany
  • lockedany

    System page (home, product, checkout, ...): it cannot be deleted or unpublished. Its blocks can be added, reordered and edited.

  • publicany
  • modulesarrayObligatorio
  • positionany
  • revisionany
  • descriptionany
  • search_imageany
  • search_titleany
Create store versionSELLFY_MCP_CREATE_STORE_VERSIONAcción

Copy the live storefront (pages, blocks, theme) into a draft you can edit safely: pass its version_id to the other store editor tools. Returns a signed, expiring preview_url only the seller opens to see the draft on the real store. Publish with publish_store_version. Drafts expire after 30 days and a store holds at most 5 of them: when that limit is hit, call list_store_versions and ask the seller which to remove with delete_store_version; never delete a draft without asking.

Parámetros de entrada

  • namestringObligatorio

    Label the seller sees, e.g. "Spring refresh".

Parámetros de salida

  • kindstringObligatorioenum
    draftbackup
  • namestringObligatorio
  • created_atstringObligatorio
  • version_idstringObligatorio
  • preview_urlstringObligatorio
Delete license keySELLFY_MCP_DELETE_LICENSE_KEYAcción

Remove an unsold key from a pool-mode product, lowering its stock by one. Find it with list_license_keys status=available. Sold keys cannot be deleted, only revoked.

Parámetros de entrada

  • key_idstringObligatorio

    The license key id, as returned by list_license_keys.

Parámetros de salida

Sin parámetros.

Delete store versionSELLFY_MCP_DELETE_STORE_VERSIONAcción

Discard a draft and everything staged in it. The live store is not affected. Backups cannot be deleted: the two newest are kept automatically.

Parámetros de entrada

  • version_idstringObligatorio

    From create_store_version or list_store_versions.

Parámetros de salida

  • deletedbooleanObligatorio
  • version_idstringObligatorio
Expire discount codeSELLFY_MCP_EXPIRE_DISCOUNT_CODEAcción

Retire one bulk coupon code early so it can no longer be redeemed. Cannot be undone, and a code that was already redeemed by an order is left as it is.

Parámetros de entrada

  • code_idstringObligatorio

    The code id from list_discount_codes.

  • discount_idstringObligatorio

    The bulk coupon id.

Parámetros de salida

  • idstringObligatorio
  • codeany
  • statusstringObligatorio

    Merchant-facing lifecycle state, derived on the model (`expired` beats `redeemed`, everything else is `active`).

Finalize product image uploadSELLFY_MCP_FINALIZE_PRODUCT_IMAGE_UPLOADAcción

Confirm an image upload once the bytes are in place: attaches it to the product as media. The product's first image is its thumbnail.

Parámetros de entrada

  • widthintegerObligatorio

    Image width in pixels.

  • heightintegerObligatorio

    Image height in pixels.

  • upload_idstringObligatorio

    The upload_id returned by begin_product_image_upload.

Parámetros de salida

Sin parámetros.

Finalize product uploadSELLFY_MCP_FINALIZE_PRODUCT_UPLOADAcción

Confirm an upload once the bytes are in place: verifies the file arrived and attaches it to the product. Safe to call again if you are unsure whether it succeeded.

Parámetros de entrada

  • upload_idstringObligatorio

    The upload_id returned by begin_product_upload.

Parámetros de salida

Sin parámetros.

Get orderSELLFY_MCP_GET_ORDERAcción

Get one order by its transaction id, including the purchased line items. Amounts are in the order currency minor units (cents).

Parámetros de entrada

  • txn_idstringObligatorio

    The order transaction id, as returned by list_orders.

Parámetros de salida

  • itemsarrayObligatorio
  • txn_idany
  • currencyany
  • payer_emailany
  • total_centsany
  • payment_dateany
  • payment_statusany
Get productSELLFY_MCP_GET_PRODUCTAcción

Get one product record from the seller's own catalogue for administration: publish state, prices, SEO fields, stock and the seller's dashboard_url. Not for shopping or purchasing: no storefront or checkout link is returned.

Parámetros de entrada

  • product_idstringObligatorio

    The product id.

Parámetros de salida

  • idstringObligatorio
  • keystringObligatorio
  • namestringObligatorio
  • priceintegerObligatorio
  • stockanyObligatorio
  • publicboolean
  • membersany
  • currencystringObligatorio
  • intervalanyObligatorio
  • is_bundleboolean
  • seo_titleany
  • thumbnailanyObligatorio
  • created_atstringObligatorio
  • updated_atstringObligatorio
  • descriptionany
  • is_physicalboolean
  • is_printfulboolean
  • product_typestringObligatorioenum
    digitalphysicalmerchfreebiesubscriptionbundle
  • dashboard_urlstringObligatorio
  • is_subscriptionboolean
  • seo_descriptionany
  • compare_at_priceany
  • show_bundle_contentsany
Get product contentsSELLFY_MCP_GET_PRODUCT_CONTENTSAcción

Get the product delivery tree: the folders, files, text notes and links the buyer receives. Read this before editing it with set_product_contents.

Parámetros de entrada

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Get product licensingSELLFY_MCP_GET_PRODUCT_LICENSINGAcción

Read whether a product issues license keys with each sale: enabled state, key mode ('generated' or 'pool') and key counts by status. Read this before set_product_licensing.

Parámetros de entrada

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Get product shippingSELLFY_MCP_GET_PRODUCT_SHIPPINGAcción

Read a physical product's shipping: whether it uses inline per-region rates or an assigned shipping profile, plus local pickup and excluded regions. Read this before set_product_shipping.

Parámetros de entrada

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Get sales histogramSELLFY_MCP_GET_SALES_HISTOGRAMAcción

Views, purchases and revenue (minor units) over time, bucketed by day/week/month/quarter/year. Defaults to the last 30 days.

Parámetros de entrada

  • date_toany

    YYYY-MM-DD. Defaults to today.

  • currencyany

    ISO 4217 code. Defaults to the store currency.

  • intervalstringenum
    dayweekmonthquarteryear
  • date_fromany

    YYYY-MM-DD. Defaults to 30 days ago.

  • time_zonestring

    UTC offset like '+02:00' or an IANA name like 'Europe/Riga'.

  • product_idany

    Limit revenue/purchases to one product. Views are not available per-product.

Parámetros de salida

Sin parámetros.

Get sales summarySELLFY_MCP_GET_SALES_SUMMARYAcción

Total store views, purchases and revenue (minor units) for a date range. Defaults to the last 30 days.

Parámetros de entrada

  • date_toany

    YYYY-MM-DD. Defaults to today.

  • currencyany

    ISO 4217 code. Defaults to the store currency.

  • date_fromany

    YYYY-MM-DD. Defaults to 30 days ago.

  • time_zonestring

    UTC offset like '+02:00' or an IANA name like 'Europe/Riga'.

Parámetros de salida

Sin parámetros.

Get shipping profileSELLFY_MCP_GET_SHIPPING_PROFILEAcción

Get one shipping profile in full: its regions, each with location codes and rates (flat, or weight-based tiers), and the products it covers. Read this before update_shipping_profile.

Parámetros de entrada

  • profile_idstringObligatorio

    The shipping profile id.

Parámetros de salida

Sin parámetros.

Get store infoSELLFY_MCP_GET_STORE_INFOAcción

Get the seller's own store overview for administration: store name, store_url (the storefront address the seller owns), currency, connected payment processors and product count. Call this first to learn the store currency before creating products or reading analytics. Not for shopping or purchasing.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Get store pageSELLFY_MCP_GET_STORE_PAGEAcción

Get one storefront page in full: its SEO fields and every block (module) with its complete settings (props). Read this before editing blocks or reordering them with update_store_page.

Parámetros de entrada

  • page_idstringObligatorio

    The page id, from list_store_pages.

  • version_idany

    Read a store version, or edit a draft, instead of the live store. Create a draft with create_store_version.

Parámetros de salida

  • idstringObligatorio
  • slugany
  • typestringObligatorio
  • titleany
  • lockedany

    System page (home, product, checkout, ...): it cannot be deleted or unpublished. Its blocks can be added, reordered and edited.

  • publicany
  • modulesarrayObligatorio
  • positionany
  • revisionany
  • descriptionany
  • search_imageany
  • search_titleany
Get store settingsSELLFY_MCP_GET_STORE_SETTINGSAcción

Get the storefront theme settings: fonts, colors, button and background styles, store name, discount badge, breadcrumbs and the custom head/footer code, plus the allowed values per key (constraints). Read this before update_store_settings.

Parámetros de entrada

  • version_idany

    Read a store version, or edit a draft, instead of the live store. Create a draft with create_store_version.

Parámetros de salida

  • propsobjectObligatorio
  • revisionany
  • constraintsany
Get top statsSELLFY_MCP_GET_TOP_STATSAcción

Top products, traffic sources or buyer countries by purchases and revenue (minor units) for a date range.

Parámetros de entrada

  • countinteger
  • date_toany

    YYYY-MM-DD. Defaults to today.

  • currencyany

    ISO 4217 code. Defaults to the store currency.

  • date_fromany

    YYYY-MM-DD. Defaults to 30 days ago.

  • dimensionstringObligatorioenum

    products = best sellers, sources = traffic sources, countries = buyer countries.

    productssourcescountries
  • time_zonestring

    UTC offset like '+02:00' or an IANA name like 'Europe/Riga'.

  • product_idany

Parámetros de salida

Sin parámetros.

List customersSELLFY_MCP_LIST_CUSTOMERSAcción

List store customers (email recipients), newest first.

Parámetros de entrada

  • pageinteger
  • emailany

    Exact email match.

  • per_pageinteger

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List discount codesSELLFY_MCP_LIST_DISCOUNT_CODESAcción

List the generated codes of a bulk coupon with their status: active (can still be redeemed), redeemed (used by an order) or expired (retired by the seller). Single-code coupons have no entries here; their code is on the discount itself.

Parámetros de entrada

  • pageinteger
  • searchany

    Only codes containing this text (case-insensitive).

  • per_pageinteger
  • discount_idstringObligatorio

    The bulk coupon id from list_discounts.

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List discountsSELLFY_MCP_LIST_DISCOUNTSAcción

List the store discounts and upsells with their active state. For bulk coupons codes_available is the number of codes not yet redeemed or expired.

Parámetros de entrada

  • pageinteger
  • typeany

    Filter by discount type.

  • per_pageinteger

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List email campaignsSELLFY_MCP_LIST_EMAIL_CAMPAIGNSAcción

List the seller's email campaigns (drafts, scheduled and sent), newest first, each with its subject, state and a dashboard link. Read this to find a campaign before updating it.

Parámetros de entrada

  • pageinteger
  • per_pageinteger

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List license keysSELLFY_MCP_LIST_LICENSE_KEYSAcción

List issued license keys (assigned, revoked or expired), newest first, with the buyer email and order transaction id. Filter by product, key substring or status - status 'available' switches the listing to unsold pool inventory instead.

Parámetros de entrada

  • pageinteger
  • searchany

    Filter by key substring.

  • statusany

    Filter by status. 'available' switches the listing to unsold pool inventory, which is left out otherwise.

  • per_pageinteger
  • product_idany

    Only keys of this product.

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List ordersSELLFY_MCP_LIST_ORDERSAcción

Search the store orders. Note: results come from the search index and can lag a few seconds behind very recent orders.

Parámetros de entrada

  • pageinteger
  • emailany

    Filter by buyer email (substring match).

  • date_toany

    YYYY-MM-DD

  • sort_bystringenum

    Prefix with - for descending.

    payment_date-payment_dateamount_usd-amount_usd
  • per_pageinteger
  • date_fromany

    YYYY-MM-DD

  • product_idany

    Only orders containing this product.

  • payment_statusanyenum

    COMPLETED also includes free downloads and held funds. DOWNLOAD = free download.

    COMPLETEDDOWNLOADCOMPLETED_FUNDS_HELDPARTIALLY_REFUNDEDREFUNDEDREVERSEDCANCELED_REVERSALDENIEDFAILEDPENDING
  • shipping_statusany

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List product mediaSELLFY_MCP_LIST_PRODUCT_MEDIAAcción

List the images and embedded videos/audio shown on a product page, and which one is the thumbnail.

Parámetros de entrada

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

List productsSELLFY_MCP_LIST_PRODUCTSAcción

Retrieve product records from the authenticated seller's own store for catalogue administration, newest first: name, price (minor units, cents), type and the seller's dashboard_url. Not for product discovery, shopping or purchasing: no storefront or checkout links are returned.

Parámetros de entrada

  • pageinteger
  • searchany

    Filter by product name (substring match).

  • per_pageinteger

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List product variantsSELLFY_MCP_LIST_PRODUCT_VARIANTSAcción

List the variants the seller has configured on a product (the options it is sold in), each with its price, stock and whether it is the default. Read this before editing with set_product_variants.

Parámetros de entrada

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

List reviewsSELLFY_MCP_LIST_REVIEWSAcción

List product reviews left by buyers. Filter by product, rating, date range, buyer email or status (unpublished/published).

Parámetros de entrada

  • pageinteger
  • emailstring
  • ratinginteger
  • statusany
  • date_tostringdate-time
  • per_pageinteger
  • date_fromstringdate-time
  • product_idstring

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List shipping profilesSELLFY_MCP_LIST_SHIPPING_PROFILESAcción

List the seller's reusable shipping profiles: id, name, enabled state and how many products each covers. Get one in full with get_shipping_profile; only enabled profiles can be assigned with set_product_shipping.

Parámetros de entrada

  • pageinteger
  • per_pageinteger

Parámetros de salida

  • pageintegerObligatorio
  • itemsarrayObligatorio
  • totalintegerObligatorio
List store module typesSELLFY_MCP_LIST_STORE_MODULE_TYPESAcción

List every block (module) type MCP may safely create or edit - hero, text, products, spacing and more - with the full default settings (props) each type accepts, plus the allowed values per prop (constraints). Read this before set_store_module. For a store-wide banner or promo strip above the navigation (sale notice, free shipping, discount code) use the built-in announcement_bar type, not custom HTML in an embedcode block or headCode/footerCode.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • module_typesarrayObligatorio
List store pagesSELLFY_MCP_LIST_STORE_PAGESAcción

List the storefront pages in navigation order: id, title, slug, public state and the blocks (modules) each page is built from. The entry point for store design work.

Parámetros de entrada

  • version_idany

    Read a store version, or edit a draft, instead of the live store. Create a draft with create_store_version.

Parámetros de salida

  • pagesarrayObligatorio
  • revisionany
List store versionsSELLFY_MCP_LIST_STORE_VERSIONSAcción

List store versions, newest first, with their seller-only preview_url. kind="draft" is an editable draft; kind="backup" is a read-only copy of the live store taken automatically just before a publish or restore replaced it (the two newest are kept) - restore_store_version brings one back. Edits made in the Sellfy dashboard are not versioned.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • versionsarrayObligatorio
Publish store versionSELLFY_MCP_PUBLISH_STORE_VERSIONAcción

Replace the live storefront with a draft: its pages, blocks and theme go live, live pages and blocks the draft does not contain are removed, and blocks no page places are dropped too, so put every block on a page with update_store_page first. Refused if the live store changed after the draft was created (create a new draft then). The live store is backed up first; the draft is removed once published.

Parámetros de entrada

  • version_idstringObligatorio

    From create_store_version or list_store_versions.

Parámetros de salida

  • backupanyObligatorio
  • revisionintegerObligatorio
Reactivate license keySELLFY_MCP_REACTIVATE_LICENSE_KEYAcción

Undo a revoke: the buyer can activate the key again. Expired keys stay expired; reactivating a key that is not revoked just returns its state.

Parámetros de entrada

  • key_idstringObligatorio

    The license key id, as returned by list_license_keys.

Parámetros de salida

  • idstringObligatorio
  • keystringObligatorio
  • statusstringObligatorio
  • txn_idanyObligatorio
  • created_atstringObligatorio
  • product_idstringObligatorio
  • product_nameanyObligatorio
  • customer_emailanyObligatorio
Restore store versionSELLFY_MCP_RESTORE_STORE_VERSIONAcción

Replace the live storefront with a backup from list_store_versions, e.g. to undo a publish. Only on the seller's request. Requires the live expected_revision from a store-editor read; the live store is backed up first.

Parámetros de entrada

  • version_idstringObligatorio

    From create_store_version or list_store_versions.

  • expected_revisionintegerObligatorio

    Revision returned by the latest live store-editor read.

Parámetros de salida

  • backupanyObligatorio
  • revisionintegerObligatorio
Revoke license keySELLFY_MCP_REVOKE_LICENSE_KEYAcción

Revoke a sold license key so it can no longer be activated, e.g. after a refund. Idempotent: revoking an already-revoked key just returns its state. Undo with reactivate_license_key.

Parámetros de entrada

  • key_idstringObligatorio

    The license key id, as returned by list_license_keys.

Parámetros de salida

  • idstringObligatorio
  • keystringObligatorio
  • statusstringObligatorio
  • txn_idanyObligatorio
  • created_atstringObligatorio
  • product_idstringObligatorio
  • product_nameanyObligatorio
  • customer_emailanyObligatorio
Send test emailSELLFY_MCP_SEND_TEST_EMAILAcción

Send a test version of a campaign email to the seller's own email address so they can preview it.

Parámetros de entrada

  • bodystringObligatorio
  • subjectstringObligatorio
  • include_downloadboolean

Parámetros de salida

Sin parámetros.

Set product contentsSELLFY_MCP_SET_PRODUCT_CONTENTSAcción

Replace the product delivery tree: add, rename, reorder, nest or remove folders, text notes and links, and move files between folders. Send the whole tree - anything omitted is removed. Files must already exist; add new ones with begin_product_upload. To reuse a file the seller already uploaded, copy that file item from another product's get_product_contents: keep its "file" id, give the item a new UUID as "id". Bundles have no contents of their own.

Parámetros de entrada

  • contentsanyObligatorio

    The complete contents tree, in the shape get_product_contents returns. Read it first and send it back whole: this replaces the tree, so anything you omit is removed. Keep each item "id" as-is when you are editing it - product variants reference those ids.

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Set product licensingSELLFY_MCP_SET_PRODUCT_LICENSINGAcción

Enable or disable license keys for a product and pick how keys are made: 'generated' creates a unique key per sale, 'pool' hands out keys uploaded with add_license_keys. The buyer receives the key with the order; in pool mode the available key count is the product stock. Switching from pool to generated deletes the unsold uploaded keys.

Parámetros de entrada

  • modeany

    'generated' creates a unique key per sale automatically; 'pool' hands out keys uploaded with add_license_keys. Omit to keep the current mode.

  • enabledbooleanObligatorio

    true issues a license key with every sale of this product, false stops issuing them. Keys already sold keep working.

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Set product mediaSELLFY_MCP_SET_PRODUCT_MEDIAAcción

Replace a product's images and embeds in one call: reorder them, remove any you leave out, or add new ones from an upload or add_product_media_link. The first image becomes the thumbnail. Read list_product_media first, then send the whole list back in the order you want.

Parámetros de entrada

  • media_idsstring[]Obligatorio

    The complete ordered list of media ids the product should show, from list_product_media. This replaces the set: reorder them, drop any you omit, or include a new id from an upload or add_product_media_link. First is shown first in the store, and the first image is the store-grid thumbnail.

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Set product shippingSELLFY_MCP_SET_PRODUCT_SHIPPINGAcción

Set a physical product's shipping in one call: flat per-region rates (mode 'inline'), an existing shipping profile (mode 'profile'), or none. Also toggles local pickup and excluded regions. A product uses inline rates OR a profile, never both. Not available for Printful products.

Parámetros de entrada

  • modestringObligatorioenum

    'inline' sets flat per-region rates on the product; 'profile' assigns one of the seller's shipping profiles (see list_shipping_profiles); 'none' clears shipping. A product uses inline rates OR a profile, never both.

    inlineprofilenone
  • optionsany

    Required for mode 'inline': the full per-region rate list. Replaces the existing rates.

  • product_idstringObligatorio

    The product id.

  • profile_idany

    Required for mode 'profile': the shipping profile id to assign.

  • local_pickupany

    Enable or disable local pickup for this product. Omit to leave it unchanged.

  • excluded_regionsany

    Region codes this product will not ship to. Omit to leave them unchanged.

Parámetros de salida

Sin parámetros.

Set product variantsSELLFY_MCP_SET_PRODUCT_VARIANTSAcción

Replace a product's variants in one call: rename or reprice them, change stock, add new ones, drop any you leave out, set the default, and pick which content files each delivers. Read list_product_variants first, then send the whole list back - without the stock fields unless you are changing stock. Digital and physical products only; Printful variants come from the Printful editor.

Parámetros de entrada

  • variantsarrayObligatorio

    The complete variant list, from list_product_variants. This replaces the set: edit any, add new ones (omit the id), or drop any you leave out. Keep each existing id, and omit the stock fields unless you mean to change stock, so what the seller has is preserved.

  • product_idstringObligatorio

    The product id.

Parámetros de salida

Sin parámetros.

Set store moduleSELLFY_MCP_SET_STORE_MODULEAcción

Create or update one storefront block (module). Omit module_id to create (then add its id to a page with update_store_page); pass it to edit. Send only the props to change: they are merged over the current props. Prop values outside the constraints from list_store_module_types are rejected; text content is cleaned of scripts, and links must be relative or http(s), mailto or tel. The announcement_bar block is store-wide: never add it to a page, set enabled=true and text to show it above the navigation on every page, and list page ids in hiddenPages to hide it from some.

Parámetros de entrada

  • nameany

    Label the seller sees in the editor. Defaults to the type name.

  • propsobject

    Only the block settings to change; they are merged over the block's current props (nested objects too, lists are replaced whole). A new block starts from the defaults in list_store_module_types.

  • module_idany

    The block to update. Omit to create a new block (or to edit a unique block like navigation or footer, which is matched by its type).

  • version_idany

    Read a store version, or edit a draft, instead of the live store. Create a draft with create_store_version.

  • module_typestringObligatorioenum

    The block type. See list_store_module_types for every type and its editable props.

    announcement_barcontactformembedcodefooterherohero_201hero_202navigationproductssocial_linksspacingsubscription+1
  • expected_revisionany

    Revision returned by the latest live store-editor read. Required for live writes, not accepted with version_id.

Parámetros de salida

  • idstringObligatorio
  • nameany
  • propsobjectObligatorio
  • lockedany
  • initialany
  • revisionany
  • removableany
  • module_typestringObligatorio
Update discountSELLFY_MCP_UPDATE_DISCOUNTAcción

Update a discount: rename, change amount, enable/disable, adjust validity or usage limit. Omitted or null fields keep their value; send "" to clear the message. The discount type cannot be changed, and a bulk coupon keeps its generated codes: code has no effect on it, use expire_discount_code to retire individual codes.

Parámetros de entrada

  • codeany
  • nameany
  • limitany

    Maximum number of uses. 0 = unlimited.

  • amountany

    Percentage (0-100) or fixed amount in minor units (cents), depending on the discount amount_type.

  • enabledany

    false deactivates the discount, true re-enables it.

  • messageany
  • valid_fromany
  • discount_idstringObligatorio

    The discount id.

  • valid_untilany
  • no_expirationany

Parámetros de salida

  • idstringObligatorio
  • codeany
  • nameany
  • typeany
  • limitany
  • amountany
  • enabledboolean
  • messageany
  • currencyany
  • code_typeany
  • is_activebooleanObligatorio
  • categoriesstring[]
  • times_usedinteger
  • valid_fromany
  • amount_typeany
  • bulk_configany
  • valid_untilany
  • all_productsboolean
  • dashboard_urlstringObligatorio
  • no_expirationboolean
  • amount_appliedany
  • applies_to_allboolean
  • products_countintegerObligatorio
  • codes_availableintegerObligatorio
  • applies_to_countintegerObligatorio
  • show_countdown_timerboolean
Update email campaignSELLFY_MCP_UPDATE_EMAIL_CAMPAIGNAcción

Update a DRAFT campaign: subject, body, recipients or scheduled time. Omitted or null fields keep their value. Once the seller has scheduled or sent a campaign it can no longer be edited here; the seller manages it from the dashboard.

Parámetros de entrada

  • bodyany
  • schemaany

    Recipient filter. Send {} to target every subscriber.

  • subjectany
  • campaign_idstringObligatorio

    The campaign id.

  • scheduled_atany

    When to send. null unschedules the campaign.

  • include_downloadany

Parámetros de salida

  • idstringObligatorio
  • sentany
  • sizeany
  • typeany
  • opensany
  • stateany
  • clicksany
  • bouncesany
  • subjectany
  • complaintsany
  • created_atany
  • deliveriesany
  • new_systemany
  • scheduled_atany
  • dashboard_urlstringObligatorio
  • include_downloadany
  • collecting_progressany
  • size_wo_unsubscribersany
Update productSELLFY_MCP_UPDATE_PRODUCTAcción

Update a product in the seller's own catalogue: name, description, price (minor units), SEO fields, product-wide stock, bundle members or publish state. Publishing a digital, freebie or subscription product requires a file, text or link in its contents, or license keys. Unpublishing hides the product from the store catalogue but leaves its URL reachable and buyable.

Parámetros de entrada

  • nameany
  • priceany

    Price in the currency minor units (cents).

  • stockany

    The product stock. With custom variants it caps the units sold across all of them, on top of each variant's own stock; without, it is the product's only stock. For a bundle it caps the bundles sold; each member's own stock limits it too. Not editable while pool licensing is enabled: there the available key count is the stock.

  • publicany

    true publishes the product on the storefront, false unpublishes it. Publishing a non-physical product requires something to deliver: a file, text or link in its contents, license keys, or bundle members. Unpublishing only removes the product from the store catalogue: its URL stays reachable and buyable, so it hides a product, it does not restrict access to it.

  • membersany

    Bundles only. The products the bundle sells together, at least 2, each once. The buyer gets every member's contents; the bundle has no contents of its own. Send the complete list - it replaces the current members.

  • seo_titleany

    Search-engine page title; also the og:title for shared links. Empty string clears it back to the product name.

  • product_idstringObligatorio

    The product id.

  • descriptionany

    Product description, basic HTML allowed.

  • seo_descriptionany

    Meta description and og:description for the product page. Empty string clears it.

  • compare_at_priceany

    Strikethrough price in currency minor units (cents). Must exceed price unless pay-what-you-want is enabled. Omit to preserve; null clears it.

  • show_bundle_contentsany

    Bundles only: true lists the member products on the bundle page.

Parámetros de salida

  • idstringObligatorio
  • keystringObligatorio
  • namestringObligatorio
  • priceintegerObligatorio
  • stockanyObligatorio
  • publicboolean
  • membersany
  • currencystringObligatorio
  • intervalanyObligatorio
  • is_bundleboolean
  • seo_titleany
  • thumbnailanyObligatorio
  • created_atstringObligatorio
  • updated_atstringObligatorio
  • descriptionany
  • is_physicalboolean
  • is_printfulboolean
  • product_typestringObligatorioenum
    digitalphysicalmerchfreebiesubscriptionbundle
  • dashboard_urlstringObligatorio
  • is_subscriptionboolean
  • seo_descriptionany
  • compare_at_priceany
  • show_bundle_contentsany
Update shipping profileSELLFY_MCP_UPDATE_SHIPPING_PROFILEAcción

Update a shipping profile. Send only the fields to change; regions and product_ids are replaced whole when sent, so read get_shipping_profile first and send the full list back with your edits.

Parámetros de entrada

  • nameany
  • enabledany
  • regionsany

    Replaces the whole region list: read the profile first and send every region back.

  • profile_idstringObligatorio

    The shipping profile id.

  • product_idsany

    Replaces the covered product list. An empty list detaches every product.

  • all_productsany
  • processing_timeany

Parámetros de salida

Sin parámetros.

Update store pageSELLFY_MCP_UPDATE_STORE_PAGEAcción

Update a storefront page: title, slug, SEO fields, publish state, its position in the navigation, or the ordered block list. module_ids replaces the whole list, so read get_store_page first; other fields keep their value when omitted.

Parámetros de entrada

  • slugany
  • titleany
  • publicany
  • page_idstringObligatorio

    The page id, from list_store_pages.

  • positionany

    Move the page to this position in the store navigation (0 = first).

  • module_idsany

    Replaces the whole ordered block list: read get_store_page first and send every block id back, in display order.

  • version_idany

    Read a store version, or edit a draft, instead of the live store. Create a draft with create_store_version.

  • descriptionany
  • search_imageany
  • search_titleany
  • expected_revisionany

    Revision returned by the latest live store-editor read. Required for live writes, not accepted with version_id.

Parámetros de salida

  • idstringObligatorio
  • slugany
  • typestringObligatorio
  • titleany
  • lockedany

    System page (home, product, checkout, ...): it cannot be deleted or unpublished. Its blocks can be added, reordered and edited.

  • publicany
  • modulesarrayObligatorio
  • positionany
  • revisionany
  • descriptionany
  • search_imageany
  • search_titleany
Update store settingsSELLFY_MCP_UPDATE_STORE_SETTINGSAcción

Update the storefront theme: send only the settings keys to change and they are merged over the current values. Includes headCode and footerCode custom-code fields on plans that allow custom code. Values outside the constraints from get_store_settings are rejected.

Parámetros de entrada

  • propsobjectObligatorio

    Only the settings keys to change; they are merged over the current settings (get_store_settings shows every key). Covers the store theme: fonts, colors, button and background styles, store name, and the headCode/footerCode custom-code fields (custom code requires a plan that allows it).

  • version_idany

    Read a store version, or edit a draft, instead of the live store. Create a draft with create_store_version.

  • expected_revisionany

    Revision returned by the latest live store-editor read. Required for live writes, not accepted with version_id.

Parámetros de salida

  • propsobjectObligatorio
  • revisionany
  • constraintsany