Skip to content

API reference

Products

List, create, edit, publish, schedule, and delete products, and read how each performs.

List products

GET/api/v1/products

Lists the shop's products with their all-time views, likes, units sold, and revenue. Filter by status, title, or category, and sort by newest, price, views, or sales.

Scope
products:read
MCP tool
products_list
Changes data
No

Parameters

NameTypeDescription
statusquery · optionalenumOnly products in this statusone of draft, scheduled, published, archived
qquery · optionalstringMatches anywhere in the title, case-insensitivemax 100 chars
category_slugquery · optionalstringOnly products in this storefront categorymax 100 chars
sortquery · optionalenum`newest` first, `price` low to high, most `views`, or most units sold (`sales`)one of newest, price, views, salesdefault "newest"
limitquery · optionalintegerResults per page, 1-1001-100default 25
cursorquery · optionalstringThe `next_cursor` from the previous page

Request

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

Response

200 OK
{
  "data": [
    {
      "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
      "slug": "merino-crew-sweater",
      "title": "Merino crew sweater",
      "status": "published",
      "price": 128,
      "compare_at_price": 160,
      "category_slug": "womens-sweaters",
      "stock": 42,
      "image": "https://images.example.com/crew.jpg",
      "views": 1840,
      "likes": 96,
      "units_sold": 37,
      "revenue": 4736,
      "scheduled_at": null,
      "published_at": "2026-10-02T15:04:00.000Z",
      "updated_at": "2026-10-02T15:04:00.000Z"
    }
  ],
  "next_cursor": "MjU"
}

List product categories

GET/api/v1/products/categories

The storefront categories a product can be filed under, grouped by department. Use a `slug` from here as `category_slug` when you create or edit a product.

Scope
products:read
MCP tool
products_categories
Changes data
No

Parameters

No parameters.

Request

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

Response

200 OK
{
  "data": [
    {
      "department": "Women",
      "categories": [
        {
          "slug": "womens-dresses",
          "name": "Dresses"
        },
        {
          "slug": "womens-sweaters",
          "name": "Sweaters"
        }
      ]
    }
  ]
}

Get a product

GET/api/v1/products/{id}

One product in full: description, photos, tags, badges, stock, status and its schedule, all-time sales, and its storefront URL when it is live.

Scope
products:read
MCP tool
products_get
Changes data
No

Parameters

NameTypeDescription
idpath · requiredstring (uuid)The resource id

Request

curl "https://3commerce.com/api/v1/products/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c" \
  -H "Authorization: Bearer 3c_live_…"

Response

200 OK
{
  "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
  "slug": "merino-crew-sweater",
  "title": "Merino crew sweater",
  "description": "A midweight merino crew, knit in Portugal.",
  "price": 128,
  "compare_at_price": 160,
  "category_slug": "womens-sweaters",
  "status": "published",
  "scheduled_at": null,
  "published_at": "2026-10-02T15:04:00.000Z",
  "stock": 42,
  "images": [
    {
      "src": "https://images.example.com/crew.jpg",
      "alt": "Merino crew sweater",
      "width": 1200,
      "height": 1600
    }
  ],
  "tags": [
    "merino",
    "knitwear"
  ],
  "badges": [
    "new"
  ],
  "source": "manual",
  "library_product_id": null,
  "views": 1840,
  "likes": 96,
  "units_sold": 37,
  "revenue": 4736,
  "storefront_url": "https://3commerce.com/product/merino-crew-sweater",
  "created_at": "2026-09-28T10:12:00.000Z",
  "updated_at": "2026-10-02T15:04:00.000Z"
}

Create a product

POST/api/v1/products

Adds a product to the shop as a draft, live now, or scheduled. Its URL slug comes from the title. Going live needs at least 1 photo.

Scope
products:write
MCP tool
products_create
Changes data
Yes
Idempotency-Key
Accepted

Parameters

NameTypeDescription
titlebody · requiredstringProduct title, 2-120 characters2-120 chars
descriptionbody · optionalstringPlain text, up to 5000 charactersmax 5000 charsdefault ""
pricebody · requirednumberPrice in USD, e.g. 48.5 for $48.500-100000
compare_at_pricebody · optionalnumber or nullThe struck-through "was" price in USD. Must be more than `price`; null clears it0-100000
category_slugbody · requiredenumA storefront category slug from `products.categories`, e.g. `womens-sweaters`one of womens-dresses, womens-jumpsuits, womens-tops, womens-sweaters, womens-trousers, womens-sets, womens-swimwear, womens-lingerie, womens-shoes, womens-jewelry, womens-watches, womens-sunglasses, womens-bags, womens-accessories, womens-fragrance, mens-tops, mens-shirts, mens-sweaters, mens-jackets, mens-trousers, mens-swimwear, mens-shoes, mens-watches, mens-sunglasses, mens-accessories, mens-jewelry, mens-bags, mens-fragrance, home-decor, home-furniture, home-kitchen, home-bedding, home-storage, home-lighting, tech-phone, tech-audio, tech-desk, tech-gadgets, tech-smart-home, tech-wearables, tech-gaming, tech-cameras, tech-pro-audio, tech-power, tech-tv, outdoor-sports, outdoor-fitness, outdoor-camping, outdoor-travel, outdoor-luggage, outdoor-cycling, outdoor-ebikes, outdoor-water, outdoor-garden, beauty-makeup, beauty-hair, beauty-skincare, beauty-bath, beauty-wellness, pets-dogs, pets-cats, pets-small, office-desk, office-paper, office-writing, office-school, office-art, auto-interior, auto-seat-covers, auto-tech, auto-cleaning, auto-exterior, gifts-stationery, gifts-tarot, gifts-games
stockbody · optionalintegerUnits on hand, 0-1,000,0000-1000000default 0
tagsbody · optionalarray of stringUp to 20 lowercase search tags, each under 40 charactersmax 20 items
badgesbody · optionalarray of enumFlags shown on the product card: new, sale, bestseller, limited, exclusiveone of new, sale, bestseller, limited, exclusive
imagesbody · optionalarray of objectGallery photos in order, the first is the cover. Up to 12; at least 1 to go livemax 12 itemsdefault []
statusbody · optionalenum`draft` hides it, `published` puts it live now, `scheduled` puts it live at `scheduled_at`one of draft, published, scheduleddefault "draft"
scheduled_atbody · optionalstring (date-time)ISO 8601 time to go live, required with `status: scheduled`, within the next year

Request

curl -X POST "https://3commerce.com/api/v1/products" \
  -H "Authorization: Bearer 3c_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Linen overshirt",
  "price": 48,
  "category_slug": "womens-dresses"
}'

Response

201 Created
{
  "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
  "slug": "merino-crew-sweater",
  "title": "Merino crew sweater",
  "description": "A midweight merino crew, knit in Portugal.",
  "price": 128,
  "compare_at_price": 160,
  "category_slug": "womens-sweaters",
  "status": "draft",
  "scheduled_at": null,
  "published_at": null,
  "stock": 42,
  "images": [
    {
      "src": "https://images.example.com/crew.jpg",
      "alt": "Merino crew sweater",
      "width": 1200,
      "height": 1600
    }
  ],
  "tags": [
    "merino",
    "knitwear"
  ],
  "badges": [
    "new"
  ],
  "source": "manual",
  "library_product_id": null,
  "views": 1840,
  "likes": 96,
  "units_sold": 0,
  "revenue": 4736,
  "storefront_url": null,
  "created_at": "2026-09-28T10:12:00.000Z",
  "updated_at": "2026-10-02T15:04:00.000Z"
}

Update a product

PATCH/api/v1/products/{id}

Changes any of a product's fields; omitted fields keep their value. `images`, `tags`, and `badges` replace the whole list. The slug never changes. Setting `status` here works like publish, schedule, or unpublish.

Scope
products:write
MCP tool
products_update
Changes data
Yes

Parameters

NameTypeDescription
idpath · requiredstring (uuid)The resource id
titlebody · optionalstringProduct title, 2-120 characters2-120 chars
descriptionbody · optionalstringPlain text, up to 5000 charactersmax 5000 chars
pricebody · optionalnumberPrice in USD, e.g. 48.5 for $48.500-100000
compare_at_pricebody · optionalnumber or nullThe struck-through "was" price in USD. Must be more than `price`; null clears it0-100000
category_slugbody · optionalenumA storefront category slug from `products.categories`, e.g. `womens-sweaters`one of womens-dresses, womens-jumpsuits, womens-tops, womens-sweaters, womens-trousers, womens-sets, womens-swimwear, womens-lingerie, womens-shoes, womens-jewelry, womens-watches, womens-sunglasses, womens-bags, womens-accessories, womens-fragrance, mens-tops, mens-shirts, mens-sweaters, mens-jackets, mens-trousers, mens-swimwear, mens-shoes, mens-watches, mens-sunglasses, mens-accessories, mens-jewelry, mens-bags, mens-fragrance, home-decor, home-furniture, home-kitchen, home-bedding, home-storage, home-lighting, tech-phone, tech-audio, tech-desk, tech-gadgets, tech-smart-home, tech-wearables, tech-gaming, tech-cameras, tech-pro-audio, tech-power, tech-tv, outdoor-sports, outdoor-fitness, outdoor-camping, outdoor-travel, outdoor-luggage, outdoor-cycling, outdoor-ebikes, outdoor-water, outdoor-garden, beauty-makeup, beauty-hair, beauty-skincare, beauty-bath, beauty-wellness, pets-dogs, pets-cats, pets-small, office-desk, office-paper, office-writing, office-school, office-art, auto-interior, auto-seat-covers, auto-tech, auto-cleaning, auto-exterior, gifts-stationery, gifts-tarot, gifts-games
stockbody · optionalintegerUnits on hand, 0-1,000,0000-1000000
tagsbody · optionalarray of stringUp to 20 lowercase search tags, each under 40 charactersmax 20 items
badgesbody · optionalarray of enumFlags shown on the product card: new, sale, bestseller, limited, exclusiveone of new, sale, bestseller, limited, exclusive
imagesbody · optionalarray of objectGallery photos in order, the first is the cover. Up to 12; at least 1 to go livemax 12 items
statusbody · optionalenum`draft` hides it, `published` puts it live now, `scheduled` puts it live at `scheduled_at`one of draft, published, scheduled
scheduled_atbody · optionalstring (date-time)ISO 8601 time to go live, required with `status: scheduled`, within the next year

Request

curl -X PATCH "https://3commerce.com/api/v1/products/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c" \
  -H "Authorization: Bearer 3c_live_…" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

200 OK
{
  "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
  "slug": "merino-crew-sweater",
  "title": "Merino crew sweater",
  "description": "A midweight merino crew, knit in Portugal.",
  "price": 128,
  "compare_at_price": 160,
  "category_slug": "womens-sweaters",
  "status": "published",
  "scheduled_at": null,
  "published_at": "2026-10-02T15:04:00.000Z",
  "stock": 42,
  "images": [
    {
      "src": "https://images.example.com/crew.jpg",
      "alt": "Merino crew sweater",
      "width": 1200,
      "height": 1600
    }
  ],
  "tags": [
    "merino",
    "knitwear"
  ],
  "badges": [
    "new"
  ],
  "source": "manual",
  "library_product_id": null,
  "views": 1840,
  "likes": 96,
  "units_sold": 37,
  "revenue": 4736,
  "storefront_url": "https://3commerce.com/product/merino-crew-sweater",
  "created_at": "2026-09-28T10:12:00.000Z",
  "updated_at": "2026-10-02T15:04:00.000Z"
}

Delete a product

DELETE/api/v1/products/{id}

Deletes a product for good, with its comments and view history. Past order lines keep their title and price. To hide a product but keep it, use `products.unpublish` instead.

Scope
products:write
MCP tool
products_delete
Changes data
Yes

Parameters

NameTypeDescription
idpath · requiredstring (uuid)The resource id

Request

curl -X DELETE "https://3commerce.com/api/v1/products/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c" \
  -H "Authorization: Bearer 3c_live_…"

Response

200 OK
{
  "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
  "deleted": true
}

Publish a product

POST/api/v1/products/{id}/publish

Puts a draft, scheduled, or archived product live on the storefront now and clears any schedule. It needs at least 1 photo.

Scope
products:write
MCP tool
products_publish
Changes data
Yes

Parameters

NameTypeDescription
idpath · requiredstring (uuid)The resource id

Request

curl -X POST "https://3commerce.com/api/v1/products/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c/publish" \
  -H "Authorization: Bearer 3c_live_…" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

201 Created
{
  "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
  "slug": "merino-crew-sweater",
  "title": "Merino crew sweater",
  "description": "A midweight merino crew, knit in Portugal.",
  "price": 128,
  "compare_at_price": 160,
  "category_slug": "womens-sweaters",
  "status": "published",
  "scheduled_at": null,
  "published_at": "2026-10-02T15:04:00.000Z",
  "stock": 42,
  "images": [
    {
      "src": "https://images.example.com/crew.jpg",
      "alt": "Merino crew sweater",
      "width": 1200,
      "height": 1600
    }
  ],
  "tags": [
    "merino",
    "knitwear"
  ],
  "badges": [
    "new"
  ],
  "source": "manual",
  "library_product_id": null,
  "views": 1840,
  "likes": 96,
  "units_sold": 37,
  "revenue": 4736,
  "storefront_url": "https://3commerce.com/product/merino-crew-sweater",
  "created_at": "2026-09-28T10:12:00.000Z",
  "updated_at": "2026-10-02T15:04:00.000Z"
}

Unpublish a product

POST/api/v1/products/{id}/unpublish

Takes a product off the storefront and back to draft. Also cancels a schedule and restores an archived product. Its sales history stays.

Scope
products:write
MCP tool
products_unpublish
Changes data
Yes

Parameters

NameTypeDescription
idpath · requiredstring (uuid)The resource id

Request

curl -X POST "https://3commerce.com/api/v1/products/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c/unpublish" \
  -H "Authorization: Bearer 3c_live_…" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

201 Created
{
  "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
  "slug": "merino-crew-sweater",
  "title": "Merino crew sweater",
  "description": "A midweight merino crew, knit in Portugal.",
  "price": 128,
  "compare_at_price": 160,
  "category_slug": "womens-sweaters",
  "status": "draft",
  "scheduled_at": null,
  "published_at": "2026-10-02T15:04:00.000Z",
  "stock": 42,
  "images": [
    {
      "src": "https://images.example.com/crew.jpg",
      "alt": "Merino crew sweater",
      "width": 1200,
      "height": 1600
    }
  ],
  "tags": [
    "merino",
    "knitwear"
  ],
  "badges": [
    "new"
  ],
  "source": "manual",
  "library_product_id": null,
  "views": 1840,
  "likes": 96,
  "units_sold": 37,
  "revenue": 4736,
  "storefront_url": null,
  "created_at": "2026-09-28T10:12:00.000Z",
  "updated_at": "2026-10-02T15:04:00.000Z"
}

Schedule a product

POST/api/v1/products/{id}/schedule

Sets a product to go live on the storefront at `scheduled_at`, at least 1 minute ahead and within the next year. It needs at least 1 photo.

Scope
products:write
MCP tool
products_schedule
Changes data
Yes

Parameters

NameTypeDescription
idpath · requiredstring (uuid)The resource id
scheduled_atbody · requiredstring (date-time)ISO 8601 time to go live, required with `status: scheduled`, within the next year

Request

curl -X POST "https://3commerce.com/api/v1/products/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c/schedule" \
  -H "Authorization: Bearer 3c_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "scheduled_at": "2026-12-01T09:00:00.000Z"
}'

Response

201 Created
{
  "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
  "slug": "merino-crew-sweater",
  "title": "Merino crew sweater",
  "description": "A midweight merino crew, knit in Portugal.",
  "price": 128,
  "compare_at_price": 160,
  "category_slug": "womens-sweaters",
  "status": "scheduled",
  "scheduled_at": "2026-12-01T09:00:00.000Z",
  "published_at": "2026-10-02T15:04:00.000Z",
  "stock": 42,
  "images": [
    {
      "src": "https://images.example.com/crew.jpg",
      "alt": "Merino crew sweater",
      "width": 1200,
      "height": 1600
    }
  ],
  "tags": [
    "merino",
    "knitwear"
  ],
  "badges": [
    "new"
  ],
  "source": "manual",
  "library_product_id": null,
  "views": 1840,
  "likes": 96,
  "units_sold": 37,
  "revenue": 4736,
  "storefront_url": null,
  "created_at": "2026-09-28T10:12:00.000Z",
  "updated_at": "2026-10-02T15:04:00.000Z"
}

Get product performance

GET/api/v1/products/{id}/performance

One product's views, units sold, revenue, and conversion (orders per view) over the last `days`, with a day-by-day breakdown. Refunded orders are left out.

Scope
products:read
MCP tool
products_performance
Changes data
No

Parameters

NameTypeDescription
idpath · requiredstring (uuid)The resource id
daysquery · optionalintegerWindow in days, 1-3651-365default 30

Request

curl "https://3commerce.com/api/v1/products/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c/performance" \
  -H "Authorization: Bearer 3c_live_…"

Response

200 OK
{
  "id": "5f1c2a9e-8d3b-4f61-9a0e-2b7c4d1e6f80",
  "days": 7,
  "views": 312,
  "units": 9,
  "orders": 8,
  "revenue": 1152,
  "conversion": 0.0256,
  "daily": [
    {
      "date": "2026-11-19",
      "views": 41,
      "units": 1,
      "revenue": 128
    }
  ]
}