languages

Description

This property helper lets you know which lanugages are currently supported.

Sandbox Example

You can interact with this resource and run actions against the sandbox API via our HAL Brower.

Actions

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

Properties

Property Description Type Constraints
message A small, human readable explanation of this property helper. String Read only
values JSON objects with the languages supported. The key values are the values you use for the Store resource's language property. JSON Read only

Example Representation

{
    "_links": {
        "curies": [
            {
                "name": "fx",
                "href": "https://api.foxycart.com/rels/{rel}",
                "templated": true
            }
        ],
        "self": {
            "href": "https://api.foxycart.com/property_helpers/languages",
            "title": "List of valid language values for the Store resource language setting."
        },
        "fx:property_helpers": {
            "href": "https://api.foxycart.com/property_helpers",
            "title": "Property Helpers Home"
        }
    },
    "message": "The values listed here are the correct values for the Store language field. They represent the default language for text in the cart, checkout, and receipt. The values are listed in the format value => description.",
    "values": {
        "dutch": "Dutch",
        "english": "English",
        "spanish": "Spanish",
        "swedish": "Swedish",
        "finnish": "Finnish",
        "french": "French",
        "german": "German",
        "chinese": "Chinese",
        "norwegian": "Norwegian",
        "italian": "Italian"
    }
}
<?xml version="1.0" encoding="UTF-8"?>
<resource href="https://api.foxycart.com/property_helpers/languages">
  <link rel="self" href="https://api.foxycart.com/property_helpers/languages" title="List of valid language values for the Store resource language setting."/>
  <link rel="https://api.foxycart.com/rels/property_helpers" href="https://api.foxycart.com/property_helpers" title="Property Helpers Home"/>
  <message>The values listed here are the correct values for the Store language field. They represent the default language for text in the cart, checkout, and receipt. The values are listed in the format value =&amp;gt; description.</message>
  <values>
    <dutch>Dutch</dutch>
    <english>English</english>
    <spanish>Spanish</spanish>
    <swedish>Swedish</swedish>
    <finnish>Finnish</finnish>
    <french>French</french>
    <german>German</german>
    <chinese>Chinese</chinese>
    <norwegian>Norwegian</norwegian>
    <italian>Italian</italian>
  </values>
</resource>
{
    "properties": {
        "message": "The values listed here are the correct values for the Store language field. They represent the default language for text in the cart, checkout, and receipt. The values are listed in the format value => description.",
        "values": {
            "dutch": "Dutch",
            "english": "English",
            "spanish": "Spanish",
            "swedish": "Swedish",
            "finnish": "Finnish",
            "french": "French",
            "german": "German",
            "chinese": "Chinese",
            "norwegian": "Norwegian",
            "italian": "Italian"
        }
    },
    "links": [
        {
            "rel": [
                "self"
            ],
            "href": "https://api.foxycart.com/property_helpers/languages"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/property_helpers"
            ],
            "href": "https://api.foxycart.com/property_helpers"
        }
    ]
}

Zoomable Resources

This resource has no linked resources which can be "zoomed" in on, filtered and embedded within this resource.