Retrieving image sets of concrete products

Edit on GitHub

This endpoint allows retrieving image sets of concrete products.

Installation

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

Retrieve image sets of a concrete product

To retrieve image sets of a concrete product, send the request:


GET /concrete-products/{{concrete_product_sku}}/concrete-product-image-sets


PATH PARAMETER DESCRIPTION
{{concrete_product_sku}} SKU of a concrete product to get the image sets of.

Request

Request sample : GET http://glue.mysprykershop.com/concrete-products/001_25904006/concrete-product-image-sets

Response

Response sample
{
    "data": [
        {
            "type": "concrete-product-image-sets",
            "id": "177_25913296",
            "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/concrete-products/177_25913296/concrete-product-image-sets"
            }
        }
    ],
    "links": {
        "self": "http://glue.mysprykershop.com/concrete-products/177_25913296/concrete-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
304 Can’t find concrete product image sets.

To view generic errors that originate from the Glue Application, see Reference information: GlueApplication errors.