Variablen

1 min read

Variablenwert aktualisieren

 
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);
});
Körperparameter
 
{
  "value": "string"
}
Antworten

Status

Bedeutung

Beschreibung

Schema

201

Erstellt

Antwort erfolgreich.

Variablenwert

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