Skip to main content

Paligo API

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"
}