---
title: "Edit Merchant"
method: POST
path: "/v1/merchant/edit"
tags: ["Merchant API"]
---

# Edit Merchant

`POST /v1/merchant/edit`

## Request

- Base URL: `http://{{base_url}}`
- URL: `http://{{base_url}}/v1/merchant/edit`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/extensiv/apis/integration-manager-api-formerly-cartrover/docs/v1/merchant/edit/post.ts> (a function with typed inputs; its response is checked against the schema)

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

### Post Fields
|    Field    |    Data Type    |    Length    |    Required?    |    Description    |
|------------------|-----------------|--------------|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
|    name    |    String    |    80    |    Y    |    Name of Merchant    |
|    merchant_params    |    Array    |  |  N  |    Array 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](#99aefc50-34e7-4fa5-b944-9cbb24eaf594)   endpoint.    |
|    wms_params    |    Array    |  |  N  |    Array 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](#99aefc50-34e7-4fa5-b944-9cbb24eaf594)   endpoint. **NOTE:** This field only usable by independant Merchant accounts, not ones that belong to a warehouse account.    |
|   wms_name   |   String   |  |  N  |   Change 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.  |
|   schedules   |   Array   |  |  N  |   A list of schedules to update with the keys: order, confirm, inventory. Pass "ON" or "OFF" for each value.  |
|    discontinued    |    Boolean    |        |    N    |    true to discontinue Merchant. false to re-enable merchant.    |

## Headers

- `Content-Type` string

## Request body `*/*`

- string

## Response `200`

OK

- object

---

[API](https://skmtc.dev/extensiv/apis/integration-manager-api-formerly-cartrover.md) - [All operations](https://skmtc.dev/extensiv/apis/integration-manager-api-formerly-cartrover/llms.txt) - [OpenAPI document](https://skmtc.dev/extensiv/apis/integration-manager-api-formerly-cartrover/revisions/125e6deac675?raw)
