Skip to main content

productVariantsMissingShippingData

Requires permission products:product:read.

Lists active variants that have no weight or no size of their own, one page at a time. Requires permission to read products.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query ProductVariantsMissingShippingData {
productVariantsMissingShippingData {
skip
take
total
items {
categoryName
productName
variantName
missingSize
missingWeight
productId
}
}
}

Response:

{
"data": {
"productVariantsMissingShippingData": {
"skip": 0,
"take": 0,
"total": 0,
"items": [
{
"categoryName": "string",
"productName": "string",
"variantName": "string",
"missingSize": true,
"missingWeight": true,
"productId": "id"
}
]
}
}
}
productVariantsMissingShippingData(
search: String
skip: Int
take: Int
): ProductVariantShippingDataGapPage!

Arguments​

Only return variants matching this text. Only the first 100 characters are used.

productVariantsMissingShippingData.skip ● Int scalar​

How many variants to skip. Defaults to 0.

productVariantsMissingShippingData.take ● Int scalar​

How many variants to return, from 1 to 200. Defaults to 50.

Type​

ProductVariantShippingDataGapPage object​

One page of variants with no weight or size.