Skip to main content

CartItemsBulkUpsertInput

Input for bulk operations on cart items.

Allows adding, updating, or removing multiple cart items in a single operation for improved performance and consistency.

input CartItemsBulkUpsertInput {
cartId: String!
items: [CartItemBulkInput!]!
}

Fields

CartItemsBulkUpsertInput.cartId ● String! non-null scalar

Unique identifier of the target shopping cart.

Must be a valid UUID format representing an existing cart.

CartItemsBulkUpsertInput.items ● [CartItemBulkInput!]! non-null input

Collection of cart items to process.

Each item in the array will be added, updated, or removed based on the operation specified. All items are processed as a single transaction.

Member Of

cartItemBulk mutation