The assistant’s last change
GET
/storefront/assistant-change
const url = 'https://example.com/storefront/assistant-change';const options = { method: 'GET', headers: {cookie: '__Host-bottle.session_token=<__Host-bottle.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The last change, or null
Media typeapplication/json
object
kind
required
string
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
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string
Example
{ "error": "validation", "issues": [ { "path": "email", "message": "Invalid email" } ]}