Skip to content
Search docs ⌘K
EN Current language: English
EN Current language: English
GET

/admin/api/2026-07/rules.json

List every rule on the shop, optionally filtered by zone.

Try it

Parameters

ParameterTypeDescription
zone_idinteger, optionalReturn only rules attached to this zone.

Error responses

StatusCodeMessage
401UNAUTHORIZEDThe request is missing a valid X-Shopify-Access-Token header.