Modify Merchant Order Config

Modifies the merchants order configuration based on a given merchant_id.

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

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.

Update Merchants Orders Configuration

put
Path parameters
merchant_idinteger · int32Required
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Body

Configurations for the merchants order behaviors.

commerce_disabledbooleanOptional

Is order creation, or cart submission, disabled for this merchant.

Default: false
order_prefixstringOptional

When supported by the commerce platform, this prefix will be used for orders.

Default: null
custom_tagsstring[]Optional

Custom tags to be added to a merchants orders upon submission.

prohibit_order_cancellationsbooleanOptional

Does this merchants prohibit order cancellations.

Default: false
prohibit_order_refundsbooleanOptional

Does this merchants prohibit order refunds.

Default: false
force_push_ordersbooleanOptional

When true the orders will be force pushed to the commerce platform even if the items are out of stock.

Default: false
Responses
put
/merchants/{merchant_id}/configuration/orders_config
default

default response

Last updated

Was this helpful?