Edit in GitHubLog an issue
Adobe Commerce only. Learn more

allCatalogRules query

The allCatalogRules query returns a list of all active catalog rules in the store.

Catalog price rules can be used to offer products to buyers at a discounted price, based on a set of defined conditions.

Syntax

Copied to your clipboard
{
allCatalogRules {
name
}
}

Example usage

The following call returns a list of all active catalog rules in the store.

Request:

Copied to your clipboard
{
allCatalogRules {
name
}
}

Response:

Copied to your clipboard
{
"allCatalogRules": [
{
"name": "Rule A"
},
{
"name": "Rule B"
}
]
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.