API Reference

Available queries

Attribute - Returns a single attribute based on the id provided

query {
  Attribute (id: 100012) {
    id
    label
    option {
      id
      label
    }
  }
}

Attributes - Returns a list of attributes based on the filter define

query {
  attributes {
    data {
    	id
    	label
    }
  }
}


Available fields

id - Int
Unique identifier of the attribute
label - String
Name of the attribute (ex: Red, Blue, XL, M)
option - Option - Subquery
Option of the attribute


Filters

You can create filters based on following fields

label
Example:{ "column" : "LABEL", "operator" : "EQ", "value" : "blue" }
option_id
Example: { "column" : "OPTION_ID", "operator" : "EQ", "value" : 199876 }

Sorting

You can sort data based on following fields : id, label