All Collections
Cloud Commerce Pro
API
CCP - Open API: Getting Product Information
CCP - Open API: Getting Product Information

Using the API to get product information and stock levels

Chelsea Kelly avatar
Written by Chelsea Kelly
Updated over a week ago

There are several different API calls you can use to query products, but exactly which to use and when will really depend on the context of what information you need and what you already have to work with.

Some general notes about querying products

Sometimes, the same function exists on different endpoints as the endpoint can be used to refine the query by allowing for more inputs.

For example getProductByManufacturerSKU is available on both the Products and Sales Channel endpoints, however - only a SKU can be given in the context of the product, however to check the same product in context of the Sales Channel, you would be expected to also provide a SalesChannelID.

Be aware, that these functions are likely to return the same standard Product objects - namely:-

  • a "lite" version, which has minimal data but will provide enough to find products that match what you are looking for and give you the IDs you need to do a more detailed lookup

  • a "full" version, which has a placeholder for everything, however, depending on the context the function is used and system configuration, not all values will be necessarily be populated

More detailed Product information via API guides

Did this answer your question?