{ "opencollection": "1.0.0", "info": { "name": "VTex Anti-fraud Provider Account Sales Channel Mapping API", "version": "1.0" }, "items": [ { "info": { "name": "Sales Channel Mapping", "type": "folder" }, "items": [ { "info": { "name": "VTex Get Sales Channel Mapping Data", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/seller-register/pvt/sellers/:sellerId/sales-channel/mapping", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "accountName", "value": "", "type": "path", "description": "Name of the VTEX account that belongs to the marketplace. The notification will be posted into this account." }, { "name": "environment", "value": "", "type": "path", "description": "Environment to use. Used as part of the URL." }, { "name": "an", "value": "", "type": "query", "description": "Marketplace's account name, the same one inputted on the endpoint's path." }, { "name": "sellerId", "value": "", "type": "path", "description": "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." } ] }, "docs": "Retrieves information about the mapping between marketplace's sales channels and a specific seller." }, { "info": { "name": "VTex Upsert Sales Channel Mapping", "type": "http" }, "http": { "method": "PUT", "url": "https://{providerApiEndpoint}/seller-register/pvt/sellers/:sellerId/sales-channel/mapping", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "accountName", "value": "", "type": "path", "description": "Name of the VTEX account that belongs to the marketplace. The notification will be posted into this account." }, { "name": "environment", "value": "", "type": "path", "description": "Environment to use. Used as part of the URL." }, { "name": "an", "value": "", "type": "query", "description": "Marketplace's account name, the same one inputted on the endpoint's path." }, { "name": "sellerId", "value": "", "type": "path", "description": "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." } ], "body": { "type": "json", "data": "{}" } }, "docs": "This endpoint allows the marketplace to map its sales channels with a seller's [affiliate](https://help.vtex.com/en/tutorial/configuring-affiliates--tutorials_187). 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." } ] } ], "bundled": true }