{"note":"OpenAPI conversion -- returning structured metadata","name":"vtex-local-sku-bindings-api","description":"SKU Bindings API","version":"1.0","base_url":"https://apiexamples.vtexcommercestable.com.br/api","endpoints":12,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api SKU Bindings API\n@base https://apiexamples.vtexcommercestable.com.br/api\n@version 1.0\n@auth ApiKey X-VTEX-API-AppKey in header | ApiKey X-VTEX-API-AppToken in header | ApiKey VtexIdclientAutCookie in header\n@common_fields {Content-Type: str # Type of the content being sent., Accept: str # HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.}\n@endpoints 12\n@toc sku-binding(12)\n\n@endpoint GET /sku-binding/pvt/skusellers/{skuId}\n@desc Get SKU bindings by SKU ID\n@required {skuId: str # SKU's unique identifier in the marketplace.}\n@returns(200) OK\n\n@endpoint GET /sku-binding/pvt/skuseller/admin\n@desc Get SKU bindings information\n@optional {sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the Admin to get the correct ID., skuId: str # SKU's unique identifier in the marketplace., sellerSkuId: str # SKU ID in the seller's store., isActive: bool # Defines if the SKU binding is active., size: str # Amount of results.}\n@returns(200) OK\n\n@endpoint GET /sku-binding/pvt/skuseller/{sellerId}/{sellerSkuId}\n@desc Get details of a seller's SKU\n@required {sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID., sellerSkuId: str # SKU ID in the seller's store.}\n@returns(200) {IsPersisted: bool, IsRemoved: bool, SkuSellerId: int, UpdateDate: str, RequestedUpdateDate: str?, SellerStockKeepingUnitId: str, SellerId: str, StockKeepingUnitId: int, IsActive: bool} # OK\n\n@endpoint PUT /sku-binding/pvt/skuseller/{sellerId}/{sellerSkuId}\n@desc Bind a seller's SKU to another SKU\n@required {sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID., sellerSkuId: str # SKU ID in the seller's store., StockKeepingUnitId: int # SKU ID in the marketplace.}\n@returns(204) No Content\n@example_request {\"StockKeepingUnitId\":1}\n\n@endpoint GET /sku-binding/pvt/skuseller/list/bysellerId/{sellerId}\n@desc Get all SKU bindings by seller ID\n@required {sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID.}\n@returns(200) OK\n\n@endpoint GET /sku-binding/pvt/skuseller/paged/sellerid/{sellerId}\n@desc Get paged SKU bindings by seller ID\n@required {page: str # Page number., size: str # Amount of results per page., sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID.}\n@returns(200) OK\n\n@endpoint POST /sku-binding/pvt/skuseller/changenotification/{skuId}\n@desc Change notification with SKU ID\n@required {skuId: str # A string that identifies the SKU in the marketplace. This is the ID that the marketplace will use to look for the SKU whose change the seller wants to inform. If the marketplace finds this ID, it responds with status code `200`. Otherwise, it responds with status code `404`.}\n@returns(200) OK\n@errors {400: Bad Request, 403: Forbidden, 404: Not Found, 429: Too Many Requests}\n\n@endpoint POST /sku-binding/pvt/skuseller/changenotification/{sellerId}/{sellerSkuId}\n@desc Change notification with seller ID and seller SKU ID\n@required {sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID., sellerSkuId: str # ID of the binding of the seller with the SKU.}\n@returns(200) OK\n@errors {400: Bad Request, 403: Forbidden, 404: Not Found, 429: Too Many Requests}\n\n@endpoint POST /sku-binding/pvt/skuseller/insertion\n@desc Insert SKU binding\n@required {StockKeepingUnitId: int # SKU ID in the marketplace., IsActive: bool # Defines whether the SKU binding is active (`true`) or inactive (`false`)., SellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID., SellerStockKeepingUnitId: str # SKU seller ID.}\n@returns(200) OK\n@errors {400: Bad Request, 409: Conflict}\n@example_request {\"StockKeepingUnitId\":1,\"IsActive\":true,\"SellerId\":\"fashionstore\",\"SellerStockKeepingUnitId\":\"71\"}\n\n@endpoint POST /sku-binding/pvt/skuseller/activate/{sellerId}/{skuSellerId}\n@desc Activate SKU binding\n@required {sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID., skuSellerId: str # SKU ID in the seller's store.}\n@returns(200) OK\n\n@endpoint POST /sku-binding/pvt/skuseller/inactivate/{sellerId}/{skuSellerId}\n@desc Deactivate SKU binding\n@required {sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID., skuSellerId: str # SKU ID in the seller's store.}\n@returns(200) OK\n\n@endpoint POST /sku-binding/pvt/skuseller/remove/{sellerId}/{sellerSkuId}\n@desc Remove a seller's SKU binding\n@required {sellerId: str # ID that identifies the seller in the marketplace. It can be the same as the seller name or a unique number. Check the **Sellers management** section in the VTEX Admin to get the correct ID., sellerSkuId: str # SKU ID in the seller's store.}\n@returns(200) OK\n\n@end\n"}