Loading

image url returned for scapi admin product API still points to URLs that are not accessible

Fecha de publicación: Nov 4, 2026
Descripción

The user reported that the Product Admin API

https:// ((shortCode)).api.commercecloud.salesforce.com/product/products/v1/organizations/f_ecom_ ((SFCC_REALM_ID)) - ((SFCC_INSTANCE_ID)) /products/ (productld} 

returns image absUrl values using {development}-{realmname}.demandware.net, but those URLs are not accessible and return Cloudflare 403. The same static asset is reachable through the Business Manager hostname and the storefront hostname, and the user is interested in understanding why it is routed to the blocked  hostname  for absUrl generation. 

Solución

The API resolves image host values for absUrl and disBaseUrl using the site's http-host or https-host setting, and if those are empty, it uses the Host header of the request that reached the instance.

When request comes on a realm's site which has no custom/vanity domain and blank host preferences the host lookup falls and falls back to the instance FQDN the request has reached. For a SCAPI admin request that header is always the instance FQDN {development/staging}-{realmname}.demandware.net,. That FQDN is behind the Block-All eCDN/Cloudflare WAF, hence the block.

For organization-scoped Admin API requests, this results in the instance hostname being returned and confirms that the behavior is expected for organization-scoped Product Admin API calls. 

 

Número del artículo de conocimiento

005466045

 
Cargando
Salesforce Help | Article