Skip to main content

CustomerApprovalLine

One line of a parked approval request (snapshot of the repriced cart).

type CustomerApprovalLine {
baseUnitPrice: Float
discountAmount: Float
discountDerived: Boolean
imageUrl: String
lineTotal: Float!
productId: ID
productName: String!
quantity: Float!
sku: String
taxAmount: Float
taxRate: Float
unitPrice: Float!
uomCode: String
uomName: String
variantId: ID
variantName: String
}

Fields​

CustomerApprovalLine.baseUnitPrice ● Float scalar​

Pre-discount per-unit price, so the detail screen can show list vs paid.

CustomerApprovalLine.discountAmount ● Float scalar​

Line discount frozen at request time. Absent (not 0) on requests parked before discounts were snapshotted.

CustomerApprovalLine.discountDerived ● Boolean scalar​

TRUE when the discount and pre-discount unit price were DERIVED from the variant's price today, not read from the snapshot — the request predates discount capture. The UI must label such a figure as an estimate; it is not what the buyer was quoted.

CustomerApprovalLine.imageUrl ● String scalar​

Variant image, else the product's — buyer-surface precedence (variant-then-product).

CustomerApprovalLine.lineTotal ● Float! non-null scalar​

The line total.

CustomerApprovalLine.productId ● ID scalar​

The ID of the product.

CustomerApprovalLine.productName ● String! non-null scalar​

The name of the product.

CustomerApprovalLine.quantity ● Float! non-null scalar​

The quantity.

CustomerApprovalLine.sku ● String scalar​

The SKU of the variant.

CustomerApprovalLine.taxAmount ● Float scalar​

The tax on the line.

CustomerApprovalLine.taxRate ● Float scalar​

The tax rate on the line, in percent.

CustomerApprovalLine.unitPrice ● Float! non-null scalar​

The price of one unit.

CustomerApprovalLine.uomCode ● String scalar​

The unit of measure.

CustomerApprovalLine.uomName ● String scalar​

The unit's full name ("Each", "Case of 12") resolved from the snapshot's uomId — the snapshot itself keeps only the short code, which is not what a buyer reads.

CustomerApprovalLine.variantId ● ID scalar​

The variant this line was for — carried so a client can open the product, and so the server can resolve the variant's current name/image.

CustomerApprovalLine.variantName ● String scalar​

The variant's own name (resolved from the snapshot's variantId at read time).

Member Of​

CustomerOrderApprovalView object