{ "opencollection": "1.0.0", "info": { "name": "Depict Lite Ab Test multi-store API", "version": "1.0.0" }, "items": [ { "info": { "name": "multi-store", "type": "folder" }, "items": [ { "info": { "name": "Get Stores", "type": "http" }, "http": { "method": "GET", "url": "/api/lite/multi-store/stores/:merchant_id", "params": [ { "name": "merchant_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize", "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Stores" }, { "info": { "name": "Connect Multi Store", "type": "http" }, "http": { "method": "POST", "url": "/api/lite/multi-store/connect-store/:merchant_id", "params": [ { "name": "merchant_id", "value": "", "type": "path" }, { "name": "activation_code", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize", "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Connect Multi Store" }, { "info": { "name": "Disconnect Store From Group", "type": "http" }, "http": { "method": "POST", "url": "/api/lite/multi-store/disconnect/:merchant_id", "params": [ { "name": "merchant_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize", "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Disconnect Store From Group" }, { "info": { "name": "Get Collection Mappings", "type": "http" }, "http": { "method": "GET", "url": "/api/lite/multi-store/collection-mappings/:group_id", "params": [ { "name": "group_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize", "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Collection Mappings" }, { "info": { "name": "Update Collection Mappings", "type": "http" }, "http": { "method": "POST", "url": "/api/lite/multi-store/collection-mappings/:group_id", "params": [ { "name": "group_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize", "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update Collection Mappings" }, { "info": { "name": "Get Collection Replication Data", "type": "http" }, "http": { "method": "GET", "url": "/api/lite/multi-store/replication-data/:collection_id", "params": [ { "name": "collection_id", "value": "", "type": "path" }, { "name": "merchant_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize", "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Collection Replication Data" }, { "info": { "name": "Update Collection Replication", "type": "http" }, "http": { "method": "POST", "url": "/api/lite/multi-store/collection-replication", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize", "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update Collection Replication" }, { "info": { "name": "Create Collection Mappings", "type": "http" }, "http": { "method": "POST", "url": "/api/lite/multi-store/create-collection-mappings/:merchant_id", "params": [ { "name": "merchant_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize", "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create Collection Mappings" } ] } ], "bundled": true }