collectionDelete mutation
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Deletes a collection.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
CollectionDeleteInput!
)
required
|
Specifies the collection to delete by its ID. |
CollectionDeleteInput fields
-
id (
ID!
) RequiredThe ID of the collection to be deleted.
Return fields
-
deletedCollectionId (
ID
)The ID of the collection that was deleted.
-
shop (
Shop!
)The shop associated with the collection.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.