Skip to main content
mutation

Requires write_products access scope. Also: The store must not be on the Starter or Retail plans and user must have a permission to delete collection.

Deletes a collection.

•CollectionDeleteInput!required

The collection to delete.


Was this section helpful?

Anchor to CollectionDeletePayload returnsCollectionDeletePayload returns

•ID

The ID of the collection that was deleted. Returns null if the collection doesn't exist.

•Shop!non-null

The shop associated with the collection.

•[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?