Update Automation Ruleset

This endpoint updates the automation ruleset without updating the rules.

SecurityOAuth2
Request
path Parameters
automation-ruleset-id
required
string
header Parameters
x-api-key
string
tenant-id
string
Content-Type
string
Default: application/json
Request Body schema: application/json
name
required
string
entity_type
required
string
Enum: "FORWARD" "REVERSE"
merchants
required
Array of strings

List of Merchant ids used in Ruleset. Use ["_ANY"] for all merchants

countries
required
Array of strings

List of country iso2 codes used in Ruleset. Use ["_ANY"] for all countries

status
required
string (status-field)
Enum: "ACTIVE" "INACTIVE" "DELETED"
Responses
200
patch/automation-rulesets/{automation-ruleset-id}
Request samples
application/json
{
  • "name": "string",
  • "entity_type": "FORWARD",
  • "merchants": [
    ],
  • "countries": [
    ],
  • "status": "ACTIVE"
}
Response samples
application/json
{
  • "tenant": "string",
  • "rule_set_id": "string",
  • "name": "string",
  • "entity_type": "FORWARD",
  • "merchants": [
    ],
  • "countries": [
    ],
  • "status": "ACTIVE",
  • "creation_date": "2019-08-24T14:15:22Z",
  • "update_date": "2019-08-24T14:15:22Z"
}