store_changelog
Collection: store_changelogs
All changes to store resources will be logged to this resource, when resources are created, updated or deleted, including their values before and after the change.
Required Scopes
Full
store_full_access
Read
stores_read
Write
stores_write Actions
GET View a store changelog entry
HEAD Get just the header response
OPTIONS Get a response explaining which HTTP methods are supported
Properties (7)
user_id Number · Read-only User id that made the change, when initiated through the admin.
action String · Read-only What action occurred to this resource.
createddeletedupdated resource String · Read-only Name of the resource type that was changed.
resource_id Number · Read-only ID of the resource that was changed.
prev_values String · Read-only Value before the changes. A JSON object containing the previous state of the resource.
new_values String · Read-only Value after the changes. A JSON object containing the new state of the resource.
date_created String (nullable) · Read-only The date this resource was created.
Link Relations (3)
https://api.foxycart.com/changelogs/{id}
Example Representation
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/changelogs/123",
"title": "This store changes log"
},
"fx:user": {
"href": "https://api.foxycart.com/users/999",
"title": "This User"
},
"fx:store": {
"href": "https://api.foxycart.com/stores/456",
"title": "This Store"
}
},
"store_id": 40018,
"user_id": 8956,
"action": "updated",
"resource": "store",
"resource_id": 40018,
"prev_values": {
"store_name": "haha&hehe&hihi11!:)",
"date_modified": "2025-03-28T07:29:08-0700"
},
"new_values": {
"store_name": "416bc80e-6c2b-446e-9615-6923e15e116f",
"date_modified": "2025-04-01T11:06:11-0700"
},
"created_at": "2025-04-01T11:06:11-0700"
}