Home > @vsf-enterprise/bigcommerce-api > Endpoints > getProductsById
# Endpoints.getProductsById() method
Returns a list of Products by Id
Signature:
getProductsById(context: BigcommerceIntegrationContext, params: GetProductsByIdParameters): Promise<ProductsResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | GetProductsByIdParameters | An object containing the ids for products |
Returns:
Promise<ProductsResponse>