Edit in GitHubLog an issue
Thanks to Atwix for contributing this topic!

deleteCompareList mutation

The deleteCompareList mutation deletes the specified comparison list. Run this mutation in the following circumstances:

  • When the guest or customer clears all entries from the comparison list.
  • After a guest's session expires.

Syntax

Copied to your clipboard
mutation {
deleteCompareList(
uid: ID!
) {
DeleteCompareListOutput
}
}

Reference

The deleteCompareList reference provides detailed information about the types and fields defined in this mutation.

Example usage

The following example deletes the comparison list with a uid value of sssXyGZkTFksdPnxNoK1ut6OiV4bbchD.

Request:

Copied to your clipboard
mutation {
deleteCompareList(
uid: "sssXyGZkTFksdPnxNoK1ut6OiV4bbchD"
) {
result
}
}

Response:

Copied to your clipboard
{
"data": {
"deleteCompareList": {
"result": true
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.