Skip to main content

Paligo API

Update variable value

const inputBody = '{
  "value": "string"
}';
const headers = {
  'Content-Type':'application/json',
  'Accept':'application/json'
};

fetch('https://{instance}.paligoapp.com/api/v2/variablevalues/{id}/',
{
  method: 'PUT',
  body: inputBody,
  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

Body parameter

{
  "value": "string"
}

Responses

Status

Meaning

Description

Schema

201

Created

Successful response.

VariableValue

{
  "id": 123,
  "variable_set_id": 123,
  "value": "string",
  "variable_id": 123,
  "variant_id": 123
}