Skip to main content

CartDroppedAttribute

An attribute that was discarded during cart processing because its attribute description could not be resolved.

type CartDroppedAttribute {
level: String!
uuid: String
attributeDescriptionId: String
attributeDescriptionName: String
reason: String!
referencedByIncentiveRule: Boolean!
}

Fields​

CartDroppedAttribute.level ● String! non-null scalar​

Where the attribute was carried: "order" or "item".

CartDroppedAttribute.uuid ● String scalar​

UUID of the item that carried it, for item level.

CartDroppedAttribute.attributeDescriptionId ● String scalar​

The id it was keyed on, when it was keyed by id.

CartDroppedAttribute.attributeDescriptionName ● String scalar​

The name it was keyed on, when it was keyed by name.

CartDroppedAttribute.reason ● String! non-null scalar​

Why it was dropped. Currently always DESCRIPTION_NOT_FOUND.

CartDroppedAttribute.referencedByIncentiveRule ● Boolean! non-null scalar​

True when an incentive rule for this order's channel conditions on this attribute name AND incentives were applied to the order — so a discount may rest on an attribute that is not being written.

Deliberately not a claim that a specific incentive matched on it: applied incentives carry no reference to the rule that produced them, so the precise link cannot be made at write time. This says the combination is present and worth looking at.

order-helper computed this from CLOUD-2939 onwards, but no client could read it until it was added to this type — the mutation document cart sends selects an explicit field list, so the flag was computed and discarded.

Member Of​

CartProcessResponse object