ConsignmentLine
Kind: Object
One product line on a delivery challan.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id |
ID! |
|
imageUrl |
String! |
Image for this row’s variant: variant-scoped media first, else the product’s shared image — resolved through the variant, so discontinued stock keeps its picture. “” when the product truly has no image, which is an empty string and not null: resolving it as a URL yields the API endpoint itself, so check before use. size: nearest generated thumbnail (256/512/1024); 0 = original. Served from our storage: absolute when object storage is configured, otherwise a path relative to the API origin — resolve it before use. Arguments: size: Int! = 256 |
productId |
ID |
The catalogue product behind this row, resolved through the variant, so it works for discontinued stock too. Null when the product no longer exists. |
variantId |
ID |
The exact variant this row is about — the anchor for a variant-aware product link. |
productName |
String! |
|
variantName |
String! |
|
sku |
String! |
|
hsnCode |
String! |
|
uqc |
String! |
Unit of quantity — ‘NOS’ for furniture. |
quantity |
Int! |
|
quantityAccepted |
Int! |
|
quantityRejected |
Int! |
|
unitMrpPaise |
Int! |
Retail price of one item. |
unitTransferPricePaise |
Int! |
What we will invoice for one item: MRP less the margin. |
lineValuePaise |
Int! |
|
gstRate |
Int! |