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