{
  "opencollection": "1.0.0",
  "info": {
    "name": "EasyPost Shipping API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "List shipments",
        "type": "http"
      },
      "http": {
        "method": "GET",
        "url": "https://api.easypost.com/v2/shipments",
        "params": [
          {
            "name": "page_size",
            "value": "",
            "type": "query"
          },
          {
            "name": "before_id",
            "value": "",
            "type": "query"
          },
          {
            "name": "after_id",
            "value": "",
            "type": "query"
          }
        ]
      },
      "docs": "List shipments"
    },
    {
      "info": {
        "name": "Create a shipment",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.easypost.com/v2/shipments",
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Create a shipment"
    },
    {
      "info": {
        "name": "Retrieve a shipment",
        "type": "http"
      },
      "http": {
        "method": "GET",
        "url": "https://api.easypost.com/v2/shipments/:id",
        "params": [
          {
            "name": "id",
            "value": "",
            "type": "path"
          }
        ]
      },
      "docs": "Retrieve a shipment"
    },
    {
      "info": {
        "name": "Buy a shipment",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.easypost.com/v2/shipments/:id/buy",
        "params": [
          {
            "name": "id",
            "value": "",
            "type": "path"
          }
        ],
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Buy a shipment"
    },
    {
      "info": {
        "name": "Convert a shipment label format",
        "type": "http"
      },
      "http": {
        "method": "GET",
        "url": "https://api.easypost.com/v2/shipments/:id/label",
        "params": [
          {
            "name": "id",
            "value": "",
            "type": "path"
          },
          {
            "name": "file_format",
            "value": "",
            "type": "query"
          }
        ]
      },
      "docs": "Convert a shipment label format"
    },
    {
      "info": {
        "name": "Refund a shipment label",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.easypost.com/v2/shipments/:id/refund",
        "params": [
          {
            "name": "id",
            "value": "",
            "type": "path"
          }
        ]
      },
      "docs": "Refund a shipment label"
    },
    {
      "info": {
        "name": "List addresses",
        "type": "http"
      },
      "http": {
        "method": "GET",
        "url": "https://api.easypost.com/v2/addresses"
      },
      "docs": "List addresses"
    },
    {
      "info": {
        "name": "Create an address",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.easypost.com/v2/addresses",
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Create an address"
    },
    {
      "info": {
        "name": "Retrieve an address",
        "type": "http"
      },
      "http": {
        "method": "GET",
        "url": "https://api.easypost.com/v2/addresses/:id",
        "params": [
          {
            "name": "id",
            "value": "",
            "type": "path"
          }
        ]
      },
      "docs": "Retrieve an address"
    },
    {
      "info": {
        "name": "Create a parcel",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.easypost.com/v2/parcels",
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Create a parcel"
    },
    {
      "info": {
        "name": "List trackers",
        "type": "http"
      },
      "http": {
        "method": "GET",
        "url": "https://api.easypost.com/v2/trackers"
      },
      "docs": "List trackers"
    },
    {
      "info": {
        "name": "Create a tracker",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.easypost.com/v2/trackers",
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Create a tracker"
    },
    {
      "info": {
        "name": "Retrieve a tracker",
        "type": "http"
      },
      "http": {
        "method": "GET",
        "url": "https://api.easypost.com/v2/trackers/:id",
        "params": [
          {
            "name": "id",
            "value": "",
            "type": "path"
          }
        ]
      },
      "docs": "Retrieve a tracker"
    },
    {
      "info": {
        "name": "Create a refund",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.easypost.com/v2/refunds",
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Create a refund"
    },
    {
      "info": {
        "name": "Create a report",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.easypost.com/v2/reports/:type",
        "params": [
          {
            "name": "type",
            "value": "",
            "type": "path"
          }
        ],
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Create a report"
    }
  ],
  "bundled": true
}