Skip to main content

Update CartItem Partner Message Body (Legacy SDK)

Legacy Web SDK

This page applies to the Legacy Web SDK only. For the Rokt SDK+, see the Web SDK+ Integration Guide.

OverviewDirect link to Overview

Update CartItem Partner Message Body represents a payload of the cart item update message. The purpose of this payload is to inform the Rokt placement when a customer selects, updates, or removes a product from the partner's cart. This way the changes can be reflected in the Rokt placement.

PropertiesDirect link to Properties

cartItemIdDirect link to cartitemid

cartItemId: string

Represents the ID of the cartItem that needs to be updated on the Rokt side.


quantityDirect link to quantity

quantity: number

Represents the new amount of cartItem referenced by the cart item ID.

Was this article helpful?
Last updated May 4, 2026