vtex.local – Marketplace-APIs
The Marketplace API enables marketplaces and sellers hosted on VTEX to perform their collaborative operations.
⚠️ The marketplace must for each non-VTEX seller that will use this API.
Index
Notification
Endpoints used by sellers to notify marketplaces that the price or inventory language has changed for one of their SKUs.
POST
POST
Suggestions
Get Suggestions
Search and filter all suggestions using specific criteria.
GET
GET
Manage Suggestions
Send or delete SKU suggestions from the seller to marketplace.
PUT
DELETE
Get Versions
Search and filter all versions of suggestions, using specific criteria.
GET
GET
Match Received SKUs
Match SKU suggestions received in the marketplace.
PUT
PUT
SKU Approval Settings
Allows marketplaces to configure rules for automatically and manually approving SKUs received from sellers.
GET
PUT
GET
PUT
GET
PUT
PUT
Matched Offers
Offers are seller products and SKUs that were sent to the marketplace, and already have their price and inventory level configured.
GET
GET
GET
- Homepage
- https://api.apis.guru/v2/specs/vtex.local:Marketplace-APIs/1.0.json
- Provider
- vtex.local:Marketplace-APIs / Marketplace-APIs
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/vtex.local/Marketplace-APIs/1.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/vtex.local/Marketplace-APIs/1.0/openapi.yaml
Tools (25)
Extracted live via the executor SDK.
-
matchedOffers.getofferslistOffers are seller's products and SKUs that were sent to the marketplace, and already have their price and inventory level configured.
This endpoint retrieves the available offers in a marketplace. It differs from the Get Suggestions endpoints, since it retrieves products that were already matched by the marketplace, and are currently in its catalog.
It is possible to filter the search through the following parameters:
-
rows
-
sort
-
start
-
fq
-
-
matchedOffers.getProductoffersOffers are seller products and SKUs that were sent to the marketplace, and already have their price and inventory level configured.
This endpoint retrieves the available offers for a speciic Product ID in the marketplace's catalog. It differs from the Get Suggestions endpoints, since it retrieves products that were already matched by the marketplace operator, and are currently active in its catalog.
The call returns a list of offers for that ID, that contain the following data:
-
Seller that sells the SKU
-
Correspondent SKU ID
-
SKU's price value
-
Inventory level
-
Sales channel (or ) that it is available at.
-
-
matchedOffers.getSkUoffersOffers are seller products and SKUs that were sent to the marketplace, and already have their price and inventory level configured.
This endpoint retrieves the available offers for a speciic SKU ID in the marketplace's catalog. It differs from the Get Suggestions endpoints, since it retrieves products that were already matched by the marketplace operator, and are currently active in its catalog.
The call returns a list of offers for that ID, that contain the following data:
-
Seller that sells the SKU
-
Correspondent SKU ID
-
SKU's price value
-
Inventory level
-
Sales channel (or ) that it is available at.
-
-
notification.inventoryNotificationThis endpoint is used by sellers to notify marketplaces that the inventory level has changed for one of their SKUs.
There is no request body in this call, indicating the new inventory level, for instance. It only notifies a specific marketplace (
accountName) that a seller (sellerId) has changed the inventory level of an SKU (skuId).Marketplaces will then call the provided in the seller registration form to get the updated inventory information.
-
notification.priceNotificationThis endpoint is used by sellers to notify marketplaces that the price has changed for one of their SKUs.
There is no request body in this call, indicating the new price value, for instance. It only notifies a specific marketplace (
accountName) that a seller (sellerId) has changed the price of an SKU (skuId).Marketplaces will then call the provided in the seller registration form to get the updated price information.
-
salesChannelMapping.retrieveMappingRetrieves information about the mapping between marketplace's sales channels and a specific seller.
-
salesChannelMapping.upsertMappingThis endpoint allows the marketplace to map its sales channels with a seller's . The seller can have multiple sales channels associated with the same marketplace, by creating different affiliates. The mapping enables the seller to segment catalog, prices, inventory, logistics, and payments in the marketplace.
-
sellerCommissions.bulkUpsertSellerCommissionsThis endpoint is used by marketplace operators to define comissions for multiple categories.
-
sellerCommissions.listSellerCommissionsThis endpoint retrieves all comissions configured for a specific seller.
-
sellerCommissions.removeSellerCommissionsThis endpoint removes a seller comission on the selected category.
-
sellerCommissions.retrieveSellerCommissionsThis endpoint retrieves seller comissions applied to the selected category.
-
sellerCommissions.upsertSellerCommissionsThis endpoint is used by marketplace operators to define comissions for a single category, by ID.
-
sellerInvite.acceptSellerLeadThis endpoint is triggered by the seller onboarding wizard, once the seller confirms their invitation. It can be used by marketplace operators to manually accept seller leads, and carry on with their onboarding process.
Note that there's no specific API call that allows status changes. The operations only allow the seller lead to move forward:
From
invite> toAccept> closing onCreate 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.
-
sellerInvite.createSellerFromSellerLeadThis endpoint is used by marketplace operators to create seller accounts. The request will only accept Seller Leads whose status is
accepted. If they are alreadyconnectedorinvited, 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> toAccept> closing onCreate 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.
-
sellerInvite.createSellerLeadThis 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.
-
sellerInvite.listSellerLeadsThis call's response includes a list of all sellers invited by the marketplace operator to join them. Retrieved results can be filtered by adding optional query fields to the request. Each seller listed includes the following information:
-
id -
createdAt -
status -
isConnected -
sellerEmail -
sellerName -
salesChannel -
email
-
-
sellerInvite.removeSellerLeadThis endpoint permanently deletes a seller previously invited to the marketplace, if the seller has not already accepted the invitation.
-
sellerInvite.resendSellerLeadRequestThis endpoint allows marketplace operators to resend an invitation to a seller lead, previously invited to join their marketplace. The request will only accept Seller Leads whose status is
invited. If they are alreadyconnectedoraccepted, the call will not be fulfilled. -
sellerInvite.retrieveSellerLeadMarketplace operators may call this endpoint to retrieve information about a specific seller invited to the Seller Portal, by searching through their
Seller Lead Id. To know the chosen seller'ssellerLeadId, marketplace operators can count on the List Sellers endpoint's response as well. Each seller listed includes the following information:-
id -
createdAt -
status -
isConnected -
sellerEmail -
sellerName -
salesChannel -
email
-
-
sellers.getListSellersThis endpoint lists all Sellers. This call's results can be filtered by through the
scquery param. -
sellers.getRetrieveSellerMarketplace operator may call this endpoint to retrieve information about a specific seller by filtering by ID. It is also possible to filter results by sales channel (or ) through the
scquery param. -
sellers.updateSellerThis 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.
-
sellers.upsertSellerRequestThis 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 without the feature, call this endpoint directly.
This call includes all the information a seller needs to activate their account.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools