Skip to content

The assistant’s last change

GET
/storefront/assistant-change
curl --request GET \
--url https://example.com/storefront/assistant-change \
--cookie __Host-bottle.session_token=<__Host-bottle.session_token>

What the business’s assistant last changed in the shop’s drafts over MCP, that can be put back: its kind and the page’s or post’s title. Null when there is none.

The last change, or null

Media typeapplication/json
object
kind
required
string
Allowed values: shop pageDraft pageCreated pageDeleted post postCreated
name
required
string
at
required
string format: date-time

Example

{
"kind": "shop"
}

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

The plan does not include a shop

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Not a member, or without the permission this needs

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Validation failed

Media typeapplication/json
object
error
required
string
Allowed values: validation
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string

Example

{
"error": "validation",
"issues": [
{
"path": "email",
"message": "Invalid email"
}
]
}