Skip to main content

publicSupplierVariants

Get a list of supplierVariants

Requires suppliervariant/read permission on the supplier for the requesting identity

publicSupplierVariants(
after: String
before: String
demandHqId: ID!
first: Int
last: Int
supplierId: ID!
supplierProductId: ID!
): PublicSupplierVariantConnection!

Arguments​

publicSupplierVariants.after ● String scalar​

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

publicSupplierVariants.before ● String scalar​

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

publicSupplierVariants.demandHqId ● ID! non-null scalar​

The ID of the DemandHq requesting the Public Supplier Product

publicSupplierVariants.first ● Int scalar​

Returns the first n elements from the list.

publicSupplierVariants.last ● Int scalar​

Returns the last n elements from the list.

publicSupplierVariants.supplierId ● ID! non-null scalar​

The ID of the Supplier requesting the Public Supplier Product

publicSupplierVariants.supplierProductId ● ID! non-null scalar​

The ID of the SupplierProduct to get variants for.

Type​

PublicSupplierVariantConnection object​

Paginate through PublicSupplierVariants