Get a Quote Request

GET /requests/{request_id}

Retrieve an existing Shipment Quote Request record by its ID

Headers

  • Authorization string Required

    Authorize your API calls with an Arta API token

Path parameters

Responses

  • 200 application/json

    Successful Request get response

    Hide headers attributes Show headers attributes
    Hide response attributes Show response attributes object
    • additional_services array[string]

      The id of a service.

    • bookable object
      Hide bookable attributes Show bookable attributes
      • ready boolean

        Returns true if the quotes in this request may be booked

      • missing array[string]

        A list of fields required for the request to be bookable

    • A NaiveDatetime-formatted timestamp describing when the resource was created with microsecond precision

    • currency string

      ISO 4217 three-letter alphabetic currency code. Options are defined in the Currencies metadata endpoint

      Minimum length is 3, maximum length is 3. Format should match the following pattern: ^[A-Z]{3}$. Default value is USD.

    • Hide destination attributes Show destination attributes
    • disqualifications array[object]

      The disqualifcation reason

      Hide disqualifications attributes Show disqualifications attributes object
    • hosted_session_id integer | null

      The ID of the HostedSession through which this shipment was created

    • id string
    • insurance string | null

      The id of an insurance type. If requesting Arta insurance, object values must be provided.

    • internal_reference string | null

      This field can be used to pass through any data about the request you may want returned unaltered for your own later usage

      Maximum length is 255.

    • The request ID for the API call that created the resource. This request ID maps to the Log resource's "request_id" field

    • The count of objects included in the initial request payload

    • objects array[object]
      Hide objects attributes Show objects attributes object
      • current_packing array[string]

        A list of packing subtype IDs describing how the item is currently packed. Options are defined in the Packing Types metadata endpoint

      • depth string

        The depth of the object

      • details object
        Hide details attributes Show details attributes
        • creation_date string | null

          Details about the timing in which an object was created

        • creator string

          The creator of the object

        • is_cites boolean

          Set to true if the object is governed by the Convention on International Trade in Endangered Species of Wild Fauna and Flora

          Default value is false.

        • is_fragile boolean

          Set this flag to true is the item is fragile. This may effect packing and handling costs

          Default value is false.

        • materials array[string] Deprecated

          A list of IDs describing the types of materials used. Options are defined in the Object Materials metadata endpoint

        • notes string

          Any notes about the object

        • title string

          The object title

      • height string

        The height of the object

      • id integer

        The system-generated ID for this object

      • images array[string(uri)]

        A list image urls of the object

      • internal_reference string | null

        This field can be used to pass through any data about the object you may want returned unaltered for your own later usage

        Maximum length is 255.

      • public_reference string | null

        A user defined name of the object

        Maximum length is 255.

      • subtype string

        The object subtype id

        Format should match the following pattern: ^[0-9a-z_]{1,56}$.

      • type string

        The object type id

        Format should match the following pattern: ^[0-9a-z_]{1,56}$.

      • width string

        The width of the object

      • weight string

        The height of the object

      • Values are in or cm.

      • value string

        Format should match the following pattern: ^(0|([1-9]+[0-9]*))(\.[0-9]{1,2})?$.

      • ISO 4217 three-letter alphabetic currency code. Options are defined in the Currencies metadata endpoint

        Minimum length is 3, maximum length is 3. Format should match the following pattern: ^[A-Z]{3}$. Default value is USD.

    • origin object
      Hide origin attributes Show origin attributes
    • The primary method by which payment to Arta will be handled for any shipment booked from this request

      Maximum length is 255. Values are checkout or invoicing.

    • An optional field presenting the list of quote types the caller instructed Arta to return as part of the quote request

    • public_reference string | null

      A client defined name for the resource. The value provided for the public_reference field may appear in notification emails and public web pages

      Maximum length is 255.

    • quote_types array[string]

      The id of a quote type

    • quotes array[object]

      The list of quotes returned for the request

      Hide quotes attributes Show quotes attributes object
      • id integer
      • Hide included_insurance_policy attributes Show included_insurance_policy attributes
        • amount string

          Format should match the following pattern: ^(0|([1-9]+[0-9]*))(\.[0-9]{1,2})?$.

        • ISO 4217 three-letter alphabetic currency code. Options are defined in the Currencies metadata endpoint

          Minimum length is 3, maximum length is 3. Format should match the following pattern: ^[A-Z]{3}$. Default value is USD.

        • id string
        • Format should match the following pattern: ^(0|([1-9]+[0-9]*))(\.[0-9]{1,2})?$.

        • ISO 4217 three-letter alphabetic currency code. Options are defined in the Currencies metadata endpoint

          Minimum length is 3, maximum length is 3. Format should match the following pattern: ^[A-Z]{3}$. Default value is USD.

      • included_services array[object]
        Hide included_services attributes Show included_services attributes object
      • optional_services array[object]
        Hide optional_services attributes Show optional_services attributes object
        • amount string

          Format should match the following pattern: ^(0|([1-9]+[0-9]*))(\.[0-9]{1,2})?$.

        • ISO 4217 three-letter alphabetic currency code. Options are defined in the Currencies metadata endpoint

          Minimum length is 3, maximum length is 3. Format should match the following pattern: ^[A-Z]{3}$. Default value is USD.

        • included_services array[object]
          Hide included_services attributes Show included_services attributes object
        • name string
        • subtype string
        • type string
      • status string
      • total string

        Format should match the following pattern: ^(0|([1-9]+[0-9]*))(\.[0-9]{1,2})?$.

      • ISO 4217 three-letter alphabetic currency code. Options are defined in the Currencies metadata endpoint

        Minimum length is 3, maximum length is 3. Format should match the following pattern: ^[A-Z]{3}$. Default value is USD.

    • shipping_notes string | null

      This field can be used to pass through any notes to Arta that a customer might want to provide about the request

    • A brief and unique string identifier for the request resource

    • status string

      Values are quoted, in_progress, cancelled, closed, disqualified, expired, or pending.

    • A NaiveDatetime-formatted timestamp describing when the resource was last updated with microsecond precision

  • 404 application/json

    Resource Not Found

    Hide headers attributes Show headers attributes
    Hide response attribute Show response attribute object
GET /requests/{request_id}
curl \
 -X GET https://api.arta.io/requests/{request_id} \
 -H "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y"
Response examples (200)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
{
  "additional_services": [],
  "bookable": {
    "missing": [],
    "ready": true
  },
  "created_at": "2021-01-21T17:22:08.818747",
  "currency": "USD",
  "destination": {
    "access_restrictions": [],
    "address_line_1": "87 Richardson St",
    "address_line_2": null,
    "address_line_3": null,
    "city": "New York",
    "contacts": [
      {
        "email_address": "al@example.com",
        "name": "Alfred Barr",
        "phone_number": "(222) 222-2222"
      }
    ],
    "country": "US",
    "postal_code": "11249",
    "region": "NY",
    "title": "Home"
  },
  "disqualifications": [],
  "hosted_session_id": 723,
  "id": "9d8892bc-f4c6-4b45-88e2-0ccd28eb73cc",
  "insurance": null,
  "internal_reference": null,
  "log_request_id": "FpL53jSpPbCUXRAAKPRS",
  "object_count": 1,
  "objects": [
    {
      "current_packing": [],
      "depth": "2",
      "details": {
        "creation_date": null,
        "creator": "Robert Irwin",
        "is_cites": false,
        "is_fragile": false,
        "materials": [],
        "title": "All That Jazz"
      },
      "height": "10.5",
      "id": 1644,
      "images": [],
      "internal_reference": null,
      "public_reference": null,
      "subtype": "painting_unframed",
      "type": "art",
      "unit_of_measurement": "in",
      "value": "15000",
      "value_currency": "USD",
      "weight": "3.5",
      "weight_unit": "lb",
      "width": "10"
    }
  ],
  "origin": {
    "access_restrictions": [],
    "address_line_1": "11 W 53rd St",
    "address_line_2": null,
    "address_line_3": null,
    "city": "New York",
    "contacts": [
      {
        "email_address": "mary@example.com",
        "name": "Mary Quinn Sullivan",
        "phone_number": "(333) 333-3333"
      }
    ],
    "country": "US",
    "postal_code": "10019",
    "region": "NY",
    "title": "Warehouse"
  },
  "payment_process": "invoicing",
  "preferred_quote_types": [],
  "public_reference": null,
  "quote_types": [
    "premium",
    "select",
    "parcel"
  ],
  "quotes": [
    {
      "id": 61,
      "included_services": [
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Specialized Shuttle",
          "sub_subtype": "specialized_shuttle",
          "subtype": "specialized",
          "type": "transport"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Shadowbox",
          "sub_subtype": "shadow_box",
          "subtype": "packing_materials",
          "type": "packing"
        }
      ],
      "included_insurance_policy": null,
      "optional_services": [
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [
            {
              "name": "Soft Packed Disposal",
              "sub_subtype": "soft_packed_disposal",
              "subtype": "debris_disposal",
              "type": "handling"
            }
          ],
          "name": "Debris Disposal",
          "sub_subtype": "debris_disposal",
          "subtype": "debris_disposal",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Assembly",
          "sub_subtype": "assembly",
          "subtype": "installation",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Placement",
          "sub_subtype": "placement",
          "subtype": "installation",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Installation",
          "sub_subtype": "installation",
          "subtype": "installation",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Condition Check (destination)",
          "sub_subtype": "destination_condition_check",
          "subtype": "condition",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Condition Check (origin)",
          "sub_subtype": "origin_condition_check",
          "subtype": "condition",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Condition Report (destination)",
          "sub_subtype": "destination_full_condition_report",
          "subtype": "condition",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Condition Report (origin)",
          "sub_subtype": "origin_full_condition_report",
          "subtype": "condition",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [
            {
              "name": "Unpacking Soft Materials (destination)",
              "sub_subtype": "destination_unpacking_soft",
              "subtype": "unpacking",
              "type": "handling"
            }
          ],
          "name": "Unpacking (destination)",
          "sub_subtype": "destination_unpacking",
          "subtype": "unpacking",
          "type": "handling"
        }
      ],
      "quote_type": "premium",
      "status": "published",
      "total": "2",
      "total_currency": "USD"
    },
    {
      "id": 62,
      "included_services": [
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [
            {
              "name": "Soft Packed Disposal",
              "sub_subtype": "soft_packed_disposal",
              "subtype": "debris_disposal",
              "type": "handling"
            }
          ],
          "is_requested": false,
          "is_required": true,
          "name": "Debris Disposal",
          "sub_subtype": "debris_disposal",
          "subtype": "debris_disposal",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Fuel Surcharge",
          "sub_subtype": "fuel_surcharge",
          "subtype": "fees",
          "type": "taxes_duties_fees"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Strongbox",
          "sub_subtype": "strongbox",
          "subtype": "packing_materials",
          "type": "packing"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Consolidated Trucking",
          "sub_subtype": "road_groupage",
          "subtype": "consolidated",
          "type": "transport"
        }
      ],
      "included_insurance_policy": null,
      "optional_services": [
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [
            {
              "name": "Unpacking Soft Materials (destination)",
              "sub_subtype": "destination_unpacking_soft",
              "subtype": "unpacking",
              "type": "handling"
            }
          ],
          "name": "Unpacking (destination)",
          "sub_subtype": "destination_unpacking",
          "subtype": "unpacking",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Condition Check (destination)",
          "sub_subtype": "destination_condition_check",
          "subtype": "condition",
          "type": "handling"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "name": "Condition Check (origin)",
          "sub_subtype": "origin_condition_check",
          "subtype": "condition",
          "type": "handling"
        }
      ],
      "quote_type": "select",
      "status": "published",
      "total": "4",
      "total_currency": "USD"
    },
    {
      "id": 63,
      "included_services": [
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Fuel Surcharge",
          "sub_subtype": "fuel_surcharge",
          "subtype": "fees",
          "type": "taxes_duties_fees"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Collection",
          "sub_subtype": "collection",
          "subtype": "collection",
          "type": "location"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Ply Box",
          "sub_subtype": "ply_box",
          "subtype": "packing_materials",
          "type": "packing"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "UPS Ground",
          "sub_subtype": "parcel",
          "subtype": "parcel",
          "type": "transport"
        }
      ],
      "included_insurance_policy": null,
      "optional_services": [],
      "quote_type": "parcel",
      "status": "published",
      "total": "4",
      "total_currency": "USD"
    },
    {
      "id": 64,
      "included_services": [
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Fuel Surcharge",
          "sub_subtype": "fuel_surcharge",
          "subtype": "fees",
          "type": "taxes_duties_fees"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Collection",
          "sub_subtype": "collection",
          "subtype": "collection",
          "type": "location"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Ply Box",
          "sub_subtype": "ply_box",
          "subtype": "packing_materials",
          "type": "packing"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "UPS Second Day Air",
          "sub_subtype": "parcel",
          "subtype": "parcel",
          "type": "transport"
        }
      ],
      "included_insurance_policy": null,
      "optional_services": [],
      "quote_type": "parcel",
      "status": "published",
      "total": "4",
      "total_currency": "USD"
    },
    {
      "id": 65,
      "included_services": [
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Fuel Surcharge",
          "sub_subtype": "fuel_surcharge",
          "subtype": "fees",
          "type": "taxes_duties_fees"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Collection",
          "sub_subtype": "collection",
          "subtype": "collection",
          "type": "location"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "Ply Box",
          "sub_subtype": "ply_box",
          "subtype": "packing_materials",
          "type": "packing"
        },
        {
          "amount": "1",
          "amount_currency": "USD",
          "included_services": [],
          "is_requested": false,
          "is_required": true,
          "name": "UPS Next Day Air",
          "sub_subtype": "parcel",
          "subtype": "parcel",
          "type": "transport"
        }
      ],
      "included_insurance_policy": null,
      "optional_services": [],
      "quote_type": "parcel",
      "status": "published",
      "total": "4",
      "total_currency": "USD"
    }
  ],
  "shipping_notes": null,
  "shortcode": "DEMO-R29NAW",
  "status": "quoted",
  "updated_at": "2021-01-21T17:22:10.129653"
}
Response examples (404)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
{
  "errors": {
    "detail": "string"
  }
}