{ "opencollection": "1.0.0", "info": { "name": "VirtoCommerce.Cart Catalog Inventory API", "version": "v1" }, "items": [ { "info": { "name": "Inventory", "type": "folder" }, "items": [ { "info": { "name": "Search inventories by given criteria", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/inventory/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Search inventories by given criteria" }, { "info": { "name": "Search inventories by given criteria", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/inventory/product/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Search inventories by given criteria" }, { "info": { "name": "Search fulfillment centers registered in the system", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/inventory/fulfillmentcenters/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Search fulfillment centers registered in the system" }, { "info": { "name": "Get fulfillment center by id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/inventory/fulfillmentcenters/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "fulfillment center id" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get fulfillment center by id" }, { "info": { "name": "Partial update for the specified FulfillmentCenter by id", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/inventory/fulfillmentcenters/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "FulfillmentCenter id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Partial update for the specified FulfillmentCenter by id" }, { "info": { "name": "Get fulfillment center by outer id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/inventory/fulfillmentcenters/outer/:outerId", "params": [ { "name": "outerId", "value": "", "type": "path", "description": "fulfillment center outer id" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get fulfillment center by outer id" }, { "info": { "name": "Get fulfillment centers by ids", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/inventory/fulfillmentcenters/plenty", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get fulfillment centers by ids" }, { "info": { "name": "Save fulfillment center", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/inventory/fulfillmentcenters", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Save fulfillment center" }, { "info": { "name": "Delete fulfillment centers registered in the system", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/inventory/fulfillmentcenters", "params": [ { "name": "ids", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete fulfillment centers registered in the system" }, { "info": { "name": "Save fulfillment centers", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/inventory/fulfillmentcenters/batch", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Save fulfillment centers" }, { "info": { "name": "Get inventories of product", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/inventory/products/:productId", "params": [ { "name": "productId", "value": "", "type": "path", "description": "Product id" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get inventories of product for each fulfillment center." }, { "info": { "name": "Update inventory", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/inventory/products/:productId", "params": [ { "name": "productId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update given inventory of product." }, { "info": { "name": "Get inventories of products", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/inventory/products", "params": [ { "name": "ids", "value": "", "type": "query", "description": "Products ids" }, { "name": "fulfillmentCenterIds", "value": "", "type": "query", "description": "The fulfillment centers that will be used to filter product inventories" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get inventory of products for each fulfillment center." }, { "info": { "name": "Get inventories of products", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/inventory/products/plenty", "params": [ { "name": "fulfillmentCenterIds", "value": "", "type": "query", "description": "The fulfillment centers that will be used to filter product inventories" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get inventory of products for each fulfillment center." }, { "info": { "name": "Upsert inventories", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/inventory/plenty", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Upsert (add or update) given inventories." }, { "info": { "name": "Partial update for the specified inventory of product by id", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/inventory/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Inventory id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Partial update for the specified inventory of product by id" } ] } ], "bundled": true }