vtex.local – SKU-Bindings-API
- Homepage
- https://api.apis.guru/v2/specs/vtex.local:SKU-Bindings-API/1.0.json
- Provider
- vtex.local:SKU-Bindings-API / SKU-Bindings-API
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/vtex.local/SKU-Bindings-API/1.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/vtex.local/SKU-Bindings-API/1.0/openapi.yaml
Tools (14)
Extracted live via the executor SDK.
-
skuBindings.activateSkuBindingChanges the status of an SKU Binding to active, setting
isActivetotrue.ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/activate/{sellerId}/{skuSellerId}. -
skuBindings.bindtoanotherskuAssociates a seller's SKU to another marketplace SKU.
ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/{sellerId}/{sellerSkuId}.Request body example
-
skuBindings.changeNotificationThe seller is responsible for suggesting new SKUs to be sold in the VTEX marketplace and also for informing the marketplace about changes in their SKUs that already exist in the marketplace. Both actions start with a catalog notification, which is made by this request.
With this notification, the seller is telling the marketplace that something has changed about a specific SKU, like price or inventory, or that this is a new SKU that the seller would like to offer to the marketplace.
The body of the request should be empty.
ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/changenotification/{skuId}. -
skuBindings.deactivateSkuBindingChanges the status of an SKU Binding to inactive, setting
isActivetofalse.ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/inactivate/{sellerId}/{skuSellerId}. -
skuBindings.deleteSkUsellerassociationRemove a seller's SKU binding, given the Seller ID and the SKU ID in the seller's store.
ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/remove/{sellerId}/{sellerSkuId}. -
skuBindings.getallbySellerIdRetrieves a list of SKU Bindings given a specific Seller ID.
ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/list/bysellerId/{sellerId}.Response body example
[ { "SellerStockKeepingUnitId": "24", "FreightCommissionPercentage": null, "ProductCommissionPercentage": null, "SellerId": "vtxkfj7352", "StockKeepingUnitId": 121, "IsActive": true }] -
skuBindings.getbySkuIdRetrieves SKU Bindings details by SKU ID.
Response body example
[ { "Id": 48, "SellerId": "cosmetics1", "StockKeepingUnitId": 1, "SellerSkuId": "42", "IsActive": true, "LastUpdateDate": "2020-10-21T19:13:00.657", "SalesPolicy": 0 }] -
skuBindings.getpagedadminRetrieves SKU Bindings administrative information using optional query params
sellerId,skuId,sellerSkuIdandIsActiveto filter results andsizeto restrict the amount of results.ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/admin.Response body example
[ { "IsPersisted": true, "IsRemoved": false, "SkuSellerId": 1, "UpdateDate": "2019-12-04T01:56:00.673Z", "RequestedUpdateDate": null, "SellerStockKeepingUnitId": "12", "SellerId": "cosmetics1", "StockKeepingUnitId": 25, "IsActive": true }] -
skuBindings.getpagedbySellerIdRetrieves a paged list of SKU Bindings given a specific Seller ID.
ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/paged/sellerid/{sellerId}.Response body example
[ { "SellerId": "vtxkfj7352", "StockKeepingUnitId": 121, "SellerStockKeepingUnitId": "24", "IsActive": true, "FreightCommissionPercentage": null, "ProductCommissionPercentage": null }, { "SellerId": "vtxkfj7352", "StockKeepingUnitId": 14, "SellerStockKeepingUnitId": "60", "IsActive": true, "FreightCommissionPercentage": null, "ProductCommissionPercentage": null }] -
skuBindings.getSkUsellerRetrieves the details of a seller's SKU given a seller ID and the SKU ID in the seller's store.
ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/{sellerId}/{sellerSkuId}.Response body example
{ "IsPersisted": true, "IsRemoved": false, "SkuSellerId": 102, "UpdateDate": "2021-04-12T20:06:59.413Z", "RequestedUpdateDate": null, "SellerStockKeepingUnitId": "71", "SellerId": "vtxkfj7352", "StockKeepingUnitId": 1, "IsActive": true} -
skuBindings.insertSkuBindingCreates an SKU Binding, associating a seller's SKU with a marketplace's SKU.
ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/insertion. -
skuBindings.postSkuBindingPvtSkusellerChangenotificationSellerIdSellerSkuIdThe seller is responsible for suggesting new SKUs to be sold in the VTEX marketplace and also for informing the marketplace about changes in their SKUs that already exist in the marketplace. Both actions start with a catalog notification, which is made by this request.
With this notification, the seller is telling the marketplace that something has changed about a specific SKU, like price or inventory, or that this is a new SKU that the seller would like to offer to the marketplace.
There are two information expected by the marketplace in this request: the
sellerId, which identifies the seller, and thesellerSkuId, which identifies the binding of the seller with the SKU.Both information are passed through the request URL. The body of the request should be empty.
ℹ This path is an updated version of
/api/catalog_system/pvt/skuseller/changenotification/{sellerId}/{sellerSkuId}.Example
Let's say your seller has the ID
123in the marketplace and you want to inform the marketplace that has been a change in the SKU with ID700.In this case, you would have to replace the
sellerIdparameter with the value123and theskuIdparameter with the value700. The URL of the request would be the following.Response codes
The following response codes are possible for this request.
- 200: the SKU whose ID was informed in the URL already exists in the marketplace and was found. The marketplace can now proceed with a fulfillment simulation in order to get updated information about this SKU's inventory and price.
- 403: Failure in the authentication.
- 404: the SKU was not found in the marketplace. The body of the response, in this case, should follow this format: "Seller StockKeepingUnit
{{skuId}}not found for this seller id{{sellerId}}. This means that the seller can now proceed with sending an offer to the marketplace in order to suggest that this SKU is sold there. - 429: Failure due to too many requests.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools