API reference
Engagement
Reply to a comment
/api/v1/comments/{id}/reply
Posts the shop’s public reply under a comment on the product page. Replying again replaces the earlier reply.
- Scope
- MCP tool
- comments_reply
- Changes data
- Yes
Parameters
| Name | Type | Description |
|---|---|---|
idpath · required | string (uuid) | The resource id |
bodybody · required | string | The reply, 1-1000 characters |
Request
curl -X POST "https://3commerce.com/api/v1/comments/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c/reply" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{
"body": "Thanks for your order, it ships tomorrow."
}'Response
{
"id": "6f1c…",
"author_name": "Maya Chen",
"avatar_url": null,
"rating": 5,
"body": "The linen is even softer in person.",
"reply": "Thank you, Maya! Wash it cold to keep it that way.",
"replied_at": "2026-11-20T15:04:00.000Z",
"liked": true,
"status": "visible",
"created_at": "2026-11-19T09:12:00.000Z",
"product": {
"id": "2a9d…",
"slug": "linen-overshirt",
"title": "Linen overshirt"
}
}Hide a comment
/api/v1/comments/{id}/hide
Hides a comment from the storefront. It stays in your feed and can be shown again with `comments.unhide`.
- Scope
- MCP tool
- comments_hide
- Changes data
- Yes
Parameters
| Name | Type | Description |
|---|---|---|
idpath · required | string (uuid) | The resource id |
Request
curl -X POST "https://3commerce.com/api/v1/comments/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c/hide" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{}'Response
{
"id": "6f1c…",
"author_name": "Maya Chen",
"avatar_url": null,
"rating": 5,
"body": "The linen is even softer in person.",
"reply": "Thank you, Maya! Wash it cold to keep it that way.",
"replied_at": "2026-11-20T15:04:00.000Z",
"liked": true,
"status": "hidden",
"created_at": "2026-11-19T09:12:00.000Z",
"product": {
"id": "2a9d…",
"slug": "linen-overshirt",
"title": "Linen overshirt"
}
}Show a hidden comment
/api/v1/comments/{id}/unhide
Shows a hidden comment on the storefront again.
- Scope
- MCP tool
- comments_unhide
- Changes data
- Yes
Parameters
| Name | Type | Description |
|---|---|---|
idpath · required | string (uuid) | The resource id |
Request
curl -X POST "https://3commerce.com/api/v1/comments/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c/unhide" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{}'Response
{
"id": "6f1c…",
"author_name": "Maya Chen",
"avatar_url": null,
"rating": 5,
"body": "The linen is even softer in person.",
"reply": "Thank you, Maya! Wash it cold to keep it that way.",
"replied_at": "2026-11-20T15:04:00.000Z",
"liked": true,
"status": "visible",
"created_at": "2026-11-19T09:12:00.000Z",
"product": {
"id": "2a9d…",
"slug": "linen-overshirt",
"title": "Linen overshirt"
}
}List conversations
/api/v1/messages
The inbox: 1 row per customer email, latest activity first, with the last message and how many of the customer’s messages are unread. `q` matches names, emails, and message text.
- Scope
- MCP tool
- messages_threads
- Changes data
- No
Parameters
| Name | Type | Description |
|---|---|---|
qquery · optional | string | Search names, emails, and message text |
limitquery · optional | integer | Results per page, 1-100 |
cursorquery · optional | string | The `next_cursor` from the previous page |
Request
curl "https://3commerce.com/api/v1/messages" \
-H "Authorization: Bearer 3c_live_…"Response
{
"data": [
{
"customer_email": "sam@example.com",
"customer_name": "Sam Rivera",
"avatar_url": null,
"last_message": {
"body": "Does the jacket run large?",
"direction": "in",
"created_at": "2026-11-24T18:30:00.000Z"
},
"unread": 1
}
],
"next_cursor": null
}Get a conversation
/api/v1/messages/{email}
Every message between the shop and 1 customer, oldest first. `in` messages come from the customer and `out` ones from the shop. Reading does not mark them read: call `messages.mark_read`.
- Scope
- MCP tool
- messages_thread
- Changes data
- No
Parameters
| Name | Type | Description |
|---|---|---|
emailpath · required | string | The customer’s email address, URL-encoded in the path |
Request
curl "https://3commerce.com/api/v1/messages/ada@example.com" \
-H "Authorization: Bearer 3c_live_…"Response
{
"customer_email": "sam@example.com",
"customer_name": "Sam Rivera",
"avatar_url": null,
"messages": [
{
"id": "91be…",
"direction": "in",
"body": "Does the jacket run large?",
"created_at": "2026-11-24T18:30:00.000Z"
},
{
"id": "3c07…",
"direction": "out",
"body": "It runs true to size.",
"created_at": "2026-11-24T19:02:00.000Z"
}
]
}Reply in a conversation
/api/v1/messages/{email}
Sends the shop’s reply to a customer who has already written to you: it is saved in the conversation, emailed to the shopper with the shop owner as reply-to, and the conversation becomes `pending` until they answer. `emailed` is false when the address bounced or reported spam. It cannot start a conversation: an email with no thread is a 404.
- Scope
- MCP tool
- messages_send
- Changes data
- Yes
Parameters
| Name | Type | Description |
|---|---|---|
emailpath · required | string | The customer’s email address, URL-encoded in the path |
bodybody · required | string | The reply, 1-2000 characters |
Request
curl -X POST "https://3commerce.com/api/v1/messages/ada@example.com" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{
"body": "Thanks for your order, it ships tomorrow."
}'Response
{
"id": "3c07…",
"direction": "out",
"body": "It runs true to size.",
"created_at": "2026-11-24T19:02:00.000Z",
"emailed": true,
"conversation_status": "pending"
}Mark a conversation read
/api/v1/messages/{email}/read
Marks every unread message from 1 customer read, as opening the conversation in the dashboard does.
- Scope
- MCP tool
- messages_mark_read
- Changes data
- Yes
Parameters
| Name | Type | Description |
|---|---|---|
emailpath · required | string | The customer’s email address, URL-encoded in the path |
Request
curl -X POST "https://3commerce.com/api/v1/messages/ada@example.com/read" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{}'Response
{
"customer_email": "sam@example.com",
"marked": 1
}List inbox conversations
/api/v1/conversations
The help desk view of the inbox: each conversation’s `status` (open, pending, closed), priority, and assignee, urgent first, then latest. `filter` narrows to unread, high priority, or unassigned ones.
- Scope
- MCP tool
- conversations_list
- Changes data
- No
Parameters
| Name | Type | Description |
|---|---|---|
statusquery · optional | enum | Which status; `all` for every one |
filterquery · optional | enum | A narrower view |
qquery · optional | string | Search names, emails, and message text |
limitquery · optional | integer | Results per page, 1-100 |
cursorquery · optional | string | The `next_cursor` from the previous page |
Request
curl "https://3commerce.com/api/v1/conversations" \
-H "Authorization: Bearer 3c_live_…"Response
{
"data": [
{
"customer_email": "sam@example.com",
"customer_name": "Sam Rivera",
"avatar_url": null,
"last_message": {
"body": "Does the jacket run large?",
"direction": "in",
"created_at": "2026-11-24T18:30:00.000Z"
},
"unread": 1,
"status": "open",
"priority": "normal",
"assignee": null
}
],
"next_cursor": null
}Update a conversation
/api/v1/conversations/{email}
Sets a conversation’s `status`, `priority`, or `assignee`: the email of a team member who can reply to customers, or an empty string to unassign. Anyone else is 422 `invalid_assignee`.
- Scope
- MCP tool
- conversations_update
- Changes data
- Yes
Parameters
| Name | Type | Description |
|---|---|---|
emailpath · required | string | The customer’s email address, URL-encoded in the path |
statusbody · optional | enum | Where it stands |
prioritybody · optional | enum | How urgent it is |
assigneebody · optional | string | A team member’s email, or empty to unassign |
Request
curl -X PATCH "https://3commerce.com/api/v1/conversations/ada@example.com" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{}'Response
{
"customer_email": "sam@example.com",
"customer_name": "Sam Rivera",
"avatar_url": null,
"last_message": {
"body": "Does the jacket run large?",
"direction": "in",
"created_at": "2026-11-24T18:30:00.000Z"
},
"unread": 1,
"status": "closed",
"priority": "normal",
"assignee": null
}List saved replies
/api/v1/saved-replies
The shop’s canned responses for the inbox, by title.
- Scope
- MCP tool
- saved_replies_list
- Changes data
- No
Parameters
| Name | Type | Description |
|---|---|---|
limitquery · optional | integer | Results per page, 1-100 |
cursorquery · optional | string | The `next_cursor` from the previous page |
Request
curl "https://3commerce.com/api/v1/saved-replies" \
-H "Authorization: Bearer 3c_live_…"Response
{
"data": [
{
"id": "7e1f…",
"title": "Sizing",
"body": "Our sizes run true to size."
}
],
"next_cursor": null
}Create a saved reply
/api/v1/saved-replies
Saves a canned response the team can drop into a reply.
- Scope
- MCP tool
- saved_replies_create
- Changes data
- Yes
- Idempotency-Key
- Accepted
Parameters
| Name | Type | Description |
|---|---|---|
titlebody · required | string | Its name in the picker |
bodybody · required | string | The reply text |
Request
curl -X POST "https://3commerce.com/api/v1/saved-replies" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{
"title": "Linen overshirt",
"body": "Thanks for your order, it ships tomorrow."
}'Response
{
"id": "7e1f…",
"title": "Sizing",
"body": "Our sizes run true to size."
}Delete a saved reply
/api/v1/saved-replies/{id}
Deletes 1 of the shop’s saved replies.
- Scope
- MCP tool
- saved_replies_delete
- Changes data
- Yes
Parameters
| Name | Type | Description |
|---|---|---|
idpath · required | string (uuid) | The resource id |
Request
curl -X DELETE "https://3commerce.com/api/v1/saved-replies/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c" \
-H "Authorization: Bearer 3c_live_…"Response
{
"id": "7e1f…",
"deleted": true
}List notifications
/api/v1/notifications
The shop’s activity feed, newest first: orders, comments, follows, refunds, payouts, likes, and system notices. Filter by kind or to unread ones.
- Scope
- MCP tool
- notifications_list
- Changes data
- No
Parameters
| Name | Type | Description |
|---|---|---|
kindquery · optional | enum | Only notifications of this kind |
unreadquery · optional | boolean | Only unread notifications |
limitquery · optional | integer | Results per page, 1-100 |
cursorquery · optional | string | The `next_cursor` from the previous page |
Request
curl "https://3commerce.com/api/v1/notifications" \
-H "Authorization: Bearer 3c_live_…"Response
{
"data": [
{
"id": "b4e2…",
"kind": "order",
"title": "New order #1042",
"body": "Sam Rivera bought 2 items for $148.00.",
"href": "/dashboard/orders/1042",
"read": false,
"read_at": null,
"created_at": "2026-11-25T08:41:00.000Z"
}
],
"next_cursor": null
}Mark a notification read
/api/v1/notifications/{id}/read
Marks 1 notification read and returns it. A notification already read keeps its first `read_at`.
- Scope
- MCP tool
- notifications_mark_read
- Changes data
- Yes
Parameters
| Name | Type | Description |
|---|---|---|
idpath · required | string (uuid) | The resource id |
Request
curl -X POST "https://3commerce.com/api/v1/notifications/6f1c2a4e-8b3d-4c5e-9a7f-1d2e3f4a5b6c/read" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{}'Response
{
"id": "b4e2…",
"kind": "order",
"title": "New order #1042",
"body": "Sam Rivera bought 2 items for $148.00.",
"href": "/dashboard/orders/1042",
"read": true,
"read_at": "2026-11-25T09:00:00.000Z",
"created_at": "2026-11-25T08:41:00.000Z"
}Mark every notification read
/api/v1/notifications/read-all
Marks all of the shop’s unread notifications read and returns how many changed.
- Scope
- MCP tool
- notifications_mark_all_read
- Changes data
- Yes
Parameters
No parameters.
Request
curl -X POST "https://3commerce.com/api/v1/notifications/read-all" \
-H "Authorization: Bearer 3c_live_…" \
-H "Content-Type: application/json" \
-d '{}'Response
{
"marked": 4
}
List comments
GET
/api/v1/commentsShopper comments and ratings on your products, newest first, with your reply if any. Filter by product, by visibility, or to unanswered ones (visible comments with no reply).
Parameters
product_idquery · optionalstatusquery · optionalunansweredquery · optionallimitquery · optionalcursorquery · optionalRequest
Response