---
title: "Add Request"
method: POST
path: "/requests"
---

# Add Request

`POST /requests`

Add a transaction or customer merge request

## Request body

- object
  - `type` string, required — User type. At present, only CUSTOMER is supported.
  - `baseType` string, required — Action that needs to be performed. Only DELETE is supported.
  - `comments` string — Comment, if any.
  - `customerIdentificationInfo` object, required — Customer identification details.
    - `CUSTOMERIDENTIFICATIONINFO OBJECT` string
    - `source` string, required — Defines the source from which the transaction is made. Example: INSTORE, WECHAT, WEB_ENGAGE (Web-engage integration) etc.
    - `identifierType` string, required — Defines any of the registered identifier name of the customer. Values: mobile, email, externalId, id, WeChat, cardnumber, cardExternalId
    - `identifierValue` string, required — Defines the respective identifier value. For example, if identifierType is mobile, identifierValue is mobile number.

## Response `200`

200

- object
  - `createdId` integer
  - `warnings` unknown[]
    - unknown

## Other responses

- `201` — 201
- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
