PUT
/
merchants
/
{merchant_id}
/
configuration
/
global_feature_flags
/
{feature_flag}

Toggle the global feature flags of a merchant based on a given merchant_id and feature_flag.

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

Merchant Configuration is currently in beta.

Available Feature Flags

Sync Taxonomy - sync_taxonomy

When this value is true the merchants taxonomy data will be included during catalog syncs.
Default: true


Sync Metadata - sync_metadata

When this value is true the merchants product metadata will be included during catalog syncs.
Default: false

The inclusion of metadata often requires additional calls to the commerce platform API’s and will increase the time it takes to sync a merchants products. It is recommended to only enable this feature if you know your merchant requires metadata.


Sync Collections - sync_collections

When this value is true the merchants collection data will be synced. When collection syncs are enabled an initial sync will be performed immediately then additional re-syncs will occur every 24 hours. This feature is currently limited to SHOPIFY.
Default: false

Enabling collections will result in additional calls to commerce platform API’s. It is recommended that you only enable the syncing of collections if the collection data is being utilized. Learn more about interacting with collections here.


Sync Product Shipping Data - sync_offer_shipping

When this value is true any per-product shipping data from the merchants system will be synced. Once this feature has been toggled on, the merchant will go into a queue for the syncing of their shipping data. This feature is currently limited to SHOPIFY.
Default: false

Enabling the syncing of product shipping data will result in additional calls to commerce platform API’s. It is recommended that you only enable the syncing of product shipping data if the shipping data is being utilized. Learn more about utilizing shipping data here.

Headers

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

Path Parameters

merchant_id
integer
required
feature_flag
string
required

Body

application/json

Request body for toggling the boolean value of a setting.

enabled
boolean

Is the setting enabled.

Response

default - application/json

A Container for Merchant Configuration info

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.

store_config
object

Configurations for the merchants store.

orders_config
object

Configurations for the merchants order behaviors.

catalog_config
object

Configurations for the merchants catalog behaviors.