Skip to content

Get coupon rule collection

GET
/rest/v1/promotion/coupon-rule

Parameters

Query Parameters

filter[id]

Filter by rule IDs

Type
string
filter[couponId]

Filter by coupon ID

Type
string
filter[productsRuleType]

Filter by products rule type (0=OR, 1=AND)

Type
string
filter[vendorsRuleType]

Filter by vendors rule type (0=OR, 1=AND)

Type
string
sort

Sort order

Type
string
page

Page number

Type
integer
limit

Pagination limit

Type
integer
with

With relations (e.g., coupon)

Type
string

Responses

Successful operation

application/json
JSON
"string"

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI