Create seller from lead
This endpoint is used by marketplace operators to create seller accounts. The request will only accept seller leads whose status is accepted. If they are already connected or invited, the call will not be fulfilled.
❗ The creation of the account at VTEX is done by an internal Billing service. There is no seller account and marketplace affiliation if you do not go through this step.
Note that there's no specific API call that allows status changes. The operations only allow the seller lead to move forward:
From invite > to Accepted > closing on Create Seller.
If you want to change the status, you can start the process again, by deleting that lead through the Delete seller lead endpoint, and resending the invite through the Resend seller lead's invite endpoint.
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.
A string that identifies the seller in the marketplace. This ID must be created by the marketplace and informed to the seller before the integration is built.
Query parameters
Enables to filter sellers that are active (true) or unactive (false) in the marketplace.
Headers
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Type of the content being sent.
Response
OK