GET
/admin/api/2026-07/rules.json
List every rule on the shop, optionally filtered by zone.
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.