PATCH
/
api
/
merchants
/
{merchant_heron_id}
/
user_merchant_group
curl --request PATCH \
  --url https://app.herondata.io/api/merchants/{merchant_heron_id}/user_merchant_group \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "group_id": "debt.mca_or_rbf"
}'
{
  "group_id": "<string>",
  "merchant_heron_id": "<string>",
  "merchant_name": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

merchant_heron_id
string
required

The Merchant heron_id

Body

application/json
Group ID to assign to the merchant

The body is of type object.

Response

200
application/json
OK

The response is of type object.