Retrieving image sets of abstract products

Edit on GitHub
You are browsing a previous version of the document. The latest version is 202212.0.

This endpoint allows to retrieve image sets of abstract products.

Installation

For detailed information on the modules that provide the API functionality and related installation instructions, see:

  • [Glue API: Products Feature Integration](/docs/scos/dev/feature-integration-guides/202009.0/glue-api/glue-api-product-feature-integration.html.

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: GET https://glue.mysprykershop.comm/abstract-products/001/abstract-product-image-sets

Response

Response sample
{
    "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": "https://glue.mysprykershop.comm/abstract-products/177/abstract-product-image-sets"
            }
        }
    ],
    "links": {
        "self": "https://glue.mysprykershop.comm/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 Meaning
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.