Glue API: Retrieving image sets of abstract products

Edit on GitHub

This 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"
    }
}

ATTRIBUTE DESCRIPTION
name Image set name
externalUrlLarge URLs to the image per image set per image
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.