> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CustomerEventCartDetails

> What a cart event is about: `PRODUCT_ADDED_TO_CART` and `PRODUCT_REMOVED_FROM_CART`.

**product** `[CustomerEventProduct](/docs/api-reference/v3/reference/events/customer-event-product)`

The product the shopper added or removed. Null when the event doesn't carry it.

**fields**

**externalReferences** `[\[ExternalReference!\]!](/docs/api-reference/v3/reference/common/external-reference)` *required*

The product and the variant in the storefront that reported the event (provider shopify, bigcommerce, commentsold or commerce-cloud), each when it sent an id. Shopify's are gids.

**fields**

**externalId** `String!` *required*

The id the provider's current API accepts. For Shopify that is the gid, such as gid://shopify/Product/123.

**name** `String`

The record's display name in that system, when known.

**provider** `String!` *required*

The other system, in lowercase, such as shopify or recharge.

**type** `String`

The kind of record when the provider holds several for one entity, such as product or variant. Null when it holds one.

**imageUrl** `String`

The variant's image. Null when the storefront didn't send one.

**price** `[Money](/docs/api-reference/v3/reference/common/money)`

The price of one in the shop's currency, as the storefront reported it, rounded to that currency's decimal places. Null when it didn't send a price or its currency, or sent one too large to be exact.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The exact amount as a decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**sku** `String`

The variant's SKU. Null when the storefront didn't send it.

**title** `String`

The product's title. Null when the storefront didn't send it.

**variantTitle** `String`

The variant's title. Null when the storefront didn't send it, and for a product's only variant, which Shopify titles Default Title.

**quantity** `Int`

How many the shopper added or removed, as a whole number. 1 when the storefront didn't say, or sent a quantity that isn't 0 to 1,000,000. Null when `product` is.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.