Order
Important: This endpoint only works with the following carriers:
- AustraliaPost
- DHLExpress
- DPD
- DPDUK
- Fastway
- FedEx
- UPS
- Purolator
The Order
object represents a collection of packages and is intended only for multi-parcel shipping; please use Shipments
for single-parcel shipping.
Like a single Shipment
, each Order
consists of a to_address
and from_address
, to be used for each Shipment
within the Order
.
These Address
objects will be copied to each Shipment
, so there is no need to specify them multiple times.
Each Shipment
must then specify its Parcel
, Options
, and CustomsInfo
.
Note: The customs_info
field within the Order
object is no longer used.
Always specify CustomsInfo
within each
Shipment
instead.
An Order
created with a valid Address
pair and Parcel
nested within the Order
's Shipment
object will automatically retrieve available shipping Rate
options.
id
in other API endpointsfrom_address
to_address
customs_info
field at the order level is deprecated and should not be used. SpecifyCustomsInfo
within each individualShipment
object instead.true
to create as a return.Order
was createdOrder
was last updated{
"mode": "test",
"reference": "",
"is_return": false,
"options": {
"currency": "USD",
"payment": {
"type": "SENDER"
}
},
"messages": [],
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"customs_info": null,
"from_address": {
"id": "adr_fc21d34a29d011efb18e3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:03+00:00",
"name": "EasyPost",
"company": null,
"street1": "417 Montgomery Street",
"street2": "5th Floor",
"city": "San Francisco",
"state": "CA",
"zip": "94104",
"country": "US",
"phone": "4153334445",
"email": "support@easypost.com",
"mode": "test",
"carrier_facility": null,
"residential": null,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {}
},
"to_address": {
"id": "adr_fc2033fa29d011efb18c3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:04+00:00",
"name": "DR. STEVE BRULE",
"company": null,
"street1": "179 N HARBOR DR",
"street2": "",
"city": "REDONDO BEACH",
"state": "CA",
"zip": "90277-2506",
"country": "US",
"phone": "8573875756",
"email": "DR_STEVE_BRULE@GMAIL.COM",
"mode": "test",
"carrier_facility": null,
"residential": false,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {
"zip4": {
"success": true,
"errors": [],
"details": null
},
"delivery": {
"success": true,
"errors": [],
"details": {
"latitude": 33.8436,
"longitude": -118.39177,
"time_zone": "America/Los_Angeles"
}
}
}
},
"buyer_address": {
"id": "adr_fc2033fa29d011efb18c3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:04+00:00",
"name": "DR. STEVE BRULE",
"company": null,
"street1": "179 N HARBOR DR",
"street2": "",
"city": "REDONDO BEACH",
"state": "CA",
"zip": "90277-2506",
"country": "US",
"phone": "8573875756",
"email": "DR_STEVE_BRULE@GMAIL.COM",
"mode": "test",
"carrier_facility": null,
"residential": false,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {
"zip4": {
"success": true,
"errors": [],
"details": null
},
"delivery": {
"success": true,
"errors": [],
"details": {
"latitude": 33.8436,
"longitude": -118.39177,
"time_zone": "America/Los_Angeles"
}
}
}
},
"return_address": {
"id": "adr_fc21d34a29d011efb18e3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:03+00:00",
"name": "EasyPost",
"company": null,
"street1": "417 Montgomery Street",
"street2": "5th Floor",
"city": "San Francisco",
"state": "CA",
"zip": "94104",
"country": "US",
"phone": "4153334445",
"email": "support@easypost.com",
"mode": "test",
"carrier_facility": null,
"residential": null,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {}
},
"shipments": [
{
"created_at": "2024-06-13T22:05:03Z",
"is_return": false,
"messages": [],
"mode": "test",
"options": {
"currency": "USD",
"payment": {
"type": "SENDER"
},
"date_advance": 0
},
"reference": null,
"status": "unknown",
"tracking_code": "9400100110368051717318",
"updated_at": "2024-06-13T22:05:04Z",
"batch_id": null,
"batch_status": null,
"batch_message": null,
"customs_info": null,
"from_address": {
"id": "adr_fc21d34a29d011efb18e3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:03+00:00",
"name": "EasyPost",
"company": null,
"street1": "417 Montgomery Street",
"street2": "5th Floor",
"city": "San Francisco",
"state": "CA",
"zip": "94104",
"country": "US",
"phone": "4153334445",
"email": "support@easypost.com",
"mode": "test",
"carrier_facility": null,
"residential": null,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {}
},
"insurance": null,
"order_id": "order_508547ee50c84b7dbf3b18a8c730e319",
"parcel": {
"id": "prcl_3d294a298e334648b747553a3d35e8cd",
"object": "Parcel",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"length": null,
"width": null,
"height": null,
"predefined_package": null,
"weight": 10.2,
"mode": "test"
},
"postage_label": {
"object": "PostageLabel",
"id": "pl_d9a1c49dc9564be79049f67548b67db1",
"created_at": "2024-06-13T22:05:04Z",
"updated_at": "2024-06-13T22:05:04Z",
"date_advance": 0,
"integrated_form": "none",
"label_date": "2024-06-13T22:05:04Z",
"label_resolution": 300,
"label_size": "4x6",
"label_type": "default",
"label_file_type": "image/png",
"label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240613/e87dcc360df9e541cca6a31799a9a51a7c.png",
"label_pdf_url": null,
"label_zpl_url": null,
"label_epl2_url": null,
"label_file": null
},
"rates": [
{
"id": "rate_05a312e263a3484997ef78113b40ca30",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "Priority",
"carrier": "USPS",
"rate": "6.88",
"currency": "USD",
"retail_rate": "9.80",
"retail_currency": "USD",
"list_rate": "8.25",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 2,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 2,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_9be0bf0c869945d2b18a393a7cf5bc42",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "GroundAdvantage",
"carrier": "USPS",
"rate": "5.07",
"currency": "USD",
"retail_rate": "6.70",
"retail_currency": "USD",
"list_rate": "5.07",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_5d3e1c77fa264020a6a437dc4d9b5855",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "First",
"carrier": "USPS",
"rate": "5.07",
"currency": "USD",
"retail_rate": "6.70",
"retail_currency": "USD",
"list_rate": "5.07",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_49810a6defee4488a186fbdae9b0b21c",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "ParcelSelect",
"carrier": "USPS",
"rate": "5.07",
"currency": "USD",
"retail_rate": "6.70",
"retail_currency": "USD",
"list_rate": "5.07",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_3489ae08f18549d18b980f8960786a28",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "Express",
"carrier": "USPS",
"rate": "33.10",
"currency": "USD",
"retail_rate": "37.90",
"retail_currency": "USD",
"list_rate": "33.10",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 1,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 1,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
}
],
"refund_status": null,
"scan_form": null,
"selected_rate": {
"id": "rate_5d3e1c77fa264020a6a437dc4d9b5855",
"object": "Rate",
"created_at": "2024-06-13T22:05:04Z",
"updated_at": "2024-06-13T22:05:04Z",
"mode": "test",
"service": "First",
"carrier": "USPS",
"rate": "5.07",
"currency": "USD",
"retail_rate": "6.70",
"retail_currency": "USD",
"list_rate": "5.07",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
"tracker": {
"id": "trk_873514a9423145efbff4d02a1359c430",
"object": "Tracker",
"mode": "test",
"tracking_code": "9400100110368051717318",
"status": "unknown",
"status_detail": "unknown",
"created_at": "2024-06-13T22:05:05Z",
"updated_at": "2024-06-13T22:05:05Z",
"signed_by": null,
"weight": null,
"est_delivery_date": null,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier": "USPS",
"tracking_details": [],
"fees": [],
"carrier_detail": null,
"public_url": "https://track.easypost.com/djE6dHJrXzg3MzUxNGE5NDIzMTQ1ZWZiZmY0ZDAyYTEzNTljNDMw"
},
"to_address": {
"id": "adr_fc2033fa29d011efb18c3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:04+00:00",
"name": "DR. STEVE BRULE",
"company": null,
"street1": "179 N HARBOR DR",
"street2": "",
"city": "REDONDO BEACH",
"state": "CA",
"zip": "90277-2506",
"country": "US",
"phone": "8573875756",
"email": "DR_STEVE_BRULE@GMAIL.COM",
"mode": "test",
"carrier_facility": null,
"residential": false,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {
"zip4": {
"success": true,
"errors": [],
"details": null
},
"delivery": {
"success": true,
"errors": [],
"details": {
"latitude": 33.8436,
"longitude": -118.39177,
"time_zone": "America/Los_Angeles"
}
}
}
},
"usps_zone": 4,
"return_address": {
"id": "adr_fc21d34a29d011efb18e3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:03+00:00",
"name": "EasyPost",
"company": null,
"street1": "417 Montgomery Street",
"street2": "5th Floor",
"city": "San Francisco",
"state": "CA",
"zip": "94104",
"country": "US",
"phone": "4153334445",
"email": "support@easypost.com",
"mode": "test",
"carrier_facility": null,
"residential": null,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {}
},
"buyer_address": {
"id": "adr_fc2033fa29d011efb18c3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:04+00:00",
"name": "DR. STEVE BRULE",
"company": null,
"street1": "179 N HARBOR DR",
"street2": "",
"city": "REDONDO BEACH",
"state": "CA",
"zip": "90277-2506",
"country": "US",
"phone": "8573875756",
"email": "DR_STEVE_BRULE@GMAIL.COM",
"mode": "test",
"carrier_facility": null,
"residential": false,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {
"zip4": {
"success": true,
"errors": [],
"details": null
},
"delivery": {
"success": true,
"errors": [],
"details": {
"latitude": 33.8436,
"longitude": -118.39177,
"time_zone": "America/Los_Angeles"
}
}
}
},
"forms": [],
"fees": [
{
"object": "Fee",
"type": "LabelFee",
"amount": "0.00000",
"charged": true,
"refunded": false
},
{
"object": "Fee",
"type": "PostageFee",
"amount": "5.07000",
"charged": true,
"refunded": false
}
],
"id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"object": "Shipment"
},
{
"created_at": "2024-06-13T22:05:03Z",
"is_return": false,
"messages": [],
"mode": "test",
"options": {
"currency": "USD",
"payment": {
"type": "SENDER"
},
"date_advance": 0
},
"reference": null,
"status": "unknown",
"tracking_code": "9434600110368051717327",
"updated_at": "2024-06-13T22:05:04Z",
"batch_id": null,
"batch_status": null,
"batch_message": null,
"customs_info": null,
"from_address": {
"id": "adr_fc21d34a29d011efb18e3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:03+00:00",
"name": "EasyPost",
"company": null,
"street1": "417 Montgomery Street",
"street2": "5th Floor",
"city": "San Francisco",
"state": "CA",
"zip": "94104",
"country": "US",
"phone": "4153334445",
"email": "support@easypost.com",
"mode": "test",
"carrier_facility": null,
"residential": null,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {}
},
"insurance": null,
"order_id": "order_508547ee50c84b7dbf3b18a8c730e319",
"parcel": {
"id": "prcl_fd5826adad704aa6bed4a374c2b3726c",
"object": "Parcel",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"length": null,
"width": null,
"height": null,
"predefined_package": null,
"weight": 17.5,
"mode": "test"
},
"postage_label": {
"object": "PostageLabel",
"id": "pl_feb0e9c071fb47989acaead04158cdf1",
"created_at": "2024-06-13T22:05:04Z",
"updated_at": "2024-06-13T22:05:04Z",
"date_advance": 0,
"integrated_form": "none",
"label_date": "2024-06-13T22:05:04Z",
"label_resolution": 300,
"label_size": "4x6",
"label_type": "default",
"label_file_type": "image/png",
"label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240613/e858834ae57691479f9f0e4ebd0ae943b6.png",
"label_pdf_url": null,
"label_zpl_url": null,
"label_epl2_url": null,
"label_file": null
},
"rates": [
{
"id": "rate_0c3e55c07ccd47169b24a6e81cbddc2f",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "GroundAdvantage",
"carrier": "USPS",
"rate": "6.26",
"currency": "USD",
"retail_rate": "10.80",
"retail_currency": "USD",
"list_rate": "7.75",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_0b948416fe4a4d069cc520494c7e1403",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "First",
"carrier": "USPS",
"rate": "6.26",
"currency": "USD",
"retail_rate": "10.80",
"retail_currency": "USD",
"list_rate": "7.75",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_cc13e8bd6c88434baa68c8edb288ab63",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "ParcelSelect",
"carrier": "USPS",
"rate": "6.26",
"currency": "USD",
"retail_rate": "10.80",
"retail_currency": "USD",
"list_rate": "7.75",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_597402f87a2a484382414d0d55c923eb",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "Express",
"carrier": "USPS",
"rate": "37.20",
"currency": "USD",
"retail_rate": "42.80",
"retail_currency": "USD",
"list_rate": "37.20",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 1,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 1,
"shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_c3a7609bb25d4c9ebd3967e1c03f0f1d",
"object": "Rate",
"created_at": "2024-06-13T22:05:03Z",
"updated_at": "2024-06-13T22:05:03Z",
"mode": "test",
"service": "Priority",
"carrier": "USPS",
"rate": "6.91",
"currency": "USD",
"retail_rate": "12.50",
"retail_currency": "USD",
"list_rate": "8.97",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 2,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 2,
"shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
}
],
"refund_status": null,
"scan_form": null,
"selected_rate": {
"id": "rate_0b948416fe4a4d069cc520494c7e1403",
"object": "Rate",
"created_at": "2024-06-13T22:05:04Z",
"updated_at": "2024-06-13T22:05:04Z",
"mode": "test",
"service": "First",
"carrier": "USPS",
"rate": "6.26",
"currency": "USD",
"retail_rate": "10.80",
"retail_currency": "USD",
"list_rate": "7.75",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
"tracker": {
"id": "trk_efe0f8df84ae4ad89202ae51e70772b9",
"object": "Tracker",
"mode": "test",
"tracking_code": "9434600110368051717327",
"status": "unknown",
"status_detail": "unknown",
"created_at": "2024-06-13T22:05:05Z",
"updated_at": "2024-06-13T22:05:05Z",
"signed_by": null,
"weight": null,
"est_delivery_date": null,
"shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
"carrier": "USPS",
"tracking_details": [],
"fees": [],
"carrier_detail": null,
"public_url": "https://track.easypost.com/djE6dHJrX2VmZTBmOGRmODRhZTRhZDg5MjAyYWU1MWU3MDc3MmI5"
},
"to_address": {
"id": "adr_fc2033fa29d011efb18c3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:04+00:00",
"name": "DR. STEVE BRULE",
"company": null,
"street1": "179 N HARBOR DR",
"street2": "",
"city": "REDONDO BEACH",
"state": "CA",
"zip": "90277-2506",
"country": "US",
"phone": "8573875756",
"email": "DR_STEVE_BRULE@GMAIL.COM",
"mode": "test",
"carrier_facility": null,
"residential": false,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {
"zip4": {
"success": true,
"errors": [],
"details": null
},
"delivery": {
"success": true,
"errors": [],
"details": {
"latitude": 33.8436,
"longitude": -118.39177,
"time_zone": "America/Los_Angeles"
}
}
}
},
"usps_zone": 4,
"return_address": {
"id": "adr_fc21d34a29d011efb18e3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:03+00:00",
"name": "EasyPost",
"company": null,
"street1": "417 Montgomery Street",
"street2": "5th Floor",
"city": "San Francisco",
"state": "CA",
"zip": "94104",
"country": "US",
"phone": "4153334445",
"email": "support@easypost.com",
"mode": "test",
"carrier_facility": null,
"residential": null,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {}
},
"buyer_address": {
"id": "adr_fc2033fa29d011efb18c3cecef1b359e",
"object": "Address",
"created_at": "2024-06-13T22:05:03+00:00",
"updated_at": "2024-06-13T22:05:04+00:00",
"name": "DR. STEVE BRULE",
"company": null,
"street1": "179 N HARBOR DR",
"street2": "",
"city": "REDONDO BEACH",
"state": "CA",
"zip": "90277-2506",
"country": "US",
"phone": "8573875756",
"email": "DR_STEVE_BRULE@GMAIL.COM",
"mode": "test",
"carrier_facility": null,
"residential": false,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {
"zip4": {
"success": true,
"errors": [],
"details": null
},
"delivery": {
"success": true,
"errors": [],
"details": {
"latitude": 33.8436,
"longitude": -118.39177,
"time_zone": "America/Los_Angeles"
}
}
}
},
"forms": [],
"fees": [
{
"object": "Fee",
"type": "LabelFee",
"amount": "0.00000",
"charged": true,
"refunded": false
},
{
"object": "Fee",
"type": "PostageFee",
"amount": "6.26000",
"charged": true,
"refunded": false
}
],
"id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
"object": "Shipment"
}
],
"rates": [
{
"id": "rate_05a312e263a3484997ef78113b40ca30",
"object": "Rate",
"created_at": null,
"updated_at": null,
"mode": "test",
"service": "Priority",
"carrier": "USPS",
"rate": "13.79",
"currency": "USD",
"retail_rate": "22.30",
"retail_currency": "USD",
"list_rate": "17.22",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 2,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 2,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_9be0bf0c869945d2b18a393a7cf5bc42",
"object": "Rate",
"created_at": null,
"updated_at": null,
"mode": "test",
"service": "GroundAdvantage",
"carrier": "USPS",
"rate": "11.33",
"currency": "USD",
"retail_rate": "17.50",
"retail_currency": "USD",
"list_rate": "12.82",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_5d3e1c77fa264020a6a437dc4d9b5855",
"object": "Rate",
"created_at": null,
"updated_at": null,
"mode": "test",
"service": "First",
"carrier": "USPS",
"rate": "11.33",
"currency": "USD",
"retail_rate": "17.50",
"retail_currency": "USD",
"list_rate": "12.82",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_49810a6defee4488a186fbdae9b0b21c",
"object": "Rate",
"created_at": null,
"updated_at": null,
"mode": "test",
"service": "ParcelSelect",
"carrier": "USPS",
"rate": "11.33",
"currency": "USD",
"retail_rate": "17.50",
"retail_currency": "USD",
"list_rate": "12.82",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_3489ae08f18549d18b980f8960786a28",
"object": "Rate",
"created_at": null,
"updated_at": null,
"mode": "test",
"service": "Express",
"carrier": "USPS",
"rate": "70.30",
"currency": "USD",
"retail_rate": "80.70",
"retail_currency": "USD",
"list_rate": "70.30",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 1,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 1,
"shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
}
],
"id": "order_508547ee50c84b7dbf3b18a8c730e319",
"object": "Order"
}
Creating an Order
is intended only for multi-parcel shipping; please use Shipments
for single-parcel shipping.
An Order
is almost exclusively a container for other objects, and thus an Order
may reuse many of these objects.
Alternatively, all the objects contained within an Order
may be created at the same time.
You can limit the CarrierAccounts
to use for rating by passing the carrier_accounts
parameter.
An Order object is immutable once created. All information must be provided during creation; it cannot be modified later.
Request Parameters
Address
Shipment
array1curl -X POST https://api.easypost.com/v2/orders \
2 -u "EASYPOST_API_KEY": \
3 -H 'Content-Type: application/json' \
4 -d '{
5 "order": {
6 "to_address": {
7 "id": "adr_..."
8 },
9 "from_address": {
10 "id": "adr_..."
11 },
12 "shipments": [
13 {
14 "parcel": {
15 "weight": "10.2"
16 }
17 },
18 {
19 "parcel": {
20 "predefined_package": "FedExBox",
21 "weight": "17.5"
22 }
23 }
24 ]
25 }
26 }'
1{
2 "mode": "test",
3 "reference": "",
4 "is_return": false,
5 "options": {
6 "currency": "USD",
7 "payment": {
8 "type": "SENDER"
9 }
10 },
11 "messages": [],
12 "created_at": "2024-06-13T22:05:01Z",
13 "updated_at": "2024-06-13T22:05:01Z",
14 "customs_info": null,
15 "from_address": {
16 "id": "adr_fb52d30b29d011ef870eac1f6bc539ae",
17 "object": "Address",
18 "created_at": "2024-06-13T22:05:01+00:00",
19 "updated_at": "2024-06-13T22:05:01+00:00",
20 "name": "EasyPost",
21 "company": null,
22 "street1": "417 Montgomery Street",
23 "street2": "5th Floor",
24 "city": "San Francisco",
25 "state": "CA",
26 "zip": "94104",
27 "country": "US",
28 "phone": "4153334445",
29 "email": "support@easypost.com",
30 "mode": "test",
31 "carrier_facility": null,
32 "residential": null,
33 "federal_tax_id": null,
34 "state_tax_id": null,
35 "verifications": {}
36 },
37 "to_address": {
38 "id": "adr_fb50d68d29d011efa0deac1f6bc53342",
39 "object": "Address",
40 "created_at": "2024-06-13T22:05:01+00:00",
41 "updated_at": "2024-06-13T22:05:01+00:00",
42 "name": "Dr. Steve Brule",
43 "company": null,
44 "street1": "179 N Harbor Dr",
45 "street2": null,
46 "city": "Redondo Beach",
47 "state": "CA",
48 "zip": "90277",
49 "country": "US",
50 "phone": "8573875756",
51 "email": "dr_steve_brule@gmail.com",
52 "mode": "test",
53 "carrier_facility": null,
54 "residential": null,
55 "federal_tax_id": null,
56 "state_tax_id": null,
57 "verifications": {}
58 },
59 "buyer_address": {
60 "id": "adr_fb50d68d29d011efa0deac1f6bc53342",
61 "object": "Address",
62 "created_at": "2024-06-13T22:05:01+00:00",
63 "updated_at": "2024-06-13T22:05:01+00:00",
64 "name": "Dr. Steve Brule",
65 "company": null,
66 "street1": "179 N Harbor Dr",
67 "street2": null,
68 "city": "Redondo Beach",
69 "state": "CA",
70 "zip": "90277",
71 "country": "US",
72 "phone": "8573875756",
73 "email": "dr_steve_brule@gmail.com",
74 "mode": "test",
75 "carrier_facility": null,
76 "residential": null,
77 "federal_tax_id": null,
78 "state_tax_id": null,
79 "verifications": {}
80 },
81 "return_address": {
82 "id": "adr_fb52d30b29d011ef870eac1f6bc539ae",
83 "object": "Address",
84 "created_at": "2024-06-13T22:05:01+00:00",
85 "updated_at": "2024-06-13T22:05:01+00:00",
86 "name": "EasyPost",
87 "company": null,
88 "street1": "417 Montgomery Street",
89 "street2": "5th Floor",
90 "city": "San Francisco",
91 "state": "CA",
92 "zip": "94104",
93 "country": "US",
94 "phone": "4153334445",
95 "email": "support@easypost.com",
96 "mode": "test",
97 "carrier_facility": null,
98 "residential": null,
99 "federal_tax_id": null,
100 "state_tax_id": null,
101 "verifications": {}
102 },
103 "shipments": [
104 {
105 "created_at": "2024-06-13T22:05:01Z",
106 "is_return": false,
107 "messages": [],
108 "mode": "test",
109 "options": {
110 "currency": "USD",
111 "payment": {
112 "type": "SENDER"
113 },
114 "date_advance": 0
115 },
116 "reference": null,
117 "status": "unknown",
118 "tracking_code": null,
119 "updated_at": "2024-06-13T22:05:01Z",
120 "batch_id": null,
121 "batch_status": null,
122 "batch_message": null,
123 "customs_info": null,
124 "from_address": {
125 "id": "adr_fb52d30b29d011ef870eac1f6bc539ae",
126 "object": "Address",
127 "created_at": "2024-06-13T22:05:01+00:00",
128 "updated_at": "2024-06-13T22:05:01+00:00",
129 "name": "EasyPost",
130 "company": null,
131 "street1": "417 Montgomery Street",
132 "street2": "5th Floor",
133 "city": "San Francisco",
134 "state": "CA",
135 "zip": "94104",
136 "country": "US",
137 "phone": "4153334445",
138 "email": "support@easypost.com",
139 "mode": "test",
140 "carrier_facility": null,
141 "residential": null,
142 "federal_tax_id": null,
143 "state_tax_id": null,
144 "verifications": {}
145 },
146 "insurance": null,
147 "order_id": "order_8c7645642ad94ed49e2c8da41b9471d6",
148 "parcel": {
149 "id": "prcl_9464c815c817405c8f58ab75f6dd255d",
150 "object": "Parcel",
151 "created_at": "2024-06-13T22:05:01Z",
152 "updated_at": "2024-06-13T22:05:01Z",
153 "length": null,
154 "width": null,
155 "height": null,
156 "predefined_package": null,
157 "weight": 10.2,
158 "mode": "test"
159 },
160 "postage_label": null,
161 "rates": [
162 {
163 "id": "rate_d10494134eae4b92baf6d49c95f16d02",
164 "object": "Rate",
165 "created_at": "2024-06-13T22:05:02Z",
166 "updated_at": "2024-06-13T22:05:02Z",
167 "mode": "test",
168 "service": "Express",
169 "carrier": "USPS",
170 "rate": "33.10",
171 "currency": "USD",
172 "retail_rate": "37.90",
173 "retail_currency": "USD",
174 "list_rate": "33.10",
175 "list_currency": "USD",
176 "billing_type": "easypost",
177 "delivery_days": 1,
178 "delivery_date": null,
179 "delivery_date_guaranteed": false,
180 "est_delivery_days": 1,
181 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
182 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
183 },
184 {
185 "id": "rate_58671c57f0b14cceaf59b938317e4837",
186 "object": "Rate",
187 "created_at": "2024-06-13T22:05:02Z",
188 "updated_at": "2024-06-13T22:05:02Z",
189 "mode": "test",
190 "service": "Priority",
191 "carrier": "USPS",
192 "rate": "6.88",
193 "currency": "USD",
194 "retail_rate": "9.80",
195 "retail_currency": "USD",
196 "list_rate": "8.25",
197 "list_currency": "USD",
198 "billing_type": "easypost",
199 "delivery_days": 2,
200 "delivery_date": null,
201 "delivery_date_guaranteed": false,
202 "est_delivery_days": 2,
203 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
204 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
205 },
206 {
207 "id": "rate_c43adfae42c34f869019280d51e02105",
208 "object": "Rate",
209 "created_at": "2024-06-13T22:05:02Z",
210 "updated_at": "2024-06-13T22:05:02Z",
211 "mode": "test",
212 "service": "GroundAdvantage",
213 "carrier": "USPS",
214 "rate": "5.07",
215 "currency": "USD",
216 "retail_rate": "6.70",
217 "retail_currency": "USD",
218 "list_rate": "5.07",
219 "list_currency": "USD",
220 "billing_type": "easypost",
221 "delivery_days": 3,
222 "delivery_date": null,
223 "delivery_date_guaranteed": false,
224 "est_delivery_days": 3,
225 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
226 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
227 },
228 {
229 "id": "rate_015d1d71e3b047999de4da942e4e0cab",
230 "object": "Rate",
231 "created_at": "2024-06-13T22:05:02Z",
232 "updated_at": "2024-06-13T22:05:02Z",
233 "mode": "test",
234 "service": "First",
235 "carrier": "USPS",
236 "rate": "5.07",
237 "currency": "USD",
238 "retail_rate": "6.70",
239 "retail_currency": "USD",
240 "list_rate": "5.07",
241 "list_currency": "USD",
242 "billing_type": "easypost",
243 "delivery_days": 3,
244 "delivery_date": null,
245 "delivery_date_guaranteed": false,
246 "est_delivery_days": 3,
247 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
248 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
249 },
250 {
251 "id": "rate_7a1919778d25413ba912c8b2751a3db3",
252 "object": "Rate",
253 "created_at": "2024-06-13T22:05:02Z",
254 "updated_at": "2024-06-13T22:05:02Z",
255 "mode": "test",
256 "service": "ParcelSelect",
257 "carrier": "USPS",
258 "rate": "5.07",
259 "currency": "USD",
260 "retail_rate": "6.70",
261 "retail_currency": "USD",
262 "list_rate": "5.07",
263 "list_currency": "USD",
264 "billing_type": "easypost",
265 "delivery_days": 3,
266 "delivery_date": null,
267 "delivery_date_guaranteed": false,
268 "est_delivery_days": 3,
269 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
270 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
271 }
272 ],
273 "refund_status": null,
274 "scan_form": null,
275 "selected_rate": null,
276 "tracker": null,
277 "to_address": {
278 "id": "adr_fb50d68d29d011efa0deac1f6bc53342",
279 "object": "Address",
280 "created_at": "2024-06-13T22:05:01+00:00",
281 "updated_at": "2024-06-13T22:05:01+00:00",
282 "name": "Dr. Steve Brule",
283 "company": null,
284 "street1": "179 N Harbor Dr",
285 "street2": null,
286 "city": "Redondo Beach",
287 "state": "CA",
288 "zip": "90277",
289 "country": "US",
290 "phone": "8573875756",
291 "email": "dr_steve_brule@gmail.com",
292 "mode": "test",
293 "carrier_facility": null,
294 "residential": null,
295 "federal_tax_id": null,
296 "state_tax_id": null,
297 "verifications": {}
298 },
299 "usps_zone": 4,
300 "return_address": {
301 "id": "adr_fb52d30b29d011ef870eac1f6bc539ae",
302 "object": "Address",
303 "created_at": "2024-06-13T22:05:01+00:00",
304 "updated_at": "2024-06-13T22:05:01+00:00",
305 "name": "EasyPost",
306 "company": null,
307 "street1": "417 Montgomery Street",
308 "street2": "5th Floor",
309 "city": "San Francisco",
310 "state": "CA",
311 "zip": "94104",
312 "country": "US",
313 "phone": "4153334445",
314 "email": "support@easypost.com",
315 "mode": "test",
316 "carrier_facility": null,
317 "residential": null,
318 "federal_tax_id": null,
319 "state_tax_id": null,
320 "verifications": {}
321 },
322 "buyer_address": {
323 "id": "adr_fb50d68d29d011efa0deac1f6bc53342",
324 "object": "Address",
325 "created_at": "2024-06-13T22:05:01+00:00",
326 "updated_at": "2024-06-13T22:05:01+00:00",
327 "name": "Dr. Steve Brule",
328 "company": null,
329 "street1": "179 N Harbor Dr",
330 "street2": null,
331 "city": "Redondo Beach",
332 "state": "CA",
333 "zip": "90277",
334 "country": "US",
335 "phone": "8573875756",
336 "email": "dr_steve_brule@gmail.com",
337 "mode": "test",
338 "carrier_facility": null,
339 "residential": null,
340 "federal_tax_id": null,
341 "state_tax_id": null,
342 "verifications": {}
343 },
344 "forms": [],
345 "fees": [],
346 "id": "shp_ee2e9274571f41f289c1d93c247085f5",
347 "object": "Shipment"
348 },
349 {
350 "created_at": "2024-06-13T22:05:01Z",
351 "is_return": false,
352 "messages": [],
353 "mode": "test",
354 "options": {
355 "currency": "USD",
356 "payment": {
357 "type": "SENDER"
358 },
359 "date_advance": 0
360 },
361 "reference": null,
362 "status": "unknown",
363 "tracking_code": null,
364 "updated_at": "2024-06-13T22:05:01Z",
365 "batch_id": null,
366 "batch_status": null,
367 "batch_message": null,
368 "customs_info": null,
369 "from_address": {
370 "id": "adr_fb52d30b29d011ef870eac1f6bc539ae",
371 "object": "Address",
372 "created_at": "2024-06-13T22:05:01+00:00",
373 "updated_at": "2024-06-13T22:05:01+00:00",
374 "name": "EasyPost",
375 "company": null,
376 "street1": "417 Montgomery Street",
377 "street2": "5th Floor",
378 "city": "San Francisco",
379 "state": "CA",
380 "zip": "94104",
381 "country": "US",
382 "phone": "4153334445",
383 "email": "support@easypost.com",
384 "mode": "test",
385 "carrier_facility": null,
386 "residential": null,
387 "federal_tax_id": null,
388 "state_tax_id": null,
389 "verifications": {}
390 },
391 "insurance": null,
392 "order_id": "order_8c7645642ad94ed49e2c8da41b9471d6",
393 "parcel": {
394 "id": "prcl_e03ffd6401124998bf1d5bd2aecee96d",
395 "object": "Parcel",
396 "created_at": "2024-06-13T22:05:01Z",
397 "updated_at": "2024-06-13T22:05:01Z",
398 "length": null,
399 "width": null,
400 "height": null,
401 "predefined_package": null,
402 "weight": 17.5,
403 "mode": "test"
404 },
405 "postage_label": null,
406 "rates": [
407 {
408 "id": "rate_09815abd6f35425cb7f7dd9162945001",
409 "object": "Rate",
410 "created_at": "2024-06-13T22:05:02Z",
411 "updated_at": "2024-06-13T22:05:02Z",
412 "mode": "test",
413 "service": "Priority",
414 "carrier": "USPS",
415 "rate": "6.91",
416 "currency": "USD",
417 "retail_rate": "12.50",
418 "retail_currency": "USD",
419 "list_rate": "8.97",
420 "list_currency": "USD",
421 "billing_type": "easypost",
422 "delivery_days": 2,
423 "delivery_date": null,
424 "delivery_date_guaranteed": false,
425 "est_delivery_days": 2,
426 "shipment_id": "shp_c5d4f2d1cf2640df89c232a0efb537eb",
427 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
428 },
429 {
430 "id": "rate_d9c71ce5f1ee4833aa34cee01b2f5ef9",
431 "object": "Rate",
432 "created_at": "2024-06-13T22:05:02Z",
433 "updated_at": "2024-06-13T22:05:02Z",
434 "mode": "test",
435 "service": "GroundAdvantage",
436 "carrier": "USPS",
437 "rate": "6.26",
438 "currency": "USD",
439 "retail_rate": "10.80",
440 "retail_currency": "USD",
441 "list_rate": "7.75",
442 "list_currency": "USD",
443 "billing_type": "easypost",
444 "delivery_days": 3,
445 "delivery_date": null,
446 "delivery_date_guaranteed": false,
447 "est_delivery_days": 3,
448 "shipment_id": "shp_c5d4f2d1cf2640df89c232a0efb537eb",
449 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
450 },
451 {
452 "id": "rate_901f519033954d6d872cda4bdac13636",
453 "object": "Rate",
454 "created_at": "2024-06-13T22:05:02Z",
455 "updated_at": "2024-06-13T22:05:02Z",
456 "mode": "test",
457 "service": "First",
458 "carrier": "USPS",
459 "rate": "6.26",
460 "currency": "USD",
461 "retail_rate": "10.80",
462 "retail_currency": "USD",
463 "list_rate": "7.75",
464 "list_currency": "USD",
465 "billing_type": "easypost",
466 "delivery_days": 3,
467 "delivery_date": null,
468 "delivery_date_guaranteed": false,
469 "est_delivery_days": 3,
470 "shipment_id": "shp_c5d4f2d1cf2640df89c232a0efb537eb",
471 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
472 },
473 {
474 "id": "rate_9fae47cf15494ec1b6123a05b87fa3cb",
475 "object": "Rate",
476 "created_at": "2024-06-13T22:05:02Z",
477 "updated_at": "2024-06-13T22:05:02Z",
478 "mode": "test",
479 "service": "ParcelSelect",
480 "carrier": "USPS",
481 "rate": "6.26",
482 "currency": "USD",
483 "retail_rate": "10.80",
484 "retail_currency": "USD",
485 "list_rate": "7.75",
486 "list_currency": "USD",
487 "billing_type": "easypost",
488 "delivery_days": 3,
489 "delivery_date": null,
490 "delivery_date_guaranteed": false,
491 "est_delivery_days": 3,
492 "shipment_id": "shp_c5d4f2d1cf2640df89c232a0efb537eb",
493 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
494 },
495 {
496 "id": "rate_ec27502ff296407dbafb6dff6af7248d",
497 "object": "Rate",
498 "created_at": "2024-06-13T22:05:02Z",
499 "updated_at": "2024-06-13T22:05:02Z",
500 "mode": "test",
501 "service": "Express",
502 "carrier": "USPS",
503 "rate": "37.20",
504 "currency": "USD",
505 "retail_rate": "42.80",
506 "retail_currency": "USD",
507 "list_rate": "37.20",
508 "list_currency": "USD",
509 "billing_type": "easypost",
510 "delivery_days": 1,
511 "delivery_date": null,
512 "delivery_date_guaranteed": false,
513 "est_delivery_days": 1,
514 "shipment_id": "shp_c5d4f2d1cf2640df89c232a0efb537eb",
515 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
516 }
517 ],
518 "refund_status": null,
519 "scan_form": null,
520 "selected_rate": null,
521 "tracker": null,
522 "to_address": {
523 "id": "adr_fb50d68d29d011efa0deac1f6bc53342",
524 "object": "Address",
525 "created_at": "2024-06-13T22:05:01+00:00",
526 "updated_at": "2024-06-13T22:05:01+00:00",
527 "name": "Dr. Steve Brule",
528 "company": null,
529 "street1": "179 N Harbor Dr",
530 "street2": null,
531 "city": "Redondo Beach",
532 "state": "CA",
533 "zip": "90277",
534 "country": "US",
535 "phone": "8573875756",
536 "email": "dr_steve_brule@gmail.com",
537 "mode": "test",
538 "carrier_facility": null,
539 "residential": null,
540 "federal_tax_id": null,
541 "state_tax_id": null,
542 "verifications": {}
543 },
544 "usps_zone": 4,
545 "return_address": {
546 "id": "adr_fb52d30b29d011ef870eac1f6bc539ae",
547 "object": "Address",
548 "created_at": "2024-06-13T22:05:01+00:00",
549 "updated_at": "2024-06-13T22:05:01+00:00",
550 "name": "EasyPost",
551 "company": null,
552 "street1": "417 Montgomery Street",
553 "street2": "5th Floor",
554 "city": "San Francisco",
555 "state": "CA",
556 "zip": "94104",
557 "country": "US",
558 "phone": "4153334445",
559 "email": "support@easypost.com",
560 "mode": "test",
561 "carrier_facility": null,
562 "residential": null,
563 "federal_tax_id": null,
564 "state_tax_id": null,
565 "verifications": {}
566 },
567 "buyer_address": {
568 "id": "adr_fb50d68d29d011efa0deac1f6bc53342",
569 "object": "Address",
570 "created_at": "2024-06-13T22:05:01+00:00",
571 "updated_at": "2024-06-13T22:05:01+00:00",
572 "name": "Dr. Steve Brule",
573 "company": null,
574 "street1": "179 N Harbor Dr",
575 "street2": null,
576 "city": "Redondo Beach",
577 "state": "CA",
578 "zip": "90277",
579 "country": "US",
580 "phone": "8573875756",
581 "email": "dr_steve_brule@gmail.com",
582 "mode": "test",
583 "carrier_facility": null,
584 "residential": null,
585 "federal_tax_id": null,
586 "state_tax_id": null,
587 "verifications": {}
588 },
589 "forms": [],
590 "fees": [],
591 "id": "shp_c5d4f2d1cf2640df89c232a0efb537eb",
592 "object": "Shipment"
593 }
594 ],
595 "rates": [
596 {
597 "id": "rate_d10494134eae4b92baf6d49c95f16d02",
598 "object": "Rate",
599 "created_at": null,
600 "updated_at": null,
601 "mode": "test",
602 "service": "Express",
603 "carrier": "USPS",
604 "rate": "70.30",
605 "currency": "USD",
606 "retail_rate": "80.70",
607 "retail_currency": "USD",
608 "list_rate": "70.30",
609 "list_currency": "USD",
610 "billing_type": "easypost",
611 "delivery_days": 1,
612 "delivery_date": null,
613 "delivery_date_guaranteed": false,
614 "est_delivery_days": 1,
615 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
616 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
617 },
618 {
619 "id": "rate_58671c57f0b14cceaf59b938317e4837",
620 "object": "Rate",
621 "created_at": null,
622 "updated_at": null,
623 "mode": "test",
624 "service": "Priority",
625 "carrier": "USPS",
626 "rate": "13.79",
627 "currency": "USD",
628 "retail_rate": "22.30",
629 "retail_currency": "USD",
630 "list_rate": "17.22",
631 "list_currency": "USD",
632 "billing_type": "easypost",
633 "delivery_days": 2,
634 "delivery_date": null,
635 "delivery_date_guaranteed": false,
636 "est_delivery_days": 2,
637 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
638 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
639 },
640 {
641 "id": "rate_c43adfae42c34f869019280d51e02105",
642 "object": "Rate",
643 "created_at": null,
644 "updated_at": null,
645 "mode": "test",
646 "service": "GroundAdvantage",
647 "carrier": "USPS",
648 "rate": "11.33",
649 "currency": "USD",
650 "retail_rate": "17.50",
651 "retail_currency": "USD",
652 "list_rate": "12.82",
653 "list_currency": "USD",
654 "billing_type": "easypost",
655 "delivery_days": 3,
656 "delivery_date": null,
657 "delivery_date_guaranteed": false,
658 "est_delivery_days": 3,
659 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
660 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
661 },
662 {
663 "id": "rate_015d1d71e3b047999de4da942e4e0cab",
664 "object": "Rate",
665 "created_at": null,
666 "updated_at": null,
667 "mode": "test",
668 "service": "First",
669 "carrier": "USPS",
670 "rate": "11.33",
671 "currency": "USD",
672 "retail_rate": "17.50",
673 "retail_currency": "USD",
674 "list_rate": "12.82",
675 "list_currency": "USD",
676 "billing_type": "easypost",
677 "delivery_days": 3,
678 "delivery_date": null,
679 "delivery_date_guaranteed": false,
680 "est_delivery_days": 3,
681 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
682 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
683 },
684 {
685 "id": "rate_7a1919778d25413ba912c8b2751a3db3",
686 "object": "Rate",
687 "created_at": null,
688 "updated_at": null,
689 "mode": "test",
690 "service": "ParcelSelect",
691 "carrier": "USPS",
692 "rate": "11.33",
693 "currency": "USD",
694 "retail_rate": "17.50",
695 "retail_currency": "USD",
696 "list_rate": "12.82",
697 "list_currency": "USD",
698 "billing_type": "easypost",
699 "delivery_days": 3,
700 "delivery_date": null,
701 "delivery_date_guaranteed": false,
702 "est_delivery_days": 3,
703 "shipment_id": "shp_ee2e9274571f41f289c1d93c247085f5",
704 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
705 }
706 ],
707 "id": "order_8c7645642ad94ed49e2c8da41b9471d6",
708 "object": "Order"
709}
To purchase an Order
, you only need to specify the carrier
and service
. This operation populates the tracking_code
and postage_label
attributes of each Shipment
in the order.
Request Parameters
1curl -X POST https://api.easypost.com/v2/orders/order_.../buy \
2 -u "EASYPOST_API_KEY": \
3 -H 'Content-Type: application/json' \
4 -d '{
5 "carrier": "FedEx",
6 "service": "FEDEX_GROUND"
7 }'
1{
2 "mode": "test",
3 "reference": "",
4 "is_return": false,
5 "options": {
6 "currency": "USD",
7 "payment": {
8 "type": "SENDER"
9 }
10 },
11 "messages": [],
12 "created_at": "2024-06-13T22:05:03Z",
13 "updated_at": "2024-06-13T22:05:03Z",
14 "customs_info": null,
15 "from_address": {
16 "id": "adr_fc21d34a29d011efb18e3cecef1b359e",
17 "object": "Address",
18 "created_at": "2024-06-13T22:05:03+00:00",
19 "updated_at": "2024-06-13T22:05:03+00:00",
20 "name": "EasyPost",
21 "company": null,
22 "street1": "417 Montgomery Street",
23 "street2": "5th Floor",
24 "city": "San Francisco",
25 "state": "CA",
26 "zip": "94104",
27 "country": "US",
28 "phone": "4153334445",
29 "email": "support@easypost.com",
30 "mode": "test",
31 "carrier_facility": null,
32 "residential": null,
33 "federal_tax_id": null,
34 "state_tax_id": null,
35 "verifications": {}
36 },
37 "to_address": {
38 "id": "adr_fc2033fa29d011efb18c3cecef1b359e",
39 "object": "Address",
40 "created_at": "2024-06-13T22:05:03+00:00",
41 "updated_at": "2024-06-13T22:05:04+00:00",
42 "name": "DR. STEVE BRULE",
43 "company": null,
44 "street1": "179 N HARBOR DR",
45 "street2": "",
46 "city": "REDONDO BEACH",
47 "state": "CA",
48 "zip": "90277-2506",
49 "country": "US",
50 "phone": "8573875756",
51 "email": "DR_STEVE_BRULE@GMAIL.COM",
52 "mode": "test",
53 "carrier_facility": null,
54 "residential": false,
55 "federal_tax_id": null,
56 "state_tax_id": null,
57 "verifications": {
58 "zip4": {
59 "success": true,
60 "errors": [],
61 "details": null
62 },
63 "delivery": {
64 "success": true,
65 "errors": [],
66 "details": {
67 "latitude": 33.8436,
68 "longitude": -118.39177,
69 "time_zone": "America/Los_Angeles"
70 }
71 }
72 }
73 },
74 "buyer_address": {
75 "id": "adr_fc2033fa29d011efb18c3cecef1b359e",
76 "object": "Address",
77 "created_at": "2024-06-13T22:05:03+00:00",
78 "updated_at": "2024-06-13T22:05:04+00:00",
79 "name": "DR. STEVE BRULE",
80 "company": null,
81 "street1": "179 N HARBOR DR",
82 "street2": "",
83 "city": "REDONDO BEACH",
84 "state": "CA",
85 "zip": "90277-2506",
86 "country": "US",
87 "phone": "8573875756",
88 "email": "DR_STEVE_BRULE@GMAIL.COM",
89 "mode": "test",
90 "carrier_facility": null,
91 "residential": false,
92 "federal_tax_id": null,
93 "state_tax_id": null,
94 "verifications": {
95 "zip4": {
96 "success": true,
97 "errors": [],
98 "details": null
99 },
100 "delivery": {
101 "success": true,
102 "errors": [],
103 "details": {
104 "latitude": 33.8436,
105 "longitude": -118.39177,
106 "time_zone": "America/Los_Angeles"
107 }
108 }
109 }
110 },
111 "return_address": {
112 "id": "adr_fc21d34a29d011efb18e3cecef1b359e",
113 "object": "Address",
114 "created_at": "2024-06-13T22:05:03+00:00",
115 "updated_at": "2024-06-13T22:05:03+00:00",
116 "name": "EasyPost",
117 "company": null,
118 "street1": "417 Montgomery Street",
119 "street2": "5th Floor",
120 "city": "San Francisco",
121 "state": "CA",
122 "zip": "94104",
123 "country": "US",
124 "phone": "4153334445",
125 "email": "support@easypost.com",
126 "mode": "test",
127 "carrier_facility": null,
128 "residential": null,
129 "federal_tax_id": null,
130 "state_tax_id": null,
131 "verifications": {}
132 },
133 "shipments": [
134 {
135 "created_at": "2024-06-13T22:05:03Z",
136 "is_return": false,
137 "messages": [],
138 "mode": "test",
139 "options": {
140 "currency": "USD",
141 "payment": {
142 "type": "SENDER"
143 },
144 "date_advance": 0
145 },
146 "reference": null,
147 "status": "unknown",
148 "tracking_code": "9400100110368051717318",
149 "updated_at": "2024-06-13T22:05:04Z",
150 "batch_id": null,
151 "batch_status": null,
152 "batch_message": null,
153 "customs_info": null,
154 "from_address": {
155 "id": "adr_fc21d34a29d011efb18e3cecef1b359e",
156 "object": "Address",
157 "created_at": "2024-06-13T22:05:03+00:00",
158 "updated_at": "2024-06-13T22:05:03+00:00",
159 "name": "EasyPost",
160 "company": null,
161 "street1": "417 Montgomery Street",
162 "street2": "5th Floor",
163 "city": "San Francisco",
164 "state": "CA",
165 "zip": "94104",
166 "country": "US",
167 "phone": "4153334445",
168 "email": "support@easypost.com",
169 "mode": "test",
170 "carrier_facility": null,
171 "residential": null,
172 "federal_tax_id": null,
173 "state_tax_id": null,
174 "verifications": {}
175 },
176 "insurance": null,
177 "order_id": "order_508547ee50c84b7dbf3b18a8c730e319",
178 "parcel": {
179 "id": "prcl_3d294a298e334648b747553a3d35e8cd",
180 "object": "Parcel",
181 "created_at": "2024-06-13T22:05:03Z",
182 "updated_at": "2024-06-13T22:05:03Z",
183 "length": null,
184 "width": null,
185 "height": null,
186 "predefined_package": null,
187 "weight": 10.2,
188 "mode": "test"
189 },
190 "postage_label": {
191 "object": "PostageLabel",
192 "id": "pl_d9a1c49dc9564be79049f67548b67db1",
193 "created_at": "2024-06-13T22:05:04Z",
194 "updated_at": "2024-06-13T22:05:04Z",
195 "date_advance": 0,
196 "integrated_form": "none",
197 "label_date": "2024-06-13T22:05:04Z",
198 "label_resolution": 300,
199 "label_size": "4x6",
200 "label_type": "default",
201 "label_file_type": "image/png",
202 "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240613/e87dcc360df9e541cca6a31799a9a51a7c.png",
203 "label_pdf_url": null,
204 "label_zpl_url": null,
205 "label_epl2_url": null,
206 "label_file": null
207 },
208 "rates": [
209 {
210 "id": "rate_05a312e263a3484997ef78113b40ca30",
211 "object": "Rate",
212 "created_at": "2024-06-13T22:05:03Z",
213 "updated_at": "2024-06-13T22:05:03Z",
214 "mode": "test",
215 "service": "Priority",
216 "carrier": "USPS",
217 "rate": "6.88",
218 "currency": "USD",
219 "retail_rate": "9.80",
220 "retail_currency": "USD",
221 "list_rate": "8.25",
222 "list_currency": "USD",
223 "billing_type": "easypost",
224 "delivery_days": 2,
225 "delivery_date": null,
226 "delivery_date_guaranteed": false,
227 "est_delivery_days": 2,
228 "shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
229 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
230 },
231 {
232 "id": "rate_9be0bf0c869945d2b18a393a7cf5bc42",
233 "object": "Rate",
234 "created_at": "2024-06-13T22:05:03Z",
235 "updated_at": "2024-06-13T22:05:03Z",
236 "mode": "test",
237 "service": "GroundAdvantage",
238 "carrier": "USPS",
239 "rate": "5.07",
240 "currency": "USD",
241 "retail_rate": "6.70",
242 "retail_currency": "USD",
243 "list_rate": "5.07",
244 "list_currency": "USD",
245 "billing_type": "easypost",
246 "delivery_days": 3,
247 "delivery_date": null,
248 "delivery_date_guaranteed": false,
249 "est_delivery_days": 3,
250 "shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
251 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
252 },
253 {
254 "id": "rate_5d3e1c77fa264020a6a437dc4d9b5855",
255 "object": "Rate",
256 "created_at": "2024-06-13T22:05:03Z",
257 "updated_at": "2024-06-13T22:05:03Z",
258 "mode": "test",
259 "service": "First",
260 "carrier": "USPS",
261 "rate": "5.07",
262 "currency": "USD",
263 "retail_rate": "6.70",
264 "retail_currency": "USD",
265 "list_rate": "5.07",
266 "list_currency": "USD",
267 "billing_type": "easypost",
268 "delivery_days": 3,
269 "delivery_date": null,
270 "delivery_date_guaranteed": false,
271 "est_delivery_days": 3,
272 "shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
273 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
274 },
275 {
276 "id": "rate_49810a6defee4488a186fbdae9b0b21c",
277 "object": "Rate",
278 "created_at": "2024-06-13T22:05:03Z",
279 "updated_at": "2024-06-13T22:05:03Z",
280 "mode": "test",
281 "service": "ParcelSelect",
282 "carrier": "USPS",
283 "rate": "5.07",
284 "currency": "USD",
285 "retail_rate": "6.70",
286 "retail_currency": "USD",
287 "list_rate": "5.07",
288 "list_currency": "USD",
289 "billing_type": "easypost",
290 "delivery_days": 3,
291 "delivery_date": null,
292 "delivery_date_guaranteed": false,
293 "est_delivery_days": 3,
294 "shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
295 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
296 },
297 {
298 "id": "rate_3489ae08f18549d18b980f8960786a28",
299 "object": "Rate",
300 "created_at": "2024-06-13T22:05:03Z",
301 "updated_at": "2024-06-13T22:05:03Z",
302 "mode": "test",
303 "service": "Express",
304 "carrier": "USPS",
305 "rate": "33.10",
306 "currency": "USD",
307 "retail_rate": "37.90",
308 "retail_currency": "USD",
309 "list_rate": "33.10",
310 "list_currency": "USD",
311 "billing_type": "easypost",
312 "delivery_days": 1,
313 "delivery_date": null,
314 "delivery_date_guaranteed": false,
315 "est_delivery_days": 1,
316 "shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
317 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
318 }
319 ],
320 "refund_status": null,
321 "scan_form": null,
322 "selected_rate": {
323 "id": "rate_5d3e1c77fa264020a6a437dc4d9b5855",
324 "object": "Rate",
325 "created_at": "2024-06-13T22:05:04Z",
326 "updated_at": "2024-06-13T22:05:04Z",
327 "mode": "test",
328 "service": "First",
329 "carrier": "USPS",
330 "rate": "5.07",
331 "currency": "USD",
332 "retail_rate": "6.70",
333 "retail_currency": "USD",
334 "list_rate": "5.07",
335 "list_currency": "USD",
336 "billing_type": "easypost",
337 "delivery_days": 3,
338 "delivery_date": null,
339 "delivery_date_guaranteed": false,
340 "est_delivery_days": 3,
341 "shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
342 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
343 },
344 "tracker": {
345 "id": "trk_873514a9423145efbff4d02a1359c430",
346 "object": "Tracker",
347 "mode": "test",
348 "tracking_code": "9400100110368051717318",
349 "status": "unknown",
350 "status_detail": "unknown",
351 "created_at": "2024-06-13T22:05:05Z",
352 "updated_at": "2024-06-13T22:05:05Z",
353 "signed_by": null,
354 "weight": null,
355 "est_delivery_date": null,
356 "shipment_id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
357 "carrier": "USPS",
358 "tracking_details": [],
359 "fees": [],
360 "carrier_detail": null,
361 "public_url": "https://track.easypost.com/djE6dHJrXzg3MzUxNGE5NDIzMTQ1ZWZiZmY0ZDAyYTEzNTljNDMw"
362 },
363 "to_address": {
364 "id": "adr_fc2033fa29d011efb18c3cecef1b359e",
365 "object": "Address",
366 "created_at": "2024-06-13T22:05:03+00:00",
367 "updated_at": "2024-06-13T22:05:04+00:00",
368 "name": "DR. STEVE BRULE",
369 "company": null,
370 "street1": "179 N HARBOR DR",
371 "street2": "",
372 "city": "REDONDO BEACH",
373 "state": "CA",
374 "zip": "90277-2506",
375 "country": "US",
376 "phone": "8573875756",
377 "email": "DR_STEVE_BRULE@GMAIL.COM",
378 "mode": "test",
379 "carrier_facility": null,
380 "residential": false,
381 "federal_tax_id": null,
382 "state_tax_id": null,
383 "verifications": {
384 "zip4": {
385 "success": true,
386 "errors": [],
387 "details": null
388 },
389 "delivery": {
390 "success": true,
391 "errors": [],
392 "details": {
393 "latitude": 33.8436,
394 "longitude": -118.39177,
395 "time_zone": "America/Los_Angeles"
396 }
397 }
398 }
399 },
400 "usps_zone": 4,
401 "return_address": {
402 "id": "adr_fc21d34a29d011efb18e3cecef1b359e",
403 "object": "Address",
404 "created_at": "2024-06-13T22:05:03+00:00",
405 "updated_at": "2024-06-13T22:05:03+00:00",
406 "name": "EasyPost",
407 "company": null,
408 "street1": "417 Montgomery Street",
409 "street2": "5th Floor",
410 "city": "San Francisco",
411 "state": "CA",
412 "zip": "94104",
413 "country": "US",
414 "phone": "4153334445",
415 "email": "support@easypost.com",
416 "mode": "test",
417 "carrier_facility": null,
418 "residential": null,
419 "federal_tax_id": null,
420 "state_tax_id": null,
421 "verifications": {}
422 },
423 "buyer_address": {
424 "id": "adr_fc2033fa29d011efb18c3cecef1b359e",
425 "object": "Address",
426 "created_at": "2024-06-13T22:05:03+00:00",
427 "updated_at": "2024-06-13T22:05:04+00:00",
428 "name": "DR. STEVE BRULE",
429 "company": null,
430 "street1": "179 N HARBOR DR",
431 "street2": "",
432 "city": "REDONDO BEACH",
433 "state": "CA",
434 "zip": "90277-2506",
435 "country": "US",
436 "phone": "8573875756",
437 "email": "DR_STEVE_BRULE@GMAIL.COM",
438 "mode": "test",
439 "carrier_facility": null,
440 "residential": false,
441 "federal_tax_id": null,
442 "state_tax_id": null,
443 "verifications": {
444 "zip4": {
445 "success": true,
446 "errors": [],
447 "details": null
448 },
449 "delivery": {
450 "success": true,
451 "errors": [],
452 "details": {
453 "latitude": 33.8436,
454 "longitude": -118.39177,
455 "time_zone": "America/Los_Angeles"
456 }
457 }
458 }
459 },
460 "forms": [],
461 "fees": [
462 {
463 "object": "Fee",
464 "type": "LabelFee",
465 "amount": "0.00000",
466 "charged": true,
467 "refunded": false
468 },
469 {
470 "object": "Fee",
471 "type": "PostageFee",
472 "amount": "5.07000",
473 "charged": true,
474 "refunded": false
475 }
476 ],
477 "id": "shp_494bf30aaa5e40fea8b34647cc8d451c",
478 "object": "Shipment"
479 },
480 {
481 "created_at": "2024-06-13T22:05:03Z",
482 "is_return": false,
483 "messages": [],
484 "mode": "test",
485 "options": {
486 "currency": "USD",
487 "payment": {
488 "type": "SENDER"
489 },
490 "date_advance": 0
491 },
492 "reference": null,
493 "status": "unknown",
494 "tracking_code": "9434600110368051717327",
495 "updated_at": "2024-06-13T22:05:04Z",
496 "batch_id": null,
497 "batch_status": null,
498 "batch_message": null,
499 "customs_info": null,
500 "from_address": {
501 "id": "adr_fc21d34a29d011efb18e3cecef1b359e",
502 "object": "Address",
503 "created_at": "2024-06-13T22:05:03+00:00",
504 "updated_at": "2024-06-13T22:05:03+00:00",
505 "name": "EasyPost",
506 "company": null,
507 "street1": "417 Montgomery Street",
508 "street2": "5th Floor",
509 "city": "San Francisco",
510 "state": "CA",
511 "zip": "94104",
512 "country": "US",
513 "phone": "4153334445",
514 "email": "support@easypost.com",
515 "mode": "test",
516 "carrier_facility": null,
517 "residential": null,
518 "federal_tax_id": null,
519 "state_tax_id": null,
520 "verifications": {}
521 },
522 "insurance": null,
523 "order_id": "order_508547ee50c84b7dbf3b18a8c730e319",
524 "parcel": {
525 "id": "prcl_fd5826adad704aa6bed4a374c2b3726c",
526 "object": "Parcel",
527 "created_at": "2024-06-13T22:05:03Z",
528 "updated_at": "2024-06-13T22:05:03Z",
529 "length": null,
530 "width": null,
531 "height": null,
532 "predefined_package": null,
533 "weight": 17.5,
534 "mode": "test"
535 },
536 "postage_label": {
537 "object": "PostageLabel",
538 "id": "pl_feb0e9c071fb47989acaead04158cdf1",
539 "created_at": "2024-06-13T22:05:04Z",
540 "updated_at": "2024-06-13T22:05:04Z",
541 "date_advance": 0,
542 "integrated_form": "none",
543 "label_date": "2024-06-13T22:05:04Z",
544 "label_resolution": 300,
545 "label_size": "4x6",
546 "label_type": "default",
547 "label_file_type": "image/png",
548 "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240613/e858834ae57691479f9f0e4ebd0ae943b6.png",
549 "label_pdf_url": null,
550 "label_zpl_url": null,
551 "label_epl2_url": null,
552 "label_file": null
553 },
554 "rates": [
555 {
556 "id": "rate_0c3e55c07ccd47169b24a6e81cbddc2f",
557 "object": "Rate",
558 "created_at": "2024-06-13T22:05:03Z",
559 "updated_at": "2024-06-13T22:05:03Z",
560 "mode": "test",
561 "service": "GroundAdvantage",
562 "carrier": "USPS",
563 "rate": "6.26",
564 "currency": "USD",
565 "retail_rate": "10.80",
566 "retail_currency": "USD",
567 "list_rate": "7.75",
568 "list_currency": "USD",
569 "billing_type": "easypost",
570 "delivery_days": 3,
571 "delivery_date": null,
572 "delivery_date_guaranteed": false,
573 "est_delivery_days": 3,
574 "shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
575 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
576 },
577 {
578 "id": "rate_0b948416fe4a4d069cc520494c7e1403",
579 "object": "Rate",
580 "created_at": "2024-06-13T22:05:03Z",
581 "updated_at": "2024-06-13T22:05:03Z",
582 "mode": "test",
583 "service": "First",
584 "carrier": "USPS",
585 "rate": "6.26",
586 "currency": "USD",
587 "retail_rate": "10.80",
588 "retail_currency": "USD",
589 "list_rate": "7.75",
590 "list_currency": "USD",
591 "billing_type": "easypost",
592 "delivery_days": 3,
593 "delivery_date": null,
594 "delivery_date_guaranteed": false,
595 "est_delivery_days": 3,
596 "shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
597 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
598 },
599 {
600 "id": "rate_cc13e8bd6c88434baa68c8edb288ab63",
601 "object": "Rate",
602 "created_at": "2024-06-13T22:05:03Z",
603 "updated_at": "2024-06-13T22:05:03Z",
604 "mode": "test",
605 "service": "ParcelSelect",
606 "carrier": "USPS",
607 "rate": "6.26",
608 "currency": "USD",
609 "retail_rate": "10.80",
610 "retail_currency": "USD",
611 "list_rate": "7.75",
612 "list_currency": "USD",
613 "billing_type": "easypost",
614 "delivery_days": 3,
615 "delivery_date": null,
616 "delivery_date_guaranteed": false,
617 "est_delivery_days": 3,
618 "shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
619 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
620 },
621 {
622 "id": "rate_597402f87a2a484382414d0d55c923eb",
623 "object": "Rate",
624 "created_at": "2024-06-13T22:05:03Z",
625 "updated_at": "2024-06-13T22:05:03Z",
626 "mode": "test",
627 "service": "Express",
628 "carrier": "USPS",
629 "rate": "37.20",
630 "currency": "USD",
631 "retail_rate": "42.80",
632 "retail_currency": "USD",
633 "list_rate": "37.20",
634 "list_currency": "USD",
635 "billing_type": "easypost",
636 "delivery_days": 1,
637 "delivery_date": null,
638 "delivery_date_guaranteed": false,
639 "est_delivery_days": 1,
640 "shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
641 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
642 },
643 {
644 "id": "rate_c3a7609bb25d4c9ebd3967e1c03f0f1d",
645 "object": "Rate",
646 "created_at": "2024-06-13T22:05:03Z",
647 "updated_at": "2024-06-13T22:05:03Z",
648 "mode": "test",
649 "service": "Priority",
650 "carrier": "USPS",
651 "rate": "6.91",
652 "currency": "USD",
653 "retail_rate": "12.50",
654 "retail_currency": "USD",
655 "list_rate": "8.97",
656 "list_currency": "USD",
657 "billing_type": "easypost",
658 "delivery_days": 2,
659 "delivery_date": null,
660 "delivery_date_guaranteed": false,
661 "est_delivery_days": 2,
662 "shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
663 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
664 }
665 ],
666 "refund_status": null,
667 "scan_form": null,
668 "selected_rate": {
669 "id": "rate_0b948416fe4a4d069cc520494c7e1403",
670 "object": "Rate",
671 "created_at": "2024-06-13T22:05:04Z",
672 "updated_at": "2024-06-13T22:05:04Z",
673 "mode": "test",
674 "service": "First",
675 "carrier": "USPS",
676 "rate": "6.26",
677 "currency": "USD",
678 "retail_rate": "10.80",
679 "retail_currency": "USD",
680 "list_rate": "7.75",
681 "list_currency": "USD",
682 "billing_type": "easypost",
683 "delivery_days": 3,
684 "delivery_date": null,
685 "delivery_date_guaranteed": false,
686 "est_delivery_days": 3,
687 "shipment_id": "shp_6773f7d3d79f462999e8b32f6bb478ea",
688 "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
689 },
690 "tracker": {
691 "id": "trk_efe0f8df84ae4ad89202ae51e70772b9",
692 "object": "Tracker",
693 "mode": "test",
694 "tracking_code": "9434600110368051717327",
695 "status": "unknown",
696 "status_detail": "unknown",