Invite seller lead
Changed onThis API is used by marketplace operators to invite sellers to join their marketplace. The request sends an email to the seller, inviting sellers to activate their store. The invitation's link in the email is unique per user, and available for only seven days for the seller to click and begin activating their store.
The email template is completely customizable. All email templates that VTEX sends to seller leads can be found and edited in the marketplace's VTEX Admin, on the Message Center section.
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 | View Seller |
You can create a custom role with that resource or use one of the following predefined roles:
| Role | Resource |
|---|---|
| Seller manager | View 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.
Request
- Base URLhttps://apiexamples.vtexcommercestable.com.br/api
- URLhttps://apiexamples.vtexcommercestable.com.br/api/seller-register/pvt/seller-leads
- AuthAPI key in header X-VTEX-API-AppKey and API key in header X-VTEX-API-AppToken
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
{
"sellerEmail": "selleremail@email.com",
"sellerName": "Seller Name",
"sellerAccountName": "seller123",
"salesChannel": "1",
"email": "email@email.com",
"sellerType": 1,
"accountId": "5fb38ace-d95e-45ad-970d-ee97cce9fbcd",
"document": "12345671000",
"hasAcceptedLegalTerms": true,
"address": {
"postalcode": "12345678",
"complement": "Appartment 1234",
"street": "VTEX street",
"number": "25",
"neighborhood": "VTEX quarter",
"state": "RJ",
"city": "Rio de Janeiro"
},
"accountable": {
"name": "Jane Smith",
"email": "email@email.com",
"phone": "1234567890"
}
}Response
OK
Changes
- info
the
request property default value5fb38ace-d95e-45ad-970d-ee97cce9fbcdwas removed - info
the
request property default valueRio de Janeirowas removed - info
the
request property default valueAppartment 1234was removed - info
the
request property default value12345671000was removed - info
the
request property default valueemail@email.comwas removed - info
the
request property default valuetruewas removed - info
the
request property default valueJane Smithwas removed - info
the
request property default valueVTEX quarterwas removed - info
the
request property default value25was removed - info
the
request property default value1234567890was removed - info
the
request property default value12345678was removed - info
the
request property default value1was removed - info
the
request property default valueseller123was removed - info
the
request property default valueselleremail@email.comwas removed - info
the
request property default valueSeller Namewas removed - info
the
request property default value1was removed - info
the
request property default valueRJwas removed - info
the
request property default valueVTEX streetwas removed
- info
- info
the
request property default value5fb38ace-d95e-45ad-970d-ee97cce9fbcdwas removed - info
the
request property default valueRio de Janeirowas removed - info
the
request property default valueAppartment 1234was removed - info
the
request property default value12345671000was removed - info
the
request property default valueemail@email.comwas removed - info
the
request property default valuetruewas removed - info
the
request property default valueJane Smithwas removed - info
the
request property default valueVTEX quarterwas removed - info
the
request property default value25was removed - info
the
request property default value1234567890was removed - info
the
request property default value12345678was removed - info
the
request property default value1was removed - info
the
request property default valueseller123was removed - info
the
request property default valueselleremail@email.comwas removed - info
the
request property default valueSeller Namewas removed - info
the
request property default value1was removed - info
the
request property default valueRJwas removed - info
the
request property default valueVTEX streetwas removed
- info