Anchor to collectionDeletecollection
mutationcollection Delete
Requires 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.
Anchor to Arguments
Arguments
- Anchor to inputinput•Collection
Delete Input!required The collection to delete.
Was this section helpful?
- Anchor to deletedCollectionIddeleted•ID
Collection Id The ID of the collection that was deleted. Returns
null
if the collection doesn't exist.- Anchor to shopshop•Shop!non-null
The shop associated with the collection.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?