Glue API: Retrieving image sets of abstract products
Edit on GitHubThis endpoint allows retrieving image sets of abstract products.
Installation
For detailed information on the modules that provide the API functionality and related installation instructions, see:
Retrieve image sets of an abstract product
To retrieve image sets of an abstract product, send the request:
GET
/abstract-products/{{abstract_product_sku}}/abstract-product-image-sets
PATH PARAMETER | DESCRIPTION |
---|---|
{{abstract_product_sku}} | SKU of an abstract product to get the image sets of. |
Request
Request sample: retrieve image sets of an abstract product
GET http://glue.mysprykershop.com/abstract-products/001/abstract-product-image-sets
Response
Response sample: retrieve image sets of an abstract product
{
"data": [
{
"type": "abstract-product-image-sets",
"id": "177",
"attributes": {
"imageSets": [
{
"name": "default",
"images": [
{
"externalUrlLarge": "//images.icecat.biz/img/norm/high/24867659-4916.jpg",
"externalUrlSmall": "//images.icecat.biz/img/norm/medium/24867659-4916.jpg"
}
]
}
]
},
"links": {
"self": "http://glue.mysprykershop.com/abstract-products/177/abstract-product-image-sets"
}
}
],
"links": {
"self": "http://glue.mysprykershop.com/abstract-products/177/abstract-product-image-sets"
}
}
RESOURCE | ATTRIBUTE | DESCRIPTION |
---|---|---|
abstract-product-image-sets | name | Image set name. |
abstract-product-image-sets | externalUrlLarge | URLs to the image per image set per image. |
abstract-product-image-sets | externalUrlSmall | URLs to the image per image set per image. |
Possible errors
CODE | REASON |
---|---|
303 | Can’t find abstract product image sets. |
311 | Abstract product SKU is not specified. |
To view generic errors that originate from the Glue Application, see Reference information: GlueApplication errors.
Thank you!
For submitting the form