{ "opencollection": "1.0.0", "info": { "name": "Addresses Introduction Account Addresses Customer Cart Associations API", "version": "25.1126.6886238" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Customer Cart Associations", "type": "folder" }, "items": [ { "info": { "name": "Create a Customer Cart Association", "type": "http" }, "http": { "method": "POST", "url": "https://useast.api.elasticpath.com/v2/carts/:cartID/relationships/customers", "headers": [ { "name": "X-Moltin-Customer-Token", "value": "" } ], "params": [ { "name": "cartID", "value": "", "type": "path", "description": "The ID for the cart created by the customer. Ensure that you follow the guidelines for [Safe Characters](/guides/Getting-Started/safe-characters)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "You can create associations between a customer and one or more carts. After cart associations exist for a customer, the customer can access those carts across any device." }, { "info": { "name": "Delete Customer Cart Association", "type": "http" }, "http": { "method": "DELETE", "url": "https://useast.api.elasticpath.com/v2/carts/:cartID/relationships/customers", "headers": [ { "name": "X-Moltin-Customer-Token", "value": "" } ], "params": [ { "name": "cartID", "value": "", "type": "path", "description": "The ID for the cart created by the customer." } ], "body": { "type": "json", "data": "{}" } }, "docs": "You can delete an association between a customer and a cart." } ] } ], "bundled": true }