Get Started with the B2B Commerce for Visualforce API

This step-by-step tutorial shows how to construct a typical API call for B2B Commerce for Visualforce. First, define the scope of data that you want to request, and submit the request to the appropriate method. Then, parse the data that's returned.

Say that you wanted to programmatically return data for two of your products whose IDs you know. The ccrz.ccApiProduct class provides a fetch method, which you can call from your code to get product data for a set of IDs, names, SKUs, or other criteria.