POST
/
apps
/
{app_id}
/
merchants
/
uninstall
curl --request POST \
  --url https://sandbox-api.violet.io/v1/apps/{app_id}/merchants/uninstall \
  --header 'Content-Type: application/json' \
  --data '{
  "app_id": 123,
  "merchant_id": 123
}'
{
  "id": 123,
  "app_id": 123,
  "merchant_id": 123,
  "scope": "<string>",
  "status": "REQUESTED",
  "install_source": "DIRECT",
  "commission_rate": 123,
  "commission_locked": true,
  "date_created": "2023-11-07T05:31:56Z",
  "date_last_modified": "2023-11-07T05:31:56Z"
}
  • A MERCHANT_DISCONNECTED webhook is emitted upon successful merchant disconnection.
  • A STORE_DISCONNECTED notification will be sent to the Channel Dashboard.
  • Disconnecting will remove your access to the merchant’s offers. To restore access in the future, the merchant will need to complete the Violet Connect process again.

Headers

X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer

Path Parameters

app_id
integer
required

Body

application/json

A Request to uninstall/disconnect a merchant from an app

Response

default - application/json
default response

Record of Application Install by a Merchant