GET /merchants/{merchant_id}

Get detailed information about a merchant given an Id.

Request

merchant_id

The ID of the merchant for which you are requesting information.

Curl
curl --request GET
  --url https://sandbox-api.violet.io/v1/merchants/{merchant_id}
  --header 'Accept: application/json'
  --header 'X-Violet-Token': 'TOKEN',
  --header 'X-Violet-App-Id': 'APPID',
  --header 'X-Violet-App-Secret': 'APPSECRET'

Response:

JSON
{
    "id": integer,
    "name": string,
    "user_id": integer,
    "platform": "SHOPIFY",
    "store_url": URL,
    "verified": boolean,
    "status": "ACTIVE",
    "default_currency": "GBP",
    "default_country_code": "GB",
    "default_state_code": "EN",
    "default_language_code": "EN",
    "commission_rate": 0.0,
    "date_created": datetime,
    "date_last_modified": datetime,
    "external_id": integer,
    "distribution_type": "PRIVATE",
    "referral_source": "PLATFORM_MARKETPLACE",
    "is_configured": boolean,
    "connection_status": "NOT_CONNECTED",
    "shipping_configured": boolean,
    "taxes_configured": boolean,
    "default": boolean,
    "payments_configured": boolean
}