Skip to main content

CreateSKUPatternInput

A new SKU pattern.

input CreateSKUPatternInput {
brandId: String
categoryId: String
description: String
example: String
isActive: Boolean!
name: String!
pattern: String!
priority: Int!
sequenceLength: Int!
}

Fields​

CreateSKUPatternInput.brandId ● String scalar​

The ID of the brand.

CreateSKUPatternInput.categoryId ● String scalar​

The ID of the category.

CreateSKUPatternInput.description ● String scalar​

What the pattern is for.

CreateSKUPatternInput.example ● String scalar​

An example of a generated SKU.

CreateSKUPatternInput.isActive ● Boolean! non-null scalar​

Whether the record is active.

CreateSKUPatternInput.name ● String! non-null scalar​

The name of the pattern.

CreateSKUPatternInput.pattern ● String! non-null scalar​

The pattern, using placeholders such as {BRAND}-{CATEGORY}-{SEQ}.

CreateSKUPatternInput.priority ● Int! non-null scalar​

Which pattern wins when several match. Defaults to 1.

CreateSKUPatternInput.sequenceLength ● Int! non-null scalar​

How many digits the running number has. Defaults to 4.

Member Of​

createSKUPattern mutation