Hey Tom, do you recommend a trailhead for extending OCAPI with hooks?
3 comentarios
Yes, there's a CustomObjects resource in both the shop and data APIs.
(
https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/OCAPI/current/usage/ShopAPIResources.html and https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/OCAPI/current/usage/DataAPIResources.htmlrespectively)
Custom attributes are also exposed on system objects. Here's a link to the documentation for that.
https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/OCAPI/current/usage/CustomProperties.html