Update a rule

Update a rule.

Path Params
integer
required

Rule ID

Body Params

This request is variable. There are a few variation of request body. Due to Swagger v2 limitations they are described as fake paths (endpoints). See documentation for paths: PUT /api/v2.1/rules/{id}#___customer_category, PUT /api/v2.1/rules/{id}#___additional_category, PUT /api/v2.1/rules/{id}#___product_category, PUT /api/v2.1/rules/{id}#___customer_max_redemptions, PUT /api/v2.1/rules/{id}#___customer_points, PUT /api/v2.1/rules/{id}#___timeframe, PUT /api/v2.1/rules/{id}#___time_of_order, PUT /api/v2.1/rules/{id}#___product_item_exists, PUT /api/v2.1/rules/{id}#___basket_items

string
enum
required
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json