language_overrides

Resource: language_override

This link relationship returns a collection of language overrides. 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 templates_read
Write templates_write

Collection Resource

language_override

Actions

GET View a list of language_overrides
POST Create a new language override
HEAD Get just the header response
OPTIONS Get a response explaining which HTTP methods are supported

Properties (5)

_embedded Object · Read-only

Contains fx:language_overrides[] — array of language_override 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/template_sets/{template_set_id}/language_overrides
Available via fx:language_overrides on language_override·fx:language_overrides on template_set

Example Representation

{
  "_links": {
    "curies": [
      {
        "name": "fx",
        "href": "https://api.foxycart.com/rels/{rel}",
        "templated": true
      }
    ],
    "self": {
      "href": "https://api.foxycart.com/stores/123/language_overrides",
      "title": "This Collection"
    },
    "first": {
      "href": "https://api.foxycart.com/stores/123/language_overrides?offset=0",
      "title": "First Page of this Collection"
    },
    "prev": {
      "href": "https://api.foxycart.com/stores/123/language_overrides?offset=0",
      "title": "Previous Page of this Collection"
    },
    "next": {
      "href": "https://api.foxycart.com/stores/123/language_overrides?offset=20",
      "title": "Next Page of this Collection"
    },
    "last": {
      "href": "https://api.foxycart.com/stores/123/language_overrides?offset=20",
      "title": "Last Page of this Collection"
    }
  },
  "_embedded": {
    "fx:language_overrides": [
      {
        "_links": {
          "curies": [
            {
              "name": "fx",
              "href": "https://api.foxycart.com/rels/{rel}",
              "templated": true
            }
          ],
          "self": {
            "href": "https://api.foxycart.com/language_overrides/456",
            "title": "This Language Override"
          },
          "fx:language_overrides": {
            "href": "https://api.foxycart.com/template_sets/111/language_overrides",
            "title": "Language Overrides for this template set"
          },
          "fx:store": {
            "href": "https://api.foxycart.com/stores/456",
            "title": "This Store"
          },
          "fx:template_set": {
            "href": "https://api.foxycart.com/template_sets/111",
            "title": "This Template Set"
          }
        },
        "code": "cart_caption",
        "gateway": "",
        "custom_value": "The Cart of Wonder",
        "date_created": "2015-05-21T14:46:15-0700",
        "date_modified": "2015-05-21T14:46:15-0700"
      }
    ]
  },
  "total_items": 1,
  "returned_items": 1,
  "limit": 20,
  "offset": 0
}