Home > @vsf-enterprise/bigcommerce-api > Endpoints > addCartItems
# Endpoints.addCartItems() method
Adds new items to the cart
Signature:
addCartItems(context: BigcommerceIntegrationContext, params: AddLineItemsParameters): Promise<AddLineItemsResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | AddLineItemsParameters | An object which contains necessary properties for adding new items to the cart. |
Returns:
Promise<AddLineItemsResponse>