Skip to content

API reference

Shop

Read and edit the profile of the shop the key belongs to.

Get your shop

GET/api/v1/shop

The shop this API key belongs to: id, slug, name, tagline, bio, avatar url, cover url, location, website, plan, resale commission rate, created at, plus live product and follower counts.

Scope
shop:read
MCP tool
shop_get
Changes data
No

Parameters

No parameters.

Request

curl "https://3commerce.com/api/v1/shop" \
  -H "Authorization: Bearer 3c_live_…"

Response

200 OK
{
  "id": "0b6e…",
  "slug": "northline-studio",
  "name": "Northline Studio",
  "plan": "pro",
  "resale_commission_rate": 0.1,
  "live_products": 24,
  "followers": 96
}

Update your shop

PATCH/api/v1/shop

Changes any of the profile fields. Omitted fields keep their value. Image fields take https URLs. `resale_commission_rate` is what you pay another shop that sells your products on its storefront, 0-0.5 (0.1 is 10%); 0 offers none.

Scope
shop:write
MCP tool
shop_update
Changes data
Yes

Parameters

NameTypeDescription
namebody · optionalstring2-60 chars
taglinebody · optionalstringmax 120 chars
biobody · optionalstringmax 2000 chars
locationbody · optionalstringmax 80 chars
websitebody · optionalstring (uri) or ""-
avatar_urlbody · optionalstring (uri) or null-
cover_urlbody · optionalstring (uri) or null-
resale_commission_ratebody · optionalnumber0-0.5

Request

curl -X PATCH "https://3commerce.com/api/v1/shop" \
  -H "Authorization: Bearer 3c_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Northline Studio",
  "tagline": "Small-batch goods for slow mornings"
}'

Response

Returns the resource as JSON.