VEYNDO
Handbook
docs/reference/shop.mdView source ↗

English source · 21 min

Shop API reference

Shop configuration, domains, legal texts and the operator control plane. Contract version 1.0.0, generated from contracts/http/shop.openapi.json. 29 HTTP operations, 9 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 shop API object, method names and argument order are those of the generated SDKs.

Operations

Operation Permission In the docs
GET /store-api/context public Try it
GET /store-api/legal public Try it
PUT /store-api/legal/acceptance public request
POST /store-api/legal/requests public request
GET /store-api/legal/requests/{id} public request
GET /store-api/privacy/consent public request
PUT /store-api/privacy/consent public request
GET /api/merchant/commerce settings.read request
PUT /api/merchant/commerce settings.write request
GET /api/merchant/commerce/channels/{channel} settings.read request
PUT /api/merchant/commerce/channels/{channel} settings.write request
GET /api/merchant/commerce/methods/{area}/{id}/dependencies settings.read request
GET /api/merchant/legal/requests customers.read request
PUT /api/merchant/legal/requests/{id} customers.write request
GET /api/platform/ai platform request
PUT /api/platform/ai platform request
GET /api/platform/audit platform request
GET /api/platform/infrastructure platform request
GET /api/platform/overview platform request
GET /api/platform/session platform request
GET /api/platform/shops platform request
POST /api/platform/shops platform request
GET /api/platform/shops/{id} platform request
GET /api/platform/shops/{id}/quotas platform request
PUT /api/platform/shops/{id}/quotas platform request
POST /api/platform/shops/{id}/status platform request
GET /api/settings/frontends settings.read request
PUT /api/settings/frontends settings.write request
DELETE /api/settings/frontends/{alias} settings.write request
MCP legal.accept shopper request
MCP legal.request shopper request
MCP merchant.commerce.dependencies settings.read request
MCP merchant.commerce.read settings.read request
MCP merchant.commerce.save settings.write request
MCP merchant.legal.requests customers.read request
MCP merchant.legal.review customers.write request
MCP privacy.consent shopper request
MCP privacy.policy shopper request

Public HTTP

Anonymous storefront, discovery and protocol routes. Name the shop with x-tenant.

GET /store-api/context

Permission: public, no credential. Source: src/routes.rs. SDK method: getStoreContext.

curl

curl -fsS -X GET "$VEYNDO_URL/store-api/context" \
  -H "x-tenant: $VEYNDO_SHOP"

TypeScript

const result = await client.shop.getStoreContext();

Python

result = client.shop.get_store_context()

Rust

let result = client.shop().get_store_context(RequestOptions::default()).await?;

GET /store-api/legal

Permission: public, no credential. Source: src/legal/mod.rs. SDK method: getStoreLegal.

curl

curl -fsS -X GET "$VEYNDO_URL/store-api/legal" \
  -H "x-tenant: $VEYNDO_SHOP"

TypeScript

const result = await client.shop.getStoreLegal();

Python

result = client.shop.get_store_legal()

Rust

let result = client.shop().get_store_legal(RequestOptions::default()).await?;

PUT /store-api/legal/acceptance

Permission: public, no credential. Source: src/legal/mod.rs. SDK method: putStoreLegalAcceptance.

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

curl

curl -fsS -X PUT "$VEYNDO_URL/store-api/legal/acceptance" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.shop.putStoreLegalAcceptance({ body: {} });

Python

result = client.shop.put_store_legal_acceptance(body={})

Rust

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

POST /store-api/legal/requests

Permission: public, no credential. Source: src/legal/mod.rs. SDK method: postStoreLegalRequests.

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

curl

curl -fsS -X POST "$VEYNDO_URL/store-api/legal/requests" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.shop.postStoreLegalRequests({ body: {} });

Python

result = client.shop.post_store_legal_requests(body={})

Rust

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

GET /store-api/legal/requests/{id}

Permission: public, no credential. Source: src/legal/mod.rs. SDK method: getStoreLegalRequestsById.

Needs a cart, buyer or object token: run the example against your own shop.

curl

curl -fsS -X GET "$VEYNDO_URL/store-api/legal/requests/<id>" \
  -H "x-tenant: $VEYNDO_SHOP"

TypeScript

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

Python

result = client.shop.get_store_legal_requests_by_id("<id>")

Rust

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

GET /store-api/privacy/consent

Permission: public, no credential. Source: src/legal/mod.rs. SDK method: getStorePrivacyConsent.

Needs a cart, buyer or object token: run the example against your own shop.

curl

curl -fsS -X GET "$VEYNDO_URL/store-api/privacy/consent" \
  -H "x-tenant: $VEYNDO_SHOP"

TypeScript

const result = await client.shop.getStorePrivacyConsent();

Python

result = client.shop.get_store_privacy_consent()

Rust

let result = client.shop().get_store_privacy_consent(RequestOptions::default()).await?;

PUT /store-api/privacy/consent

Permission: public, no credential. Source: src/legal/mod.rs. SDK method: putStorePrivacyConsent.

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

curl

curl -fsS -X PUT "$VEYNDO_URL/store-api/privacy/consent" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.shop.putStorePrivacyConsent({ body: {} });

Python

result = client.shop.put_store_privacy_consent(body={})

Rust

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

Merchant HTTP

Each route checks the named permission against your current membership.

GET /api/merchant/commerce

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

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

curl

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

TypeScript

const result = await client.shop.getMerchantCommerce();

Python

result = client.shop.get_merchant_commerce()

Rust

let result = client.shop().get_merchant_commerce(RequestOptions::default()).await?;

PUT /api/merchant/commerce

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

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

curl

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

TypeScript

const result = await client.shop.putMerchantCommerce({ body: {} });

Python

result = client.shop.put_merchant_commerce(body={})

Rust

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

GET /api/merchant/commerce/channels/{channel}

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

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

curl

curl -fsS -X GET "$VEYNDO_URL/api/merchant/commerce/channels/<channel>" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.shop.getMerchantCommerceChannelsByChannel({ "channel": "<channel>" });

Python

result = client.shop.get_merchant_commerce_channels_by_channel("<channel>")

Rust

let result = client.shop().get_merchant_commerce_channels_by_channel("<channel>", RequestOptions::default()).await?;

PUT /api/merchant/commerce/channels/{channel}

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

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

curl

curl -fsS -X PUT "$VEYNDO_URL/api/merchant/commerce/channels/<channel>" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN" \
  -H 'content-type: application/json' \
  --data '{}'

TypeScript

const result = await client.shop.putMerchantCommerceChannelsByChannel({ "channel": "<channel>" }, { body: {} });

Python

result = client.shop.put_merchant_commerce_channels_by_channel("<channel>", body={})

Rust

let result = client.shop().put_merchant_commerce_channels_by_channel("<channel>", RequestOptions::json(json!({}))).await?;

GET /api/merchant/commerce/methods/{area}/{id}/dependencies

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

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

curl

curl -fsS -X GET "$VEYNDO_URL/api/merchant/commerce/methods/<area>/<id>/dependencies" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.shop.getMerchantCommerceMethodsByAreaByIdDependencies({ "area": "<area>", "id": "<id>" });

Python

result = client.shop.get_merchant_commerce_methods_by_area_by_id_dependencies("<area>", "<id>")

Rust

let result = client.shop().get_merchant_commerce_methods_by_area_by_id_dependencies("<area>", "<id>", RequestOptions::default()).await?;

GET /api/merchant/legal/requests

Permission: customers.read, personal session or integration key. Source: src/legal/mod.rs. SDK method: getMerchantLegalRequests.

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

curl

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

TypeScript

const result = await client.shop.getMerchantLegalRequests();

Python

result = client.shop.get_merchant_legal_requests()

Rust

let result = client.shop().get_merchant_legal_requests(RequestOptions::default()).await?;

PUT /api/merchant/legal/requests/{id}

Permission: customers.write, personal session or integration key. Source: src/legal/mod.rs. SDK method: putMerchantLegalRequestsById.

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

curl

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

TypeScript

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

Python

result = client.shop.put_merchant_legal_requests_by_id("<id>", body={})

Rust

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

GET /api/platform/ai

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: getPlatformAi.

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

curl

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

TypeScript

const result = await client.shop.getPlatformAi();

Python

result = client.shop.get_platform_ai()

Rust

let result = client.shop().get_platform_ai(RequestOptions::default()).await?;

PUT /api/platform/ai

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: putPlatformAi.

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

curl

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

TypeScript

const result = await client.shop.putPlatformAi({ body: {} });

Python

result = client.shop.put_platform_ai(body={})

Rust

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

GET /api/platform/audit

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: getPlatformAudit.

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

curl

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

TypeScript

const result = await client.shop.getPlatformAudit();

Python

result = client.shop.get_platform_audit()

Rust

let result = client.shop().get_platform_audit(RequestOptions::default()).await?;

GET /api/platform/infrastructure

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: getPlatformInfrastructure.

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

curl

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

TypeScript

const result = await client.shop.getPlatformInfrastructure();

Python

result = client.shop.get_platform_infrastructure()

Rust

let result = client.shop().get_platform_infrastructure(RequestOptions::default()).await?;

GET /api/platform/overview

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: getPlatformOverview.

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

curl

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

TypeScript

const result = await client.shop.getPlatformOverview();

Python

result = client.shop.get_platform_overview()

Rust

let result = client.shop().get_platform_overview(RequestOptions::default()).await?;

GET /api/platform/session

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: getPlatformSession.

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

curl

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

TypeScript

const result = await client.shop.getPlatformSession();

Python

result = client.shop.get_platform_session()

Rust

let result = client.shop().get_platform_session(RequestOptions::default()).await?;

GET /api/platform/shops

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: getPlatformShops.

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

curl

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

TypeScript

const result = await client.shop.getPlatformShops();

Python

result = client.shop.get_platform_shops()

Rust

let result = client.shop().get_platform_shops(RequestOptions::default()).await?;

POST /api/platform/shops

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: postPlatformShops.

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

curl

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

TypeScript

const result = await client.shop.postPlatformShops({ body: {} });

Python

result = client.shop.post_platform_shops(body={})

Rust

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

GET /api/platform/shops/{id}

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: getPlatformShopsById.

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

curl

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

TypeScript

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

Python

result = client.shop.get_platform_shops_by_id("<id>")

Rust

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

GET /api/platform/shops/{id}/quotas

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: getPlatformShopsByIdQuotas.

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

curl

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

TypeScript

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

Python

result = client.shop.get_platform_shops_by_id_quotas("<id>")

Rust

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

PUT /api/platform/shops/{id}/quotas

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: putPlatformShopsByIdQuotas.

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

curl

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

TypeScript

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

Python

result = client.shop.put_platform_shops_by_id_quotas("<id>", body={})

Rust

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

POST /api/platform/shops/{id}/status

Permission: platform, personal session or integration key. Source: src/platform/mod.rs. SDK method: postPlatformShopsByIdStatus.

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

curl

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

TypeScript

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

Python

result = client.shop.post_platform_shops_by_id_status("<id>", body={})

Rust

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

GET /api/settings/frontends

Permission: settings.read, personal session or integration key. Source: src/shop_domains/frontends.rs. SDK method: getSettingsFrontends.

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

curl

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

TypeScript

const result = await client.shop.getSettingsFrontends();

Python

result = client.shop.get_settings_frontends()

Rust

let result = client.shop().get_settings_frontends(RequestOptions::default()).await?;

PUT /api/settings/frontends

Permission: settings.write, personal session or integration key. Source: src/shop_domains/frontends.rs. SDK method: putSettingsFrontends.

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

curl

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

TypeScript

const result = await client.shop.putSettingsFrontends({ body: {} });

Python

result = client.shop.put_settings_frontends(body={})

Rust

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

DELETE /api/settings/frontends/{alias}

Permission: settings.write, personal session or integration key. Source: src/shop_domains/frontends.rs. SDK method: deleteSettingsFrontendsByAlias.

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

curl

curl -fsS -X DELETE "$VEYNDO_URL/api/settings/frontends/<alias>" \
  -H "x-tenant: $VEYNDO_SHOP" \
  -H "authorization: Bearer $VEYNDO_TOKEN"

TypeScript

const result = await client.shop.deleteSettingsFrontendsByAlias({ "alias": "<alias>" });

Python

result = client.shop.delete_settings_frontends_by_alias("<alias>")

Rust

let result = client.shop().delete_settings_frontends_by_alias("<alias>", RequestOptions::default()).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.

Acknowledge current terms and separately requested digital delivery.

Fact Value
Audience shopper
Writes yes
Risk medium
Reversibility irreversible
Requires approval yes
Cost standard
Permissions none
Effects none
Conditions none
Data legal, cart
Requires none
Argument Type Required
digitalImmediate boolean yes
policyVersion string yes
terms boolean 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 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "legal.accept", "arguments": {"digitalImmediate": false, "policyVersion": "<string>", "terms": false}}}'

TypeScript

const result = await client.mcp.call("legal.accept", {"digitalImmediate": false, "policyVersion": "<string>", "terms": false});

Python

result = client.mcp.call("legal.accept", {"digitalImmediate": False, "policyVersion": "<string>", "terms": False})

Rust

let result = client.mcp().call_raw("legal.accept", json!({"digitalImmediate": false, "policyVersion": "<string>", "terms": false})).await?;

Submit withdrawal or data-rights declaration without disclosing orders.

Fact Value
Audience shopper
Writes yes
Risk medium
Reversibility irreversible
Requires approval yes
Cost standard
Permissions none
Effects event
Conditions none
Data legal, order · pii
Requires none
Argument Type Required
email string yes
kind string yes
message string yes
name string yes
reference string yes
requestKey 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 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "legal.request", "arguments": {"email": "<string>", "kind": "<string>", "message": "<string>", "name": "<string>", "reference": "<string>", "requestKey": "<string>"}}}'

TypeScript

const result = await client.mcp.call("legal.request", {"email": "<string>", "kind": "<string>", "message": "<string>", "name": "<string>", "reference": "<string>", "requestKey": "<string>"});

Python

result = client.mcp.call("legal.request", {"email": "<string>", "kind": "<string>", "message": "<string>", "name": "<string>", "reference": "<string>", "requestKey": "<string>"})

Rust

let result = client.mcp().call_raw("legal.request", json!({"email": "<string>", "kind": "<string>", "message": "<string>", "name": "<string>", "reference": "<string>", "requestKey": "<string>"})).await?;

merchant.commerce.dependencies

Check method dependencies before removal.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions settings.read
Effects none
Conditions none
Data settings
Requires none
Argument Type Required
area "shipping" | "payments" yes
methodId string 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.commerce.dependencies", "arguments": {"area": "shipping", "methodId": "<string>"}}}'

TypeScript

const result = await client.mcp.call("merchant.commerce.dependencies", {"area": "shipping", "methodId": "<string>"});

Python

result = client.mcp.call("merchant.commerce.dependencies", {"area": "shipping", "methodId": "<string>"})

Rust

let result = client.mcp().call_raw("merchant.commerce.dependencies", json!({"area": "shipping", "methodId": "<string>"})).await?;

merchant.commerce.read

Read countries, tax rules, shipping, payment and content languages.

Fact Value
Audience merchant
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions settings.read
Effects none
Conditions none
Data settings · money
Requires none
Argument Type Required
afterProductId string (max length 160) no
area "aiPolicy" no
channelId 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.commerce.read", "arguments": {}}}'

TypeScript

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

Python

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

Rust

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

merchant.commerce.save

Revision-bound international commerce settings update.

Fact Value
Audience merchant
Writes yes
Risk high
Reversibility reversible
Requires approval yes
Cost standard
Permissions settings.write
Effects publication
Conditions none
Data settings · money
Requires none
Argument Type Required
baseRevision integer (≥ 0) no
channelId string no
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": "merchant.commerce.save", "arguments": {"revision": 1, "data": {}}}}'

TypeScript

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

Python

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

Rust

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

Read private consumer requests.

Fact Value
Audience merchant
Writes no
Risk medium
Reversibility reversible
Requires approval no
Cost free
Permissions customers.read
Effects none
Conditions none
Data legal, customer · pii
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": "merchant.legal.requests", "arguments": {}}}'

TypeScript

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

Python

result = client.mcp.call("merchant.legal.requests", {})

Rust

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

Review consumer request with revision and audit note.

Fact Value
Audience merchant
Writes yes
Risk medium
Reversibility irreversible
Requires approval yes
Cost standard
Permissions customers.write
Effects event
Conditions none
Data legal, customer · pii
Requires merchant.legal.requests
Argument Type Required
id string yes
note string yes
revision integer yes
state 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.legal.review", "arguments": {"id": "<string>", "note": "<string>", "revision": 1, "state": "<string>"}}}'

TypeScript

const result = await client.mcp.call("merchant.legal.review", {"id": "<string>", "note": "<string>", "revision": 1, "state": "<string>"});

Python

result = client.mcp.call("merchant.legal.review", {"id": "<string>", "note": "<string>", "revision": 1, "state": "<string>"})

Rust

let result = client.mcp().call_raw("merchant.legal.review", json!({"id": "<string>", "note": "<string>", "revision": 1, "state": "<string>"})).await?;

Record affirmative optional-purpose choices for this cart.

Fact Value
Audience shopper
Writes yes
Risk low
Reversibility reversible
Requires approval no
Cost standard
Permissions none
Effects none
Conditions none
Data legal, cart
Requires none
Argument Type Required
choices object yes
policyVersion 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 'content-type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "privacy.consent", "arguments": {"choices": {}, "policyVersion": "<string>"}}}'

TypeScript

const result = await client.mcp.call("privacy.consent", {"choices": {}, "policyVersion": "<string>"});

Python

result = client.mcp.call("privacy.consent", {"choices": {}, "policyVersion": "<string>"})

Rust

let result = client.mcp().call_raw("privacy.consent", json!({"choices": {}, "policyVersion": "<string>"})).await?;

privacy.policy

Read effective channel legal documents and consent policy.

Fact Value
Audience shopper
Writes no
Risk low
Reversibility reversible
Requires approval no
Cost free
Permissions none
Effects none
Conditions none
Data legal
Requires none

Input: no arguments.

A shopper read. Browsers on other origins cannot call POST /mcp (it accepts only the shop's own origin); copy the request into your agent, server or terminal.

curl

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

TypeScript

const result = await client.mcp.call("privacy.policy", {});

Python

result = client.mcp.call("privacy.policy", {})

Rust

let result = client.mcp().call_raw("privacy.policy", json!({})).await?;