List Carrier Package Types

tip

Requirements

  • This lesson assumes you have know how to List Your Carriers.
  • You will need a carrier_id for this request.

Example

POST /v1/carriers/:carrier_id/packages

curl -iX GET https://api.shipengine.com/v1/carriers/se-123890/packages \
-H 'Content-Type: application/json' \
-H 'API-Key: __YOUR_API_KEY_HERE__'
{
  "packages": [
    {
      "package_id": null,
      "package_code": "flat_rate_envelope",
      "name": "Flat Rate Envelope",
      "description": "USPS flat rate envelope. A special cardboard envelope provided by the USPS that clearly indicates \"Flat Rate\"."
    },
    {
      "package_id": null,
      "package_code": "flat_rate_legal_envelope",
      "name": "Flat Rate Legal Envelope",
      "description": "Flat Rate Legal Envelope"
    },
    {
      "package_id": null,
      "package_code": "flat_rate_padded_envelope",
      "name": "Flat Rate Padded Envelope",
      "description": "Flat Rate Padded Envelope"
    },
    {
      "package_id": null,
      "package_code": "large_envelope_or_flat",
      "name": "Large Envelope or Flat",
      "description": "Large envelope or flat. Has one dimension that is between 11 1/2 and 15 long, 6 1/18 and 12 high, or 1/4 and 3/4 thick."
    },
    {
      "package_id": null,
      "package_code": "large_flat_rate_box",
      "name": "Large Flat Rate Box",
      "description": "Large Flat Rate Box"
    },
    {
      "package_id": null,
      "package_code": "large_package",
      "name": "Large Package (any side > 12)",
      "description": "Large package. Longest side plus the distance around the thickest part is over 84 and less than or equal to 108."
    },
    {
      "package_id": null,
      "package_code": "letter",
      "name": "Letter",
      "description": "Letter"
    },
    {
      "package_id": null,
      "package_code": "medium_flat_rate_box",
      "name": "Medium Flat Rate Box",
      "description": "USPS flat rate box. A special 11 x 8 1/2 x 5 1/2 or 14 x 3.5 x 12 USPS box that clearly indicates Flat Rate Box"
    },
    {
      "package_id": null,
      "package_code": "package",
      "name": "Package",
      "description": "Package. Longest side plus the distance around the thickest part is less than or equal to 84"
    },
    {
      "package_id": null,
      "package_code": "regional_rate_box_a",
      "name": "Regional Rate Box A",
      "description": "Regional Rate Box A"
    },
    {
      "package_id": null,
      "package_code": "regional_rate_box_b",
      "name": "Regional Rate Box B",
      "description": "Regional Rate Box B"
    },
    {
      "package_id": null,
      "package_code": "small_flat_rate_box",
      "name": "Small Flat Rate Box",
      "description": "Small Flat Rate Box"
    },
    {
      "package_id": null,
      "package_code": "thick_envelope",
      "name": "Thick Envelope",
      "description": "Thick envelope. Envelopes or flats greater than 3/4 at the thickest point."
    }
  ]
}