Languages
Languages are the top-level scope in the Reloadify API. All resources — profiles, products, orders, and more — belong to a language. If your store operates in multiple languages or regions, each one is represented as a separate language.
The language model
The language model represents a store language or region in your Reloadify account.
Properties
- Name
id- Type
- string
- Description
Unique identifier for the language.
List all languages
This endpoint allows you to retrieve a paginated list of all languages in your account.
Optional attributes
- Name
page- Type
- integer
- Description
Page offset to fetch. Defaults to
1.
- Name
per_page- Type
- integer
- Description
Number of items per page. Defaults to
10, maximum250.
Request
curl -G https://app.reloadify.com/api/v2/languages \
-H "Authorization: Bearer {token}"
Response
{
"data": [
{
"id": "en"
},
{
"id": "nl"
},
{
"id": "de"
}
]
}
Create or update a language
This endpoint allows you to create or update a language configuration.
Request
curl -X PUT https://app.reloadify.com/api/v2/languages \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{"language": {"id": "fr"}}'
Response
{
"id": "fr"
}
Retrieve a language
This endpoint allows you to retrieve a specific language by its ID.
Request
curl https://app.reloadify.com/api/v2/languages/en \
-H "Authorization: Bearer {token}"
Response
{
"id": "en"
}
Delete a language
This endpoint allows you to delete a language. This is a destructive action — all resources associated with this language will also be removed.
Request
curl -X DELETE https://app.reloadify.com/api/v2/languages/fr \
-H "Authorization: Bearer {token}"