{ "opencollection": "1.0.0", "info": { "name": "TD SYNNEX StreamOne Ion Partner Authentication Carts API", "version": "3" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://ion.tdsynnex.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Carts", "type": "folder" }, "items": [ { "info": { "name": "List Carts", "type": "http" }, "http": { "method": "GET", "url": "https://ion.tdsynnex.com/v3/accounts/:accountId/customers/:customerId/carts", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Partner account identifier" }, { "name": "customerId", "value": "", "type": "path", "description": "End customer identifier" } ] }, "docs": "List all shopping carts for a specific customer." }, { "info": { "name": "Create Cart", "type": "http" }, "http": { "method": "POST", "url": "https://ion.tdsynnex.com/v3/accounts/:accountId/customers/:customerId/carts", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Partner account identifier" }, { "name": "customerId", "value": "", "type": "path", "description": "End customer identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new shopping cart for a customer." }, { "info": { "name": "Get Cart", "type": "http" }, "http": { "method": "GET", "url": "https://ion.tdsynnex.com/v3/accounts/:accountId/customers/:customerId/carts/:cartId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Partner account identifier" }, { "name": "customerId", "value": "", "type": "path", "description": "End customer identifier" }, { "name": "cartId", "value": "", "type": "path", "description": "Shopping cart identifier" } ] }, "docs": "Retrieve a specific shopping cart." }, { "info": { "name": "Update Cart", "type": "http" }, "http": { "method": "PUT", "url": "https://ion.tdsynnex.com/v3/accounts/:accountId/customers/:customerId/carts/:cartId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Partner account identifier" }, { "name": "customerId", "value": "", "type": "path", "description": "End customer identifier" }, { "name": "cartId", "value": "", "type": "path", "description": "Shopping cart identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing shopping cart." }, { "info": { "name": "Checkout Cart", "type": "http" }, "http": { "method": "POST", "url": "https://ion.tdsynnex.com/v3/accounts/:accountId/customers/:customerId/carts/:cartId/checkout", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Partner account identifier" }, { "name": "customerId", "value": "", "type": "path", "description": "End customer identifier" }, { "name": "cartId", "value": "", "type": "path", "description": "Shopping cart identifier" } ] }, "docs": "Process the shopping cart and create an order from its contents." } ] } ], "bundled": true }