languages
Description
This property helper lets you know which lanugages are currently supported.
Interact with this resource
To interact with this resource and see it in the context of the API, you can utilise Postman or your Terminal/Console to perform requests. If you have a Foxy store, you can also use the API browser in the admin to interact with resources connected to your store.
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": { "brazilian_portuguese": "Brazilian Portuguese", "bulgarian": "Bulgarian", "chinese_traditional": "Chinese Traditional", "chinese": "Chinese", "dutch": "Dutch", "english": "English", "finnish": "Finnish", "french": "French", "german": "German", "italian": "Italian", "norwegian": "Norwegian", "polish": "Polish", "romanian": "Romanian", "russian": "Russian", "spanish": "Spanish", "swedish": "Swedish" } }
<?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 =&gt; description.</message> <values> <brazilian_portuguese>Brazilian Portuguese</brazilian_portuguese> <bulgarian>Bulgarian</bulgarian> <chinese_traditional>Chinese Traditional</chinese_traditional> <chinese>Chinese</chinese> <dutch>Dutch</dutch> <english>English</english> <finnish>Finnish</finnish> <french>French</french> <german>German</german> <italian>Italian</italian> <norwegian>Norwegian</norwegian> <polish>Polish</polish> <romanian>Romanian</romanian> <russian>Russian</russian> <spanish>Spanish</spanish> <swedish>Swedish</swedish> </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": { "brazilian_portuguese": "Brazilian Portuguese", "bulgarian": "Bulgarian", "chinese_traditional": "Chinese Traditional", "chinese": "Chinese", "dutch": "Dutch", "english": "English", "finnish": "Finnish", "french": "French", "german": "German", "italian": "Italian", "norwegian": "Norwegian", "polish": "Polish", "romanian": "Romanian", "russian": "Russian", "spanish": "Spanish", "swedish": "Swedish" } }, "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.