---
title: "Update seller by seller ID"
method: PATCH
path: "/seller-register/pvt/sellers/{sellerId}"
tags: ["Sellers"]
---

# Update seller by seller ID

`PATCH /seller-register/pvt/sellers/{sellerId}`

## Request

- Base URL: `https://apiexamples.vtexcommercestable.com.br/api`
- URL: `https://apiexamples.vtexcommercestable.com.br/api/seller-register/pvt/sellers/{sellerId}`
- Auth: API key in header `X-VTEX-API-AppKey` and API key in header `X-VTEX-API-AppToken`

This endpoint allows marketplace operators to update the information of sellers connected to their account. You can replace a path's value with another value in order to update that single information. There is no need to fill all the body params available, only the one you wish to update. 

## Permissions

Any user or [API key](https://developers.vtex.com/docs/guides/api-authentication-using-api-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:

| **Product** | **Category** | **Resource** |
| --------------- | ----------------- | ----------------- |
| Seller Register | Seller Administration | **Save Seller** |

You can [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) with that resource or use one of the following [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy):

| **Role** | **Resource** | 
| --------------- | ----------------- | 
| Seller manager | Save Seller |

>❗ Assigning a [predefined role](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) to users or application keys usually grants permission to multiple [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3). If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see [Best practices for using application keys](https://help.vtex.com/en/tutorial/best-practices-api-keys--7b6nD1VMHa49aI5brlOvJm). To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).

## Path parameters

- `accountName` string, required
- `environment` string, required
- `sellerId` string, required

## Headers

- `Accept` string, required
- `Content-Type` string, required

## Request body

- object[]: array of objects
  - `operation` string, required: Action being performed, which should always be `replace`.
  - `path` string, required: Path in which the value is being updated. It follows the standardized format `/{field}`, where `{field}` is the path's name.
  - `value` boolean, required: Value that is being updated. Notice that the type will depend on the path that is being updated.

## Response `200`

OK

## Changes

- **2024-08-12** `2a189ab072b4`: 1 info
  - the `path` request property default value `/field` was removed
- **2024-07-31** `bf4c1957ca4a`: 2 info
  - the `operation` request property default value `replace` was removed
  - the `value` request property default value `false` was removed
- **2024-07-31** `bf4c1957ca4a`: 2 info
  - the `operation` request property default value `replace` was removed
  - the `value` request property default value `false` was removed
- **2024-07-30** `397c77913d01`: 2 info
  - the `operation` request property default value `replace` was added
  - the `value` request property default value `false` was added

[Operation history](https://skmtc.dev/vtex/apis/marketplace-api/changes/seller-register/pvt/sellers/:sellerId/patch.md)

---

[API](https://skmtc.dev/vtex/apis/marketplace-api.md) - [All operations](https://skmtc.dev/vtex/apis/marketplace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vtex/apis/marketplace-api/revisions/6e80df6595ec?raw)
