{
  "opencollection": "1.0.0",
  "info": {
    "name": "Madhive archive a line item API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "archive a line item",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ability to archive a line item",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api2.madhive.com/api/v1/lineitems/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "line item id"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api2.madhive.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Ability to archive a line item. Unable to archive a line item if it has ever been set live."
        }
      ]
    }
  ],
  "bundled": true
}