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