Demandware / SFCC
To build an integration to Salesforce Commerce Cloud (SFCC) for product catalogue and add to basket functionality we would require the below items:
- A ClientID which is generated by their backend system
- The client must whitelist
player.smartzer.com
andeditor.smartzer.com
. The client should whitelist**\*.smartzer.com**
so it covers our testing servers as well (such asplayer.development.smartzer.com
) - A list of locales for their site which we can use in the API
- The base url of the API - this is usually just the domain of the website
We use the Demandware shop products endpoint similar to:
_http://hostname:port/dw/shop/v22_6/products/({id},...,{id})?expand={String}&inventory_ids={String}¤cy={String}&locale={String}&all_images={Boolean}_
And authenticate on it by passing the client_id
as a URL parameter.
This enables a direct real-time connection between the client’s product catalog and the Smartzer video tagging platform where full product details can be pulled in simply using the product IDs.
We currently support a number of custom fields beyond the standard API response fields. These can be used for:
- Price
- Secondary price (e.g. sale price)
- Brand name
- Out of stock message
- Preferred image type (e.g. Large, medium, hi-res etc)
- Image URL param
- Coming soon message
- Product page URL
- Variant attributes (Separate from standard variant attributes object)
Other custom fields will require additional work.