Get a Specification
GET
/api/v2/specifications/{id}.json
Retrieve a single Specification object using its ID.
Scopes
Requires either the products
or products.readonly
OAuth scope.
Parameters
Accepts the following parameters:
id
required
The ID of the Specification item is supplied as a path parameter. |
Response
Returns an object with the following properties:
success
A boolean where a value of true represents a successful request.
|
status
The HTTP status code e.g. 200 for a successful request.
|
data
Contains the Specification object. |
JSON Example
An example of JSON returned.
{
"success": true,
"status": 200,
"data": {
"id": 53245,
"reference": "color",
"title": "Colour",
"description": null,
"uri": null,
"type": "swatch",
"sequence": 1
}
}