Skip to main content

supplierVariants

List several supplierVariants by SupplierVariantIds or SupplierId. Either supplierVariantIds or supplierId is required, and either externalVariantIds or relayArgs are required for supplierId. supplierId is required when externalVariantIds is provided, with relayArgs being ignored.

Requires suppliervariant/read permission on the requesting identity for all associated suppliers

supplierVariants(
after: String
before: String
externalVariantIds: [String!]
first: Int
last: Int
supplierId: ID
supplierVariantIds: [ID!]
): SupplierVariantConnection!

Arguments

supplierVariants.after ● String scalar

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

supplierVariants.before ● String scalar

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

supplierVariants.externalVariantIds ● [String!] list scalar

supplierVariants.first ● Int scalar

Returns the first n elements from the list.

supplierVariants.last ● Int scalar

Returns the last n elements from the list.

supplierVariants.supplierId ● ID scalar

supplierVariants.supplierVariantIds ● [ID!] list scalar

Type

SupplierVariantConnection object

Paginate through SupplierVariants