---
title: "Generate and run new a pipeline from magecart merchant input"
method: PUT
path: "/pipeline/merchantsMagecartMerchant"
tags: ["pipeline"]
---

# Generate and run new a pipeline from magecart merchant input

`PUT /pipeline/merchantsMagecartMerchant`

## Request

- Base URL: `https://pfi.regemini.com/api/v1`
- URL: `https://pfi.regemini.com/api/v1/pipeline/merchantsMagecartMerchant`
- Auth: API key in header `X-RFToken`

Queue a bulk export of merchant-level Magecart records enriched with merchant name and MID.

## Request body

- PresetClientRequestPresetMagecartMerchantClientConfig: Preset creation request for Magecart merchant data.
  - `dryRun` boolean
  - `input` PresetMagecartMerchantClientConfig: Client configuration for Magecart merchant skimmer detection preset.
    - `query` string
    - `queryRange` PresetElasticsearchRange: Elasticsearch date range filter for preset queries.
      - `from` string, required
      - `to` string, required
  - `output` PresetOutput: Output configuration for preset data delivery.
    - `columns` string[], required
    - `filename` string

## Response `200`

OK

- PipelineResponseCount: Count of records in the data pipeline.
  - `count` integer

## Other responses

- `201`: Created
- `400`: Bad Request
- `401`: Unauthorized
- `429`: Too Many Requests

---

[API](https://skmtc.dev/recordedfuture/apis/payment-fraud-intelligence-api.md) - [All operations](https://skmtc.dev/recordedfuture/apis/payment-fraud-intelligence-api/llms.txt) - [OpenAPI document](https://skmtc.dev/recordedfuture/apis/payment-fraud-intelligence-api/revisions/6e927dcbef39?raw)
