transaction_logs

Resource: transaction_log_detail

This link relationship returns a collection of transaction logs. You can paginate through this collection using the hypermedia links provided and the link relationships of first, prev, next, and last.

Required Scopes

Full store_full_access
Read transactions_read
Write transactions_write

Collection Resource

transaction_log_detail

Actions

GET View a list of transaction_logs
HEAD Get just the header response
OPTIONS Get a response explaining which HTTP methods are supported

Properties (5)

_embedded Object · Read-only

Contains fx:transaction_logs[] — array of transaction_log_detail resources

total_items String · Read-only

Total number of resources in this collection.

returned_items Number · Read-only

Number of resources returned in this page.

limit Number · Read-only

Maximum number of resources per page.

offset Number · Read-only

Number of resources skipped.

Link Relations (5)

self This Collection
first First Page of this Collection
prev Previous Page of this Collection
next Next Page of this Collection
last Last Page of this Collection
https://api.foxycart.com/transactions/{transaction_id}/transaction_logs
Available via fx:transaction_logs on transaction

Example Representation

{
  "_links": {
    "curies": [
      {
        "name": "fx",
        "href": "https://api.foxycart.com/rels/{rel}",
        "templated": true
      }
    ],
    "self": {
      "href": "https://api.foxycart.com/stores/123/transaction_logs",
      "title": "This Collection"
    },
    "first": {
      "href": "https://api.foxycart.com/stores/123/transaction_logs?offset=0",
      "title": "First Page of this Collection"
    },
    "prev": {
      "href": "https://api.foxycart.com/stores/123/transaction_logs?offset=0",
      "title": "Previous Page of this Collection"
    },
    "next": {
      "href": "https://api.foxycart.com/stores/123/transaction_logs?offset=20",
      "title": "Next Page of this Collection"
    },
    "last": {
      "href": "https://api.foxycart.com/stores/123/transaction_logs?offset=20",
      "title": "Last Page of this Collection"
    }
  },
  "_embedded": {
    "fx:transaction_logs": [
      {
        "_links": {
          "curies": [
            {
              "name": "fx",
              "href": "https://api.foxycart.com/rels/{rel}",
              "templated": true
            }
          ],
          "self": {
            "href": "https://api.foxycart.com/transaction_log_details/456",
            "title": "This Transaction Log Detail"
          },
          "fx:store": {
            "href": "https://api.foxycart.com/stores/456",
            "title": "This Store"
          },
          "fx:transaction_log": {
            "href": "https://api.foxycart.com/transaction_logs/999",
            "title": "This Transaction Log"
          }
        },
        "request_type": "item_edit",
        "reference": "foo: 5638510",
        "log": "{\"rel\":\"item\",\"id\":\"5638510\",\"old_values\":{\"options\":{\"4813185\":{\"price_mod\":\"10.0000000000\"}}},\"new_values\":{\"options\":{\"4813185\":{\"name\":\"Test\",\"value\":\"test\",\"price_mod\":0}}}}"
      }
    ]
  },
  "total_items": 1,
  "returned_items": 1,
  "limit": 20,
  "offset": 0
}