OCAPI Images 23.2
The Open Commerce API returns URLs to images. The Shop API returns only absolute URLs. For example:
{
"_v" : "23.2",
...
"categories" : [ {
"id" : "mens-clothing",
"image" : "http://example.com/on/demandware.static/Sites-SiteGenesis-Site/Sites-storefront-catalog-en/default/v1345174669086/images/slot/sub_banners/mens-clothing-accessories.jpg"
} ]
}
X
OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.