List discount codes
documentedList discount codes.
GET /admin/api/2026-01/discount_codes.jsonDiscountsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$shop_domain}}/admin/api/2026-01/price_rules/{{$price_rule_id}}/discount_codes.json" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"