Skip to main content

productVariantsMissingShippingDataCount

Requires permission products:product:read.

Returns how many active variants have no weight or no size of their own, using the same rule and total as productVariantsMissingShippingData. 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 ProductVariantsMissingShippingDataCount {
productVariantsMissingShippingDataCount
}

Response:

{
"data": {
"productVariantsMissingShippingDataCount": 0
}
}
productVariantsMissingShippingDataCount: Int!

Type​

Int scalar​

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.