Core API
...
Core API Docs
Discounts

Update discount priorities

PATCH
https://app.sparklayer.io/api/v1/set-discount-priorities
Live
Header Parameters
Site-Id
*
Body Parameters
body
id
*
priority
*
Responses
200
Successful response
id
created_at
deleted_at
updated_at
name
internal_name
*
internal_slug
*
calculation_group
*
priority
*
times_applicable_per_order
*
max_rewards
groups
*
simultaneity
requirement_selection_type
*
reward_selection_type
*
currency_code
*
start_date
*
end_date
*
active
*
requirements
*
rewards
other_requirements
*
default
Error Response