Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 536 Bytes

File metadata and controls

26 lines (23 loc) · 536 Bytes
title Create Elimination Config
description Curl example for creating elimination config.

Create Elimination Config

curl --location "$BASE_URL/rule/create" \
  --header "$AUTH_HEADER" \
  --header "Content-Type: application/json" \
  --data '{
    "merchant_id": "merchant_demo",
    "config": {
      "type": "elimination",
      "data": {
        "bucketSize": 5,
        "eliminationThreshold": 0.2
      }
    }
  }'
{ "merchant_id": "merchant_demo", "config": { "type": "elimination" } }