Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.
Jordan Liddle edited this page Feb 14, 2017 · 2 revisions
Discounts API Price Rules API
Discount properties Price Rule properties
id The unique numeric identifier for the discount. 123445654 id
discount_type value_type
target_type
code "code": "abracadabra" The case-insensitive discount code that customers use at checkout. Required when creating a discount. Maximum length of 255 characters.
value value
ends_at ends_at
starts_at starts_at
status archived
minimum_order_amount "prerequisite_subtotal_range"
"prerequisite_shipping_range"
usage_limit usage_limit
applies_to_id entitled_product_ids
entitled_variant_ids
entitled_collection_ids
entitled_country_ids
applies_once N/A
applies_once_per_customer once_per_customer
applies_to_resource target_selection
times_used
customer_selection
prerequisite_saved_search_ids

Clone this wiki locally