Verilobi API
HomeBeach BotV-WorkV-BuildingV-Worker
HomeBeach BotV-WorkV-BuildingV-Worker
🔗 Teknolobi
🔗 Verilobi
  1. Products
  • About Verilobi Hotel
  • Maps
    • Get Maps
      GET
    • Add Map
      POST
    • Update Map
      PUT
    • Delete Map
      DELETE
  • Other
    • Generate Token
      POST
    • Check Notifications
      GET
    • Get Global Parameters
      POST
  • Languages
    • Get Languages
      GET
    • Get Language Variable
      GET
    • Create New Language
      POST
    • Set Language Variable
      PUT
  • Products
    • Get Languages
      GET
    • Get Language Variable
      GET
    • Create New Language
      POST
    • Set Language Variable
      PUT
  • Requests
    • Cancel Request
      POST
    • Close Request
      POST
    • Get Requests
      GET
    • Get Language Variable
      GET
    • Create New Language
      POST
    • Set Language Variable
      PUT
  • Menu
    • Get Menu
      GET
    • Get Menu Groups
      GET
    • Get Menu Categories
      GET
  • Accounts
    • Open Account
    • Move Account
    • Merge Accounts
    • Split Accounts
    • Create Reservation
    • Delete Reservation
    • Move Account Copy
    • Get Account
  • Order
    • Delete Order
    • Cancel Order
    • Approve Order
    • Create Order
  1. Products

Set Language Variable

PUT
https://api.verilobi.com/verilobi-hotel/languages/{key}

Description#

This endpoint updates or sets the translation of a given value in the requested language. The translation is updated by replacing the existing value with the new value provided in the value parameter in the request body.

Features:#

  • Endpoint: /languages/{key}
  • Operation Name: Set Language Variable
  • Path Parameters:
    • key: string (required) - Key value for website variables or record id for other variables
  • Header Parameters:
    • X-Api-Key: string (required) - API Key
    • Token-Key: string (required) - Access token
  • Body Parameters (multipart/form-data):
    • type: enum<string> (required)

      Allowed values: product, category, group, website

      Default: product

      Examples: product, category, group, language
    • language: string (required)

      Default: en

      Examples: en, tr, ru
    • value: string (required)

      The new translation value that will update or set the existing translation.

Usage Scenario:#

  • The client provides the {key} in the URL path.
  • The valid X-Api-Key and Token-Key are sent in the HTTP header.
  • The body, using multipart/form-data, includes the type, language, and value parameters to specify the new translation value.
  • The endpoint updates or sets the translation for the given key in the specified language with the new value provided.

Request

Path Params

Header Params

Body Params multipart/form-data

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.verilobi.com/verilobi-hotel/languages/' \
--header 'X-Api-Key;' \
--header 'Token-Key;' \
--form 'type=""' \
--form 'language=""' \
--form 'value=""'

Responses

🟢200Success
application/json
Body

Example
{
    "response": "string"
}
Previous
Create New Language
Next
Cancel Request