VEYNDO
Handbook
docs/reference/studio.mdView source ↗

English source · 31 min

Studio API reference

Merchant overview, reports, private staging shops and history. Contract version 1.0.0, generated from contracts/http/studio.openapi.json. 26 HTTP operations, 16 MCP tools. All components · Build your first app.

Set up a client

Every example below uses these three values. VEYNDO_TOKEN is needed only for merchant operations; keep it on your server.

export VEYNDO_URL=https://api.veyndo.ai
export VEYNDO_SHOP=<your-shop-id>
export VEYNDO_TOKEN=<personal-session-or-integration-key>

curl

curl -fsS "$VEYNDO_URL/health"

TypeScript

import { Auth, VeyndoClient } from "@veyndo/commerce-client";

const client = new VeyndoClient({
  baseUrl: process.env.VEYNDO_URL!,
  tenant: process.env.VEYNDO_SHOP,
  auth: process.env.VEYNDO_TOKEN ? Auth.personalSession(process.env.VEYNDO_TOKEN) : undefined,
});

Python

import os
from veyndo_sdk import Auth, VeyndoClient

token = os.environ.get("VEYNDO_TOKEN")
client = VeyndoClient(os.environ["VEYNDO_URL"], tenant=os.environ["VEYNDO_SHOP"],
                      auth=Auth.personal_session(token) if token else None)

Rust

use serde_json::json;
use veyndo_sdk::{Auth, Client, ClientOptions, RequestOptions};

let client = Client::new(ClientOptions {
    base_url: std::env::var("VEYNDO_URL")?,
    tenant: std::env::var("VEYNDO_SHOP").ok(),
    auth: std::env::var("VEYNDO_TOKEN").ok().map(Auth::PersonalSession),
    ..ClientOptions::default()
});

The studio API object, method names and argument order are those of the generated SDKs.

Operations

Operation Permission In the docs
GET /api/environments environments.read request
POST /api/environments environments.manage request
GET /api/environments/{id}/diff environments.read request
POST /api/environments/{id}/release environments.manage request
GET /api/history/{entity}/{id} read request
GET /api/history/{entity}/{id}/{version} read request
POST /api/history/{entity}/{id}/{version}/restore read request
POST /api/merchant/grid/plan assistant.use request
POST /api/merchant/imports apps.manage request
POST /api/merchant/imports/inspect apps.manage request
GET /api/merchant/overview read request
POST /api/merchant/reports read request
POST /api/merchant/site/apply channels.manage request
POST /api/merchant/site/commands channels.manage request
GET /api/merchant/site/context channels.read request
POST /api/merchant/site/edit channels.manage request
POST /api/merchant/site/plan channels.manage request
POST /api/merchant/site/propose channels.manage request
POST /api/merchant/site/task channels.manage request
GET /api/runtime settings.read request
POST /api/runtime/outbox/{id}/retry settings.write request
POST /api/search/order orders.read request
POST /api/search/product catalog.read request
GET /api/studio/work read request
GET /api/studio/workspace read request
PUT /api/studio/workspace read request
MCP merchant.grid.plan assistant.use, catalog.read request
MCP merchant.history automation.read request
MCP merchant.history.restore automation.read, automation.manage request
MCP merchant.history.version automation.read request
MCP merchant.import.inspect apps.manage request
MCP merchant.import.record apps.manage request
MCP merchant.reports.read overview.read request
MCP merchant.site.apply assistant.use, channels.read, channels.manage request
MCP merchant.site.commands assistant.use, channels.read, channels.manage request
MCP merchant.site.edit assistant.use, channels.read, channels.manage request
MCP merchant.site.plan assistant.use, channels.read, channels.manage request
MCP merchant.site.propose assistant.use, channels.read, channels.manage request
MCP merchant.site.task assistant.use, channels.read, channels.manage request
MCP studio.workspace.read merchant request
MCP studio.workspace.save merchant request
MCP studio.workspace.work.read merchant request

Merchant HTTP

Each route checks the named permission against your current membership.

GET /api/environments

Permission: environments.read, personal session or integration key. Source: src/staging/mod.rs. SDK method: getEnvironments.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/environments" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getEnvironments();

Python

result = client.studio.get_environments()

Rust

let result = client.studio().get_environments(RequestOptions::default()).await?;

POST /api/environments

Permission: environments.manage, personal session or integration key. Source: src/staging/mod.rs. SDK method: postEnvironments.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/environments" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postEnvironments({ body: {} });

Python

result = client.studio.post_environments(body={})

Rust

let result = client.studio().post_environments(RequestOptions::json(json!({}))).await?;

GET /api/environments/{id}/diff

Permission: environments.read, personal session or integration key. Source: src/staging/mod.rs. SDK method: getEnvironmentsByIdDiff.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/environments/<id>/diff" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getEnvironmentsByIdDiff({ "id": "<id>" });

Python

result = client.studio.get_environments_by_id_diff("<id>")

Rust

let result = client.studio().get_environments_by_id_diff("<id>", RequestOptions::default()).await?;

POST /api/environments/{id}/release

Permission: environments.manage, personal session or integration key. Source: src/staging/mod.rs. SDK method: postEnvironmentsByIdRelease.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/environments/<id>/release" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postEnvironmentsByIdRelease({ "id": "<id>" }, { body: {} });

Python

result = client.studio.post_environments_by_id_release("<id>", body={})

Rust

let result = client.studio().post_environments_by_id_release("<id>", RequestOptions::json(json!({}))).await?;

GET /api/history/{entity}/{id}

Permission: read, personal session or integration key. Source: src/history/mod.rs. SDK method: getHistoryByEntityById.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/history/<entity>/<id>" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getHistoryByEntityById({ "entity": "<entity>", "id": "<id>" });

Python

result = client.studio.get_history_by_entity_by_id("<entity>", "<id>")

Rust

let result = client.studio().get_history_by_entity_by_id("<entity>", "<id>", RequestOptions::default()).await?;

GET /api/history/{entity}/{id}/{version}

Permission: read, personal session or integration key. Source: src/history/mod.rs. SDK method: getHistoryByEntityByIdByVersion.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/history/<entity>/<id>/<version>" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getHistoryByEntityByIdByVersion({ "entity": "<entity>", "id": "<id>", "version": "<version>" });

Python

result = client.studio.get_history_by_entity_by_id_by_version("<entity>", "<id>", "<version>")

Rust

let result = client.studio().get_history_by_entity_by_id_by_version("<entity>", "<id>", "<version>", RequestOptions::default()).await?;

POST /api/history/{entity}/{id}/{version}/restore

Permission: read, personal session or integration key. Source: src/history/mod.rs. SDK method: postHistoryByEntityByIdByVersionRestore.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/history/<entity>/<id>/<version>/restore" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postHistoryByEntityByIdByVersionRestore({ "entity": "<entity>", "id": "<id>", "version": "<version>" }, { body: {} });

Python

result = client.studio.post_history_by_entity_by_id_by_version_restore("<entity>", "<id>", "<version>", body={})

Rust

let result = client.studio().post_history_by_entity_by_id_by_version_restore("<entity>", "<id>", "<version>", RequestOptions::json(json!({}))).await?;

POST /api/merchant/grid/plan

Permission: assistant.use, personal session or integration key. Source: src/operations/routes.rs. SDK method: postMerchantGridPlan.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/grid/plan" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantGridPlan({ body: {} });

Python

result = client.studio.post_merchant_grid_plan(body={})

Rust

let result = client.studio().post_merchant_grid_plan(RequestOptions::json(json!({}))).await?;

POST /api/merchant/imports

Permission: apps.manage, personal session or integration key. Source: src/operations/routes.rs. SDK method: postMerchantImports.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/imports" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantImports({ body: {} });

Python

result = client.studio.post_merchant_imports(body={})

Rust

let result = client.studio().post_merchant_imports(RequestOptions::json(json!({}))).await?;

POST /api/merchant/imports/inspect

Permission: apps.manage, personal session or integration key. Source: src/operations/routes.rs. SDK method: postMerchantImportsInspect.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/imports/inspect" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantImportsInspect({ body: {} });

Python

result = client.studio.post_merchant_imports_inspect(body={})

Rust

let result = client.studio().post_merchant_imports_inspect(RequestOptions::json(json!({}))).await?;

GET /api/merchant/overview

Permission: read, personal session or integration key. Source: src/routes.rs. SDK method: getMerchantOverview.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/merchant/overview" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getMerchantOverview();

Python

result = client.studio.get_merchant_overview()

Rust

let result = client.studio().get_merchant_overview(RequestOptions::default()).await?;

POST /api/merchant/reports

Permission: read, personal session or integration key. Source: src/studio/reports.rs. SDK method: postMerchantReports.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/reports" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantReports({ body: {} });

Python

result = client.studio.post_merchant_reports(body={})

Rust

let result = client.studio().post_merchant_reports(RequestOptions::json(json!({}))).await?;

POST /api/merchant/site/apply

Permission: channels.manage, personal session or integration key. Source: extensions/apps/site-builder/design_agent.rs. SDK method: postMerchantSiteApply.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/site/apply" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantSiteApply({ body: {} });

Python

result = client.studio.post_merchant_site_apply(body={})

Rust

let result = client.studio().post_merchant_site_apply(RequestOptions::json(json!({}))).await?;

POST /api/merchant/site/commands

Permission: channels.manage, personal session or integration key. Source: extensions/apps/site-builder/design_agent.rs. SDK method: postMerchantSiteCommands.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/site/commands" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantSiteCommands({ body: {} });

Python

result = client.studio.post_merchant_site_commands(body={})

Rust

let result = client.studio().post_merchant_site_commands(RequestOptions::json(json!({}))).await?;

GET /api/merchant/site/context

Permission: channels.read, personal session or integration key. Source: extensions/apps/site-builder/context.rs. SDK method: getMerchantSiteContext.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/merchant/site/context" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getMerchantSiteContext();

Python

result = client.studio.get_merchant_site_context()

Rust

let result = client.studio().get_merchant_site_context(RequestOptions::default()).await?;

POST /api/merchant/site/edit

Permission: channels.manage, personal session or integration key. Source: extensions/apps/site-builder/design_agent.rs. SDK method: postMerchantSiteEdit.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/site/edit" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantSiteEdit({ body: {} });

Python

result = client.studio.post_merchant_site_edit(body={})

Rust

let result = client.studio().post_merchant_site_edit(RequestOptions::json(json!({}))).await?;

POST /api/merchant/site/plan

Permission: channels.manage, personal session or integration key. Source: extensions/apps/site-builder/design_agent.rs. SDK method: postMerchantSitePlan.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/site/plan" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantSitePlan({ body: {} });

Python

result = client.studio.post_merchant_site_plan(body={})

Rust

let result = client.studio().post_merchant_site_plan(RequestOptions::json(json!({}))).await?;

POST /api/merchant/site/propose

Permission: channels.manage, personal session or integration key. Source: extensions/apps/site-builder/design_agent.rs. SDK method: postMerchantSitePropose.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/site/propose" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantSitePropose({ body: {} });

Python

result = client.studio.post_merchant_site_propose(body={})

Rust

let result = client.studio().post_merchant_site_propose(RequestOptions::json(json!({}))).await?;

POST /api/merchant/site/task

Permission: channels.manage, personal session or integration key. Source: extensions/apps/site-builder/design_agent.rs. SDK method: postMerchantSiteTask.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/merchant/site/task" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postMerchantSiteTask({ body: {} });

Python

result = client.studio.post_merchant_site_task(body={})

Rust

let result = client.studio().post_merchant_site_task(RequestOptions::json(json!({}))).await?;

GET /api/runtime

Permission: settings.read, personal session or integration key. Source: src/routes.rs. SDK method: getRuntime.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/runtime" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getRuntime();

Python

result = client.studio.get_runtime()

Rust

let result = client.studio().get_runtime(RequestOptions::default()).await?;

POST /api/runtime/outbox/{id}/retry

Permission: settings.write, personal session or integration key. Source: src/routes.rs. SDK method: postRuntimeOutboxByIdRetry.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/runtime/outbox/<id>/retry" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postRuntimeOutboxByIdRetry({ "id": "<id>" }, { body: {} });

Python

result = client.studio.post_runtime_outbox_by_id_retry("<id>", body={})

Rust

let result = client.studio().post_runtime_outbox_by_id_retry("<id>", RequestOptions::json(json!({}))).await?;

POST /api/search/order

Permission: orders.read, personal session or integration key. Source: src/routes.rs. SDK method: postSearchOrder.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/search/order" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postSearchOrder({ body: {} });

Python

result = client.studio.post_search_order(body={})

Rust

let result = client.studio().post_search_order(RequestOptions::json(json!({}))).await?;

POST /api/search/product

Permission: catalog.read, personal session or integration key. Source: src/routes.rs. SDK method: postSearchProduct.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/api/search/product" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.postSearchProduct({ body: {} });

Python

result = client.studio.post_search_product(body={})

Rust

let result = client.studio().post_search_product(RequestOptions::json(json!({}))).await?;

GET /api/studio/work

Permission: read, personal session or integration key. Source: src/studio/personal.rs. SDK method: getStudioWork.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/studio/work" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getStudioWork();

Python

result = client.studio.get_studio_work()

Rust

let result = client.studio().get_studio_work(RequestOptions::default()).await?;

GET /api/studio/workspace

Permission: read, personal session or integration key. Source: src/studio/personal.rs. SDK method: getStudioWorkspace.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X GET "$VEYNDO_URL/api/studio/workspace" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.studio.getStudioWorkspace();

Python

result = client.studio.get_studio_workspace()

Rust

let result = client.studio().get_studio_workspace(RequestOptions::default()).await?;

PUT /api/studio/workspace

Permission: read, personal session or integration key. Source: src/studio/personal.rs. SDK method: putStudioWorkspace.

Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X PUT "$VEYNDO_URL/api/studio/workspace" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.studio.putStudioWorkspace({ body: {} });

Python

result = client.studio.put_studio_workspace(body={})

Rust

let result = client.studio().put_studio_workspace(RequestOptions::json(json!({}))).await?;

MCP tools

Called with JSON-RPC tools/call on POST /mcp. The facts come from the typed operations graph; the server validates the input schema before it runs a tool.

merchant.grid.plan

Plan read-only native list filters; review criteria before applying.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost model
Permissions assistant.use, catalog.read
Effects modelCall
Conditions none
Data product, order, customer
Requires none
Argument Type Required
entity "orders" | "products" | "customers" yes
instruction string (min length 1, max length 2000) yes
locale string (max length 35) yes

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.grid.plan", "arguments": {"entity": "orders", "instruction": "<string>", "locale": "<string>"}}}'

TypeScript

const result = await client.mcp.call("merchant.grid.plan", {"entity": "orders", "instruction": "<string>", "locale": "<string>"});

Python

result = client.mcp.call("merchant.grid.plan", {"entity": "orders", "instruction": "<string>", "locale": "<string>"})

Rust

let result = client.mcp().call_raw("merchant.grid.plan", json!({"entity": "orders", "instruction": "<string>", "locale": "<string>"})).await?;

merchant.history

Read scoped entity change summaries; no credential snapshots.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions automation.read
Effects none
Conditions none
Data history
Requires none
Argument Type Required
before integer no
entity "role" | "product" | "category" | "customer" | "order" | "settings" | "company" | "companyChannel" | "checkoutChannel" | "rule" | "flow" | "promotion" | "channel" | "source" | "b2bCompany" | "b2bUnit" | "b2bQuote" | "b2bList" | "b2bApproval" yes
id string (min length 1, max length 254) yes

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.history", "arguments": {"entity": "role", "id": "<string>"}}}'

TypeScript

const result = await client.mcp.call("merchant.history", {"entity": "role", "id": "<string>"});

Python

result = client.mcp.call("merchant.history", {"entity": "role", "id": "<string>"})

Rust

let result = client.mcp().call_raw("merchant.history", json!({"entity": "role", "id": "<string>"})).await?;

merchant.history.restore

Restore reviewed content as a new revision through domain validation; orders excluded.

Fact Value
Audience merchant
Writes yes
Risk medium
Reversibility reversible
Requires approval no
Cost standard
Permissions automation.read, automation.manage
Effects event
Conditions none
Data history, product, category, automation, settings
Requires merchant.history.version
Argument Type Required
approve boolean yes
entity "role" | "product" | "category" | "customer" | "order" | "settings" | "company" | "companyChannel" | "checkoutChannel" | "rule" | "flow" | "promotion" | "channel" | "source" | "b2bCompany" | "b2bUnit" | "b2bQuote" | "b2bList" | "b2bApproval" yes
id string (min length 1, max length 254) yes
revision integer (≥ 0) yes
side "before" | "after" yes
version integer (≥ 1) yes

A write. Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.history.restore", "arguments": {"entity": "role", "id": "<string>", "version": 1, "approve": true, "revision": 1, "side": "before"}}}'

TypeScript

const result = await client.mcp.call("merchant.history.restore", {"entity": "role", "id": "<string>", "version": 1, "approve": true, "revision": 1, "side": "before"});

Python

result = client.mcp.call("merchant.history.restore", {"entity": "role", "id": "<string>", "version": 1, "approve": True, "revision": 1, "side": "before"})

Rust

let result = client.mcp().call_raw("merchant.history.restore", json!({"entity": "role", "id": "<string>", "version": 1, "approve": true, "revision": 1, "side": "before"})).await?;

merchant.history.version

Inspect exact before/after entity changes.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions automation.read
Effects none
Conditions none
Data history
Requires none
Argument Type Required
entity "role" | "product" | "category" | "customer" | "order" | "settings" | "company" | "companyChannel" | "checkoutChannel" | "rule" | "flow" | "promotion" | "channel" | "source" | "b2bCompany" | "b2bUnit" | "b2bQuote" | "b2bList" | "b2bApproval" yes
id string (min length 1, max length 254) yes
version integer (≥ 1) yes

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.history.version", "arguments": {"entity": "role", "id": "<string>", "version": 1}}}'

TypeScript

const result = await client.mcp.call("merchant.history.version", {"entity": "role", "id": "<string>", "version": 1});

Python

result = client.mcp.call("merchant.history.version", {"entity": "role", "id": "<string>", "version": 1})

Rust

let result = client.mcp().call_raw("merchant.history.version", json!({"entity": "role", "id": "<string>", "version": 1})).await?;

merchant.import.inspect

Read current mapped target fields and report missing/changed imports without writing.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions apps.manage
Effects none
Conditions none
Data import, product, customer, order
Requires none
Argument Type Required
details boolean no
options object yes
record object yes

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.import.inspect", "arguments": {"record": {"version": 1, "source": "<string>", "sourceShop": "<string>", "kind": "products", "sourceId": "<string>", "data": {}, "warnings": []}, "options": {}}}}'

TypeScript

const result = await client.mcp.call("merchant.import.inspect", {"record": {"version": 1, "source": "<string>", "sourceShop": "<string>", "kind": "products", "sourceId": "<string>", "data": {}, "warnings": []}, "options": {}});

Python

result = client.mcp.call("merchant.import.inspect", {"record": {"version": 1, "source": "<string>", "sourceShop": "<string>", "kind": "products", "sourceId": "<string>", "data": {}, "warnings": []}, "options": {}})

Rust

let result = client.mcp().call_raw("merchant.import.inspect", json!({"record": {"version": 1, "source": "<string>", "sourceShop": "<string>", "kind": "products", "sourceId": "<string>", "data": {}, "warnings": []}, "options": {}})).await?;

merchant.import.record

Explicitly import a source record through current domain permissions; historical orders have no purchase effects.

Fact Value
Audience merchant
Writes yes
Risk medium
Reversibility irreversible
Requires approval yes
Cost standard
Permissions apps.manage
Effects event
Conditions none
Data import, product, customer, order · money · pii · stock
Requires merchant.import.inspect
Argument Type Required
approve boolean yes
assetChunks array of string (max length 65536) no
options object yes
record object yes

A write. Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.import.record", "arguments": {"approve": false, "record": {"version": 1, "source": "<string>", "sourceShop": "<string>", "kind": "products", "sourceId": "<string>", "data": {}, "warnings": []}, "options": {}}}}'

TypeScript

const result = await client.mcp.call("merchant.import.record", {"approve": false, "record": {"version": 1, "source": "<string>", "sourceShop": "<string>", "kind": "products", "sourceId": "<string>", "data": {}, "warnings": []}, "options": {}});

Python

result = client.mcp.call("merchant.import.record", {"approve": False, "record": {"version": 1, "source": "<string>", "sourceShop": "<string>", "kind": "products", "sourceId": "<string>", "data": {}, "warnings": []}, "options": {}})

Rust

let result = client.mcp().call_raw("merchant.import.record", json!({"approve": false, "record": {"version": 1, "source": "<string>", "sourceShop": "<string>", "kind": "products", "sourceId": "<string>", "data": {}, "warnings": []}, "options": {}})).await?;

merchant.reports.read

Read bounded sales, channel and consent-aware traffic reports.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions overview.read
Effects none
Conditions none
Data report, order · money
Requires none
Argument Type Required
channel string or null (max length 160) no
channelType "all" | "storefront" | "headless" | "marketplace" | "pos" no
compare boolean no
currency string or null (max length 3) no
from string or null (max length 10) no
interval "auto" | "day" | "week" | "month" | "year" no
period "today" | "yesterday" | "week" | "last7" | "last30" | "last90" | "month" | "lastMonth" | "year" | "lastYear" | "all" | "custom" no
timezone string (max length 64) no
to string or null (max length 10) no

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.reports.read", "arguments": {}}}'

TypeScript

const result = await client.mcp.call("merchant.reports.read", {});

Python

result = client.mcp.call("merchant.reports.read", {})

Rust

let result = client.mcp().call_raw("merchant.reports.read", json!({})).await?;

merchant.site.apply

Approve a scoped shop-design proposal in staging.

Fact Value
Audience merchant
Writes yes
Risk medium
Reversibility reversible
Requires approval no
Cost standard
Permissions assistant.use, channels.read, channels.manage
Effects none
Conditions sandbox
Data site
Requires merchant.site.plan
Argument Type Required
approve boolean yes
taskId string yes

A write. Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.site.apply", "arguments": {"taskId": "<string>", "approve": false}}}'

TypeScript

const result = await client.mcp.call("merchant.site.apply", {"taskId": "<string>", "approve": false});

Python

result = client.mcp.call("merchant.site.apply", {"taskId": "<string>", "approve": False})

Rust

let result = client.mcp().call_raw("merchant.site.apply", json!({"taskId": "<string>", "approve": false})).await?;

merchant.site.commands

Apply typed page edit commands (including cinematic elements and scroll scenes) to a private sandbox draft.

Fact Value
Audience merchant
Writes yes
Risk low
Reversibility reversible
Requires approval no
Cost standard
Permissions assistant.use, channels.read, channels.manage
Effects none
Conditions sandbox
Data site
Requires none
Argument Type Required
commands array of any yes
decision object no
id string yes
revision integer yes
taskId string no

A write. Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.site.commands", "arguments": {"id": "<string>", "revision": 1, "commands": []}}}'

TypeScript

const result = await client.mcp.call("merchant.site.commands", {"id": "<string>", "revision": 1, "commands": []});

Python

result = client.mcp.call("merchant.site.commands", {"id": "<string>", "revision": 1, "commands": []})

Rust

let result = client.mcp().call_raw("merchant.site.commands", json!({"id": "<string>", "revision": 1, "commands": []})).await?;

merchant.site.edit

Prepare typed page edit commands (sections, cinematic elements, scroll scenes) for tracked review in the designer.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost model
Permissions assistant.use, channels.read, channels.manage
Effects modelCall
Conditions none
Data site
Requires none
Argument Type Required
breakpoint "base" | "tablet" | "mobile" no
id string yes
instruction string (min length 1, max length 2000) yes
language string (max length 35) no
mode "edit" | "create" no
revision integer yes
selection array of string (max length 32) no
variants integer (≥ 1, ≤ 3) no

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.site.edit", "arguments": {"id": "<string>", "revision": 1, "instruction": "<string>"}}}'

TypeScript

const result = await client.mcp.call("merchant.site.edit", {"id": "<string>", "revision": 1, "instruction": "<string>"});

Python

result = client.mcp.call("merchant.site.edit", {"id": "<string>", "revision": 1, "instruction": "<string>"})

Rust

let result = client.mcp().call_raw("merchant.site.edit", json!({"id": "<string>", "revision": 1, "instruction": "<string>"})).await?;

merchant.site.plan

Prepare revision-bound visual shop alternatives.

Fact Value
Audience merchant
Writes yes
Risk low
Reversibility reversible
Requires approval no
Cost model
Permissions assistant.use, channels.read, channels.manage
Effects modelCall
Conditions none
Data site
Requires none
Argument Type Required
content boolean no
id string yes
images array of string no
instruction string (min length 1, max length 2000) yes
revision integer yes
selected string no
structure boolean no
style boolean no
urls array of string no

A write. Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.site.plan", "arguments": {"id": "<string>", "revision": 1, "instruction": "<string>"}}}'

TypeScript

const result = await client.mcp.call("merchant.site.plan", {"id": "<string>", "revision": 1, "instruction": "<string>"});

Python

result = client.mcp.call("merchant.site.plan", {"id": "<string>", "revision": 1, "instruction": "<string>"})

Rust

let result = client.mcp().call_raw("merchant.site.plan", json!({"id": "<string>", "revision": 1, "instruction": "<string>"})).await?;

merchant.site.propose

Validate a coding-agent page result for explicit review.

Fact Value
Audience merchant
Writes yes
Risk low
Reversibility reversible
Requires approval no
Cost standard
Permissions assistant.use, channels.read, channels.manage
Effects none
Conditions none
Data site
Requires merchant.site.task
Argument Type Required
fields object yes
id string yes
instruction string (max length 2000) yes
revision integer yes
selected string no
summary string (max length 500) no

A write. Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.site.propose", "arguments": {"id": "<string>", "revision": 1, "fields": {}, "instruction": "<string>"}}}'

TypeScript

const result = await client.mcp.call("merchant.site.propose", {"id": "<string>", "revision": 1, "fields": {}, "instruction": "<string>"});

Python

result = client.mcp.call("merchant.site.propose", {"id": "<string>", "revision": 1, "fields": {}, "instruction": "<string>"})

Rust

let result = client.mcp().call_raw("merchant.site.propose", json!({"id": "<string>", "revision": 1, "fields": {}, "instruction": "<string>"})).await?;

merchant.site.task

Export a credential-free native shop design task.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions assistant.use, channels.read, channels.manage
Effects none
Conditions none
Data site
Requires none
Argument Type Required
agent "codex" | "claude_code" no
id string yes
instruction string (max length 2000) yes
revision integer yes
selected string no

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "merchant.site.task", "arguments": {"id": "<string>", "revision": 1, "instruction": "<string>"}}}'

TypeScript

const result = await client.mcp.call("merchant.site.task", {"id": "<string>", "revision": 1, "instruction": "<string>"});

Python

result = client.mcp.call("merchant.site.task", {"id": "<string>", "revision": 1, "instruction": "<string>"})

Rust

let result = client.mcp().call_raw("merchant.site.task", json!({"id": "<string>", "revision": 1, "instruction": "<string>"})).await?;

studio.workspace.read

Read the current personal Studio workspace.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions none
Effects none
Conditions personalSession
Data workspace
Requires none

Input: no arguments.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "studio.workspace.read", "arguments": {}}}'

TypeScript

const result = await client.mcp.call("studio.workspace.read", {});

Python

result = client.mcp.call("studio.workspace.read", {})

Rust

let result = client.mcp().call_raw("studio.workspace.read", json!({})).await?;

studio.workspace.save

Revise the current personal Studio workspace.

Fact Value
Audience merchant
Writes yes
Risk low
Reversibility reversible
Requires approval no
Cost standard
Permissions none
Effects none
Conditions personalSession
Data workspace
Requires studio.workspace.read
Argument Type Required
data object yes
revision integer (≥ 0) yes

A write. Not executed from the docs. Try it in a private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "studio.workspace.save", "arguments": {"revision": 1, "data": {}}}}'

TypeScript

const result = await client.mcp.call("studio.workspace.save", {"revision": 1, "data": {}});

Python

result = client.mcp.call("studio.workspace.save", {"revision": 1, "data": {}})

Rust

let result = client.mcp().call_raw("studio.workspace.save", json!({"revision": 1, "data": {}})).await?;

studio.workspace.work.read

Read bounded actionable work from current authorized shop data.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions none
Effects none
Conditions personalSession
Data workspace, order, product
Requires none

Input: no arguments.

Needs a merchant credential. Run it against your own private sandbox.

curl

curl -fsS -X POST "$VEYNDO_URL/mcp" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "studio.workspace.work.read", "arguments": {}}}'

TypeScript

const result = await client.mcp.call("studio.workspace.work.read", {});

Python

result = client.mcp.call("studio.workspace.work.read", {})

Rust

let result = client.mcp().call_raw("studio.workspace.work.read", json!({})).await?;