Skip to main content

SupplierRuleType

A saved way of reading one supplier's price list.

type SupplierRuleType {
columnMap: JSON
moqRule: String
priceRule: String
savedAt: String!
savedBy: String!
supplierName: String!
}

Fields​

SupplierRuleType.columnMap ● JSON scalar​

Which column of the file feeds each product field.

SupplierRuleType.moqRule ● String scalar​

How to work out the minimum order quantity.

SupplierRuleType.priceRule ● String scalar​

How to work out the price.

SupplierRuleType.savedAt ● String! non-null scalar​

When the rule was saved.

SupplierRuleType.savedBy ● String! non-null scalar​

Who saved it.

SupplierRuleType.supplierName ● String! non-null scalar​

The name of the supplier.

Returned By​

copilotSupplierRules query ● saveCopilotSupplierRule mutation