Skip to main content

variants

Get several variants by either VariantIds or a DemandHqId with Relay pagination. If VariantIds are provided, all other arguments are ignored.

Requires demandHqvariant/read permission on the requesting identity for all associated demandHqs

variants(
after: String
before: String
demandHqId: ID
first: Int
last: Int
variantIds: [ID!]
): VariantConnection!

Arguments​

variants.after ● String scalar​

Returns the elements in the list that come after the specified cursor.

variants.before ● String scalar​

Returns the elements in the list that come before the specified cursor.

variants.demandHqId ● ID scalar​

variants.first ● Int scalar​

Returns the first n elements from the list.

variants.last ● Int scalar​

Returns the last n elements from the list.

variants.variantIds ● [ID!] list scalar​

Type​

VariantConnection object​

Paginate through Variants