Retrieve a specification
Arguments
idID!
Specification ID.
Result
The result is a Specification object.
type Query {
specification(id: ID!): Specification!
}
EXAMPLE
{
specification(id: "S1") {
id
name
price { amount currency }
options {
fileFormats
background
crop
verticalAlignment
}
}
}
RESULT
{
"data": {
"specification": {
"id": "S1",
"name": "Cutoutcow",
"price": {"amount": 105, "currency": "EUR"},
"options": {
"fileFormats": ["JPEG", "PNG"],
"background": "transparent",
"crop": "1-1",
"verticalAlignment": "center"
}
}
}
}