Merchant API

Edit Merchant

Edit merchant info including name, wms parameters, and schedules. Any fields left off will be left as-is.

Post Fields

FieldData TypeLengthRequired?Description
nameString80YName of Merchant
merchant_paramsArrayNArray of WMS Merchant level param values to set for this merchant. You can get a list of valid values from the merchant section of the /wms/params endpoint.
wms_paramsArrayNArray of WMS level param values to set for this account. You can get a list of valid values from the wms section of the /wms/params endpoint. NOTE: This field only usable by independant Merchant accounts, not ones that belong to a warehouse account.
wms_nameStringNChange which WMS System to connect this account to. NOTE: This field only usable by independant Merchant accounts, not ones that belong to a warehouse account.
schedulesArrayNA list of schedules to update with the keys: order, confirm, inventory. Pass "ON" or "OFF" for each value.
discontinuedBooleanNtrue to discontinue Merchant. false to re-enable merchant.
post/v1/merchant/edit

Request

Headers

Content-Typestring

Request body */*

string required

Example request

"\"{\\r\\n  \\\"name\\\": \\\"Test API Merch\\\",\\r\\n  \\\"wms_params\\\": {\\r\\n  \\t\\\"ownerCode\\\": \\\"123\\\"\\r\\n  }\\r\\n}\""

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.