variables

8 of 19 in this chapter 1 min read

Show variable variant

 
const headers = {
  'Accept':'application/json'
};
 
fetch('https://{instance}.paligoapp.com/api/v2/variants/{id}',
{
  method: 'GET',
 
  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
Responses

Status

Meaning

Description

Schema

200

OK

Successful response.

Variant

 
{
  "id": 123,
  "variable_set_id": 380,
  "title": "Acme 2000"
}