By default, which URL format is a proper Open Commerce API for Sandbox?

A Digital Developer is working in a sandbox on a site named test-site using the domain test.demandware.net. The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information.

By default, which URL format is a proper Open Commerce API for Sandbox?
A . https://test.demandware.com/dw/shop/products/M1355?client_id=aaa…
B . https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa…
C . https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa…
D . https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa…

Answer: C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2FOCAPI%2Fcurrent%2Fusage%2FAPIExplorer.html

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments