List all specifications

A list of all the predefined or custom specifications can be queried.

A predefined specification is one provided by Ymage to give you a quick start without needing to make your own specifications.

A custom specification is a specification created by you.

Result

The result is a list of specification objects.

type Query {
  customSpecifications: [Specification!]!
  predefinedSpecifications: [Specification!]!
}

EXAMPLE

{
  customSpecifications {
    id
  }
  predefinedSpecifications {
    name
  }
}

RESULT

{
  "data": {
    "customSpecifications": [
      {"id": "S1001"},
      {"id": "S1002"},
      {"id": "S1003"},
      {"id": "S1004"}
    ],
    "predefinedSpecifications": [
      {"name": "Amazon Marketplace"},
      {"name": "ASOS"},
      {"name": "bol.com"},
      {"name": "Cutoutcow"},
      {"name": "eBay"},
      {"name": "Google shopping"}
    ]
  }
}