Skip to main content

UpdateSKUPatternInput

Changes to a SKU pattern. Omitted fields stay as they are.

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

Fields​

UpdateSKUPatternInput.brandId ● String scalar​

The ID of the brand.

UpdateSKUPatternInput.categoryId ● String scalar​

The ID of the category.

UpdateSKUPatternInput.description ● String scalar​

What the pattern is for.

UpdateSKUPatternInput.example ● String scalar​

An example of a generated SKU.

UpdateSKUPatternInput.isActive ● Boolean scalar​

Whether the record is active.

UpdateSKUPatternInput.name ● String scalar​

The name of the pattern.

UpdateSKUPatternInput.pattern ● String scalar​

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

UpdateSKUPatternInput.priority ● Int scalar​

Which pattern wins when several match. Defaults to 1.

UpdateSKUPatternInput.sequenceLength ● Int scalar​

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

Member Of​

updateSKUPattern mutation