Skip to main content

CartProcessResponse

Response from cart processing operation.

Contains the results of converting a shopping cart into a finalized order, including the generated order ID and updated cart information.

type CartProcessResponse {
cartOrderId: Int!
cart: Cart!
droppedAttributes: [CartDroppedAttribute!]!
order: Order!
}

Fields

CartProcessResponse.cartOrderId ● Int! non-null scalar

Unique identifier of the created order.

System-generated ID for the order that was created from the processed cart. Used for order tracking and management.

CartProcessResponse.cart ● Cart! non-null object

Updated cart information after processing.

Cart object reflecting its final state after being converted to an order, including any status changes or final calculations.

CartProcessResponse.droppedAttributes ● [CartDroppedAttribute!]! non-null object

Attributes that were discarded instead of written onto the order, because their attribute description could not be resolved for the class they were carried on (CLOUD-3070).

An admin deleting an attribute description must never block a customer's checkout, so a reference that no longer resolves is dropped rather than raised as an error. The same outcome also covers a misspelled attributeDescriptionName or an id that never existed, so anything listed here that you did not expect to disappear is worth checking as a client-side identifier bug.

Empty on every cart where nothing was dropped.

CartProcessResponse.order ● Order! non-null object

Returned By

cartProcess mutation