Home > @vsf-enterprise/epcc-api > CartEndpoints > createTaxItems
# CartEndpoints.createTaxItems() method
Creates tax items for a cart item.
Signature:
createTaxItems(context: ElasticPathIntegrationContext, params: CreateTaxItemsParams): Promise<ItemTaxObject[]>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | ElasticPathIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | CreateTaxItemsParams | An object which contains necessary properties for creating a tax item. |
Returns:
Promise<ItemTaxObject[]>