diff --git a/framework/bigcommerce/api/utils/parse-item.ts b/framework/bigcommerce/api/utils/parse-item.ts index 14c9ac53d..bb59a6ec4 100644 --- a/framework/bigcommerce/api/utils/parse-item.ts +++ b/framework/bigcommerce/api/utils/parse-item.ts @@ -10,7 +10,7 @@ type BCCartItemBody = { product_id: number variant_id: number quantity?: number - option_selections?: OptionSelections + option_selections?: OptionSelections[] } export const parseWishlistItem = ( diff --git a/framework/bigcommerce/types/cart.ts b/framework/bigcommerce/types/cart.ts index 83076ea09..33c01e4c6 100644 --- a/framework/bigcommerce/types/cart.ts +++ b/framework/bigcommerce/types/cart.ts @@ -40,7 +40,7 @@ export type OptionSelections = { export type CartItemBody = Core.CartItemBody & { productId: string // The product id is always required for BC - optionSelections?: OptionSelections + optionSelections?: OptionSelections[] } export type CartTypes = {