Modify Merchant Order Config
Modifies the merchants order configuration based on a given merchant_id.
Merchant Configuration is currently in beta.
Available Order Configurations
Custom Tags - custom_tags
This configuration allows you to provide a set of tags that will be included with any orders submitted for this merchant.
Configurations for the merchants order behaviors.
Is order creation, or cart submission, disabled for this merchant.
falseCustom tags to be added to a merchants orders upon submission.
Does this merchants prohibit order cancellations.
falseDoes this merchants prohibit order refunds.
falseWhen true the orders will be force pushed to the commerce platform even if the items are out of stock.
falseWhen supported by the commerce platform, this prefix will be used for orders.
nullISO 4217 currency code (e.g., EUR, GBP) to force on all orders created via Direct Order Submission. When set, orders are written to the commerce platform in this currency regardless of the shop's default currency, with automatic exchange rate conversion applied. When null, orders use the shop's default currency (standard behavior).
default response
A Container for Merchant Configuration info
When true, prevents any changes from being made to the merchant configuration.
PUT /v1/merchants/{merchant_id}/configuration/orders_config HTTP/1.1
Host: sandbox-api.violet.io
X-Violet-Token: text
X-Violet-App-Secret: text
X-Violet-App-Id: 1
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"custom_tags": [
"tag1",
"tag2"
]
}default response
{
"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"
]
}
}Last updated
Was this helpful?