Home > @vsf-enterprise/bigcommerce-api > Endpoints > getOrderProducts
# Endpoints.getOrderProducts() method
Returns the products of the given order. Optional filter parameters can be passed in.
Signature:
getOrderProducts(context: BigcommerceIntegrationContext, params?: GetOrderProductsParameters): Promise<OrderProductResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | GetOrderProductsParameters | (Optional) An object which contains optional properties for retrieving the products of an order. |
Returns:
Promise<OrderProductResponse>