INPUT_OBJECT

BrandUpdateInput

link GraphQL Schema definition

1input BrandUpdateInput {
2
3name: String
4
5# If empty string is provided, a default URI will be auto-generated based on brand
6# name.
7uri: String
8
9# Specify IDs of the stores this brand should be added to.
10# It is safe to add to the same store multiple times.
11addToStores: [StoreInput!]
12
13# Specify IDs of the stores this brand should be removed from.
14# It has precedence over addToStores, so if you add and remove the same
15# store ID in one mutation, brand will be removed from such store.
16# It is safe to remove from any store, even if brand was not added there.
17# Brand must be added to at least one store so removing a brand from all
18# stores will trigger an error.
19removeFromStores: [StoreInput!]
20}

link Required by