Skip to main content

collectionUpdate Mutation

Updates a collection.

Requires the MANAGE_PRODUCTSpermission.
collectionUpdate(
externalReference: String
id: ID
input: CollectionInput!
): CollectionUpdate
Details
type CollectionUpdate {
collectionErrors: [CollectionError!]! @deprecated
errors: [CollectionError!]!
collection: Collection
}

Arguments​

externalReference ● String​

External ID of a collection to update.

Added in Saleor 3.23

id ● ID​

ID of a collection to update.

input ● CollectionInput!​

Fields required to update a collection.

Type​

CollectionUpdate​

Updates a collection.

Requires the MANAGE_PRODUCTSpermission.