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>"
}
Update the group id for a merchant for the current user
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>"
}
The Merchant heron_id
Group ID to assign to the merchant
The body is of type object
.
OK
The response is of type object
.
Was this page helpful?