Skip to main content

CartBulkAddResult

Result of a bulk add to the cart (reorder from an order, add a whole buying list): the cart plus exactly which lines were added and which were skipped and why. An add that adds nothing is added: [], never success.

type CartBulkAddResult {
added: [CartAddedLine!]!
cart: CartType!
skipped: [CartSkippedLine!]!
}

Fields​

CartBulkAddResult.added ● [CartAddedLine!]! non-null object​

The lines the bulk add put in the cart.

CartBulkAddResult.cart ● CartType! non-null object​

The cart after the bulk add.

CartBulkAddResult.skipped ● [CartSkippedLine!]! non-null object​

The lines the bulk add did not add, each with its reason.

Returned By​

customerAddListToCart mutation ● customerReorderFromOrder mutation