{ "opencollection": "1.0.0", "info": { "name": "VTex Anti-fraud Provider Account Commercial Conditions API", "version": "1.0" }, "items": [ { "info": { "name": "Commercial Conditions", "type": "folder" }, "items": [ { "info": { "name": "VTex Get all commercial conditions", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/catalog_system/pvt/commercialcondition/list", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ] }, "docs": "Lists all commercial conditions on the store. \r\n## Response body example\r\n\r\n```json\r\n[\r\n {\r\n \"Id\": 1,\r\n \"Name\": \"Padrão\",\r\n \"IsDefault\": true\r\n },\r\n {\r\n \"Id\": 2,\r\n \"Name\": \"Teste Fast\",\r\n \"IsDefault\": false\r\n }\r\n]\r\n```" }, { "info": { "name": "VTex Get commercial condition", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/catalog_system/pvt/commercialcondition/:commercialConditionId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "commercialConditionId", "value": "", "type": "path", "description": "Commercial condition unique numerical identifier." } ] }, "docs": "Retrieves information of a commercial condition by its ID. \r\n## Response body example\r\n\r\n```json\r\n{\r\n \"Id\": 1,\r\n \"Name\": \"Padrão\",\r\n \"IsDefault\": true\r\n}\r\n```" } ] } ], "bundled": true }