Pular para o conteúdo

Lista as regras

GET
/api/v2/discounts/{discount_id}/rules

Lista as regras de desconto de uma promoção

discount_id
required
string

Quando as regras de desconto são listadas

Array<object>
Discount Rule

Modelo que representa uma regra de desconto na API

object
id
integer
amount
required
number
type
required
string
Allowed values: fixed percentage
apply_to
required
string
min_quantity
required
integer
0
product
object
id
integer
reference
string
name
string
tag
object
name
string
combined_product
object
id
integer
reference
string
name
string
min_subtotal
required
number
shipping_method
string
shipping_rule
string
Allowed values: any all
regions
Array<string>
agent_tag
string
channel
Array<string>