Sign in

Create price rule

documented

Create a discount price rule.

POST /admin/api/2026-01/price_rules.jsonDiscountsno implementation yet0 runs

Input

shop_domain*
Shop domain (without .myshopify.com)
e.g. your-store-name
title*
Price rule title
SUMMERSALE10OFF
target_type*
Target type
line_item
target_selection*
Target selection
all or entitled
allocation_method*
Allocation method
across or each
value_type*
Value type
percentage or fixed_amount
value*
Value
-10.0
starts_at*
Starts at (ISO 8601)
YYYY-MM-DDTHH:MM:SSZ
ends_at
Ends at (ISO 8601)
YYYY-MM-DDTHH:MM:SSZ
customer_selection*
Customer selection
all
Calls Shopify as you (your API key is your account); keychains.dev holds the credentials.
Create price rule · Shopify · OpenIntegrations