{ "opencollection": "1.0.0", "info": { "name": "GetResponse APIv3 Carts", "version": "3.2026-07-28T07:58:55+00:00" }, "items": [ { "info": { "name": "Carts", "type": "folder" }, "items": [ { "info": { "name": "Get shop carts", "type": "http" }, "http": { "method": "GET", "url": "https://api.getresponse.com/v3/shops/:shopId/carts", "params": [ { "name": "shopId", "value": "pf3", "type": "path", "description": "The shop ID" }, { "name": "query[createdOn][from]", "value": "", "type": "query", "description": "Search carts created from this date" }, { "name": "query[createdOn][to]", "value": "", "type": "query", "description": "Search carts created to this date" }, { "name": "query[externalId]", "value": "", "type": "query", "description": "Search cart by external ID" }, { "name": "sort[createdOn]", "value": "", "type": "query", "description": "Sort by date" }, { "name": "fields", "value": "", "type": "query", "description": "List of fields that should be returned. Id is always returned. Fields should be separated by comma" }, { "name": "perPage", "value": "", "type": "query", "description": "Requested number of results per page" }, { "name": "page", "value": "", "type": "query", "description": "Page number" } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "\nSending a **GET** request to this URL returns a collection of cart resources that belong to the given shop.\n\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n\n * externalId\n * createdOn\n\n\n\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort" }, { "info": { "name": "Create cart", "type": "http" }, "http": { "method": "POST", "url": "https://api.getresponse.com/v3/shops/:shopId/carts", "params": [ { "name": "shopId", "value": "pf3", "type": "path", "description": "The shop ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "\nSending a **POST** request to this URL will create a new cart resource.\n\nIn order to create a new cart, you need to send the cart resource in the body of the request (remember that you need to serialize the body into a JSON string)\n\n" }, { "info": { "name": "Get cart by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.getresponse.com/v3/shops/:shopId/carts/:cartId", "params": [ { "name": "shopId", "value": "pf3", "type": "path", "description": "The shop ID" }, { "name": "cartId", "value": "V", "type": "path", "description": "The cart ID" }, { "name": "fields", "value": "", "type": "query", "description": "List of fields that should be returned. Id is always returned. Fields should be separated by comma" } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "\nThis method returns cart with the given `cartId` in the context of a given `shopId`\n\n" }, { "info": { "name": "Update cart", "type": "http" }, "http": { "method": "POST", "url": "https://api.getresponse.com/v3/shops/:shopId/carts/:cartId", "params": [ { "name": "shopId", "value": "pf3", "type": "path", "description": "The shop ID" }, { "name": "cartId", "value": "V", "type": "path", "description": "The cart ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "\nUpdate properties of the shop cart. You should send only those fields that need to be changed. The rest of the properties will stay the same.\n\nIn case of selectedVariants, when the collection is updated, the old one is completely removed.\n\n" }, { "info": { "name": "Delete cart", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.getresponse.com/v3/shops/:shopId/carts/:cartId", "params": [ { "name": "shopId", "value": "pf3", "type": "path", "description": "The shop ID" }, { "name": "cartId", "value": "V", "type": "path", "description": "The cart ID" } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "Delete cart" } ] } ], "bundled": true }