Glue API: Retrieve product offers of concrete products

Edit on GitHub
This page describes the API endpoint contract, which is the same regardless of the serving infrastructure. Storefront API endpoints are served by API Platform (recommended) or the legacy Glue infrastructure; Backend API endpoints currently run on the Glue infrastructure.

To retrieve the product offers of a concrete product, send the request:


GET /concrete-products/{{concrete_product_sku}}/product-offers


PATH PARAMETER DESCRIPTION
{concrete_product_sku}} SKU of a concrete product to retrieve the product offers of.

Request

Request sample: retrieve the product offers of a concrete product

GET https://glue.mysprykershop.com/concrete-products/006_30692993/product-offers

Response

Response sample: retrieve the product offers of a concrete product

{
    "data": [
        {
            "type": "product-offers",
            "id": "offer54",
            "attributes": {
                "merchantSku": null,
                "merchantReference": "MER000005",
                "isDefault": true
            },
            "links": {
                "self": "https://glue.mysprykershop.com/product-offers/offer54"
            }
        }
    ],
    "links": {
        "self": "https://glue.mysprykershop.com/concrete-products/006_30692993/product-offers"
    }
}
ATTRIBUTE TYPE DESCRIPTION
merchantSku String SKU of the merchant the product offer belongs to.
merchantReference String Unique identifier of the merchant.
isDefault Boolean Defines if the product offer is default.