GET
/
merchants
/
{merchant_id}
/
configuration
curl --request GET \
  --url https://sandbox-api.violet.io/v1/merchants/{merchant_id}/configuration
{
  "global_feature_flags": {
    "sync_metadata": false,
    "sync_collections": true
  },
  "platform_feature_flags": {
    "filter_by_collections": false,
    "use_custom_shipping_rates": true
  },
  "orders_config": {
    "custom_tags": [
      "tag1",
      "tag2"
    ]
  }
}

Retrieve the merchant configuration based on a given merchant_id.

You must be connected to a merchant to retrieve their configuration.

Merchant Configuration is currently in beta.

Headers

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

Path Parameters

merchant_id
integer
required

Response

default - application/json
global_feature_flags
object

Feature flags that apply to a merchant globally, regardless of their commerce platform.

platform_feature_flags
object

Feature flags that apply to a merchant depending on their commerce platform.

orders_config
object

Configurations for the merchants order behaviors.