{
  "opencollection": "1.0.0",
  "info": {
    "name": "Addresses Introduction Account Addresses Cart Shipping Groups API",
    "version": "25.1126.6886238"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Cart Shipping Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve all shipping groups for a cart",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://useast.api.elasticpath.com/v2/carts/:cartID/shipping-groups",
            "params": [
              {
                "name": "cartID",
                "value": "",
                "type": "path",
                "description": "The ID of the cart"
              }
            ]
          },
          "docs": "Retrieve all shipping groups for a cart"
        },
        {
          "info": {
            "name": "Create a new shipping group for a cart",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://useast.api.elasticpath.com/v2/carts/:cartID/shipping-groups",
            "params": [
              {
                "name": "cartID",
                "value": "",
                "type": "path",
                "description": "The ID of the cart"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new shipping group for a cart"
        },
        {
          "info": {
            "name": "Retrieve a specific shipping group for a cart",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://useast.api.elasticpath.com/v2/carts/:cartId/shipping-groups/:shippingGroupId",
            "params": [
              {
                "name": "cartId",
                "value": "",
                "type": "path",
                "description": "The ID of the cart"
              },
              {
                "name": "shippingGroupId",
                "value": "",
                "type": "path",
                "description": "The ID of the shipping group"
              }
            ]
          },
          "docs": "Retrieve a specific shipping group for a cart"
        },
        {
          "info": {
            "name": "Update a shipping group for a cart",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://useast.api.elasticpath.com/v2/carts/:cartId/shipping-groups/:shippingGroupId",
            "params": [
              {
                "name": "cartId",
                "value": "",
                "type": "path",
                "description": "The ID of the cart"
              },
              {
                "name": "shippingGroupId",
                "value": "",
                "type": "path",
                "description": "The ID of the shipping group"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a specific shipping group for a cart"
        },
        {
          "info": {
            "name": "Delete Cart Shipping Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://useast.api.elasticpath.com/v2/carts/:cartId/shipping-groups/:shippingGroupId",
            "params": [
              {
                "name": "cartId",
                "value": "",
                "type": "path",
                "description": "The ID of the cart"
              },
              {
                "name": "shippingGroupId",
                "value": "",
                "type": "path",
                "description": "The ID of the shipping group to delete"
              }
            ]
          },
          "docs": "Deletes a shipping group from a cart. You cannot delete a shipping group that is attached to cart items.\nYou must first remove the shipping group from all cart items before deleting the shipping group.\n"
        }
      ]
    }
  ],
  "bundled": true
}