Configure seller account
This endpoint is used by marketplace operators to configure the accounts of sellers that have already accepted the invitation to join their marketplaces.
For marketplaces to add sellers without the Seller Invite feature, call this endpoint directly.
This call includes all the information a seller needs to activate their account.
Permissions
Any user or API key must have at least one of the appropriate License Manager resources 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 with that resource or use one of the following predefined roles:
| Role | Resource |
|---|---|
| Seller manager | Save Seller |
❗ Assigning a predefined role to users or application keys usually grants permission to multiple License Manager resources. 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.
Path parameters
Name of the VTEX account that belongs to the marketplace. The notification will be posted into this account.
Environment to use. Used as part of the URL.
Headers
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Type of the content being sent.
Request body
Example request
{
"id": "seller123",
"name": "Seller Name",
"isActive": true,
"fulfillmentEndpoint": "http://{SellerName}.vtexcommercestable.com.br/api/fulfillment?&sc={TradePolicyID}",
"taxCode": "34444",
"email": "seller@email.com",
"description": "Seller A, from the B industry.",
"sellerCommissionConfiguration": {
"productCommissionPercentage": 3,
"freightCommissionPercentage": 4,
"categoriesCommissionConfiguration": []
},
"isBetterScope": true,
"sellerType": 1,
"availableSalesChannels": [
{
"isSelected": true,
"id": 1,
"name": "Principal store"
},
{
"isSelected": true,
"id": 2,
"name": "Third"
},
{
"isSelected": true,
"id": 3,
"name": "Marketplaces"
}
],
"CSCIdentification": "cscidentification 123",
"account": "partner01",
"channel": "channel name",
"salesChannel": "1",
"isVtex": true,
"exchangeReturnPolicy": "Describe exchange and returns policy",
"deliveryPolicy": "Describe delivery policy",
"securityPrivacyPolicy": "Our marketplace ensures that all transactions are encrypted with SSL technology, and we adhere to strict privacy standards to protect both sellers and buyers. Personal data is only shared with authorized parties to facilitate order processing and delivery, and we do not sell or disclose personal information to third parties without consent.",
"fulfillmentSellerId": "seller1",
"groups": [
{
"groups": [
{
"id": "8d845239bf1448dc8bc3ed3121837511",
"name": "long tail"
},
{
"id": "b9bcd348ab9c4cec8285ff9485c27a72",
"name": "franchise accounts"
}
]
}
],
"user": "integrationHubUserName",
"password": "integrationHubPassword",
"catalogSystemEndpoint": "https://apiexamples.vtexcommercestable.com.br/api/catalog_system/",
"trustPolicy": "AllowEmailSharing"
}Response
OK