ProductVariant
Kind: Object
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id |
ID! |
|
sku |
String! |
|
name |
String! |
|
product |
Product! |
|
price |
Money! |
Effective GST-inclusive selling price. |
mrp |
Money! |
Effective MRP (display required by Legal Metrology). |
attributeValues |
[AttributeValue!]! |
|
media |
[ProductMedia!]! |
This variant’s gallery: media scoped to it plus the shared, un-scoped product media, in sort order. |
digitalContents |
[DigitalContent!]! |
Documents attached to this variant (assembly manual, warranty card …). Their download URLs are null here unless the caller has MANAGE_PRODUCTS; buyers get them on their order lines. |
inStock |
Boolean! |
True when warehouses that sell online hold unreserved stock of this variant. Stock on a retailer’s floor or in transit does not count. |
stocks |
[StockInfo!]! |
Per-warehouse stock counts. Empty unless the caller has MANAGE_PRODUCTS. |
metadata |
[MetadataItem!]! |