Admin API / Mutations

updateCollection

Updates one collection. An omitted field keeps its value. The item type, the manual or automated selection, the slug and the display order do not change; moveCollection changes the order. A repeat writes the same values. Requires the ADMIN role or higher.

Requires a client key with one of these scopes: admin:collections:writeRequires this member role or higher: ADMIN
updateCollection(
  input: UpdateCollectionInput!
): UpdateCollectionPayload!

Arguments

ArgumentTypeDescription
inputUpdateCollectionInput!The collection and its changes.

Return type

UpdateCollectionPayload!