Return
If you are shipping merchandise or other frequently-returned products, you may wish to generate return labels to include with your shipment, for you customer's convenience. EasyPost offers a simple way to submit the same parameters as your initial shipment, but with an additional flag set, that will generate you a return label to receive any return shipments at your original from address.
It's important for some carriers, with different return billing, to
specify a return label even if it's not a return label for an earlier Shipment.
If doing more than 10,000 USPS returns in a year, please contact EasyPost for the USPS scan-based return program, which we also offer.
You can easily create return labels. All you need to do is set the
is_return parameter to true, leave the addresses the same
as the initial Shipment's creation request and we
switch the to_address and from_address for
the return Shipment.
shipment.is_return is used for return-label creation and carrier return handling.
If you need to classify a standalone tracker as a return (without creating a Shipment), use
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
curl -X POST https://api.easypost.com/v2/shipments \
-u "EASYPOST_API_KEY": \
-H 'Content-Type: application/json' \
-d '{
"shipment": {
"to_address": {
"name": "Dr. Steve Brule",
"street1": "179 N Harbor Dr",
"city": "Redondo Beach",
"state": "CA",
"zip": "90277",
"country": "US",
"phone": "8573875756",
"email": "dr_steve_brule@gmail.com"
},
"from_address": {
"name": "EasyPost",
"street1": "417 Montgomery Street",
"street2": "5th Floor",
"city": "San Francisco",
"state": "CA",
"zip": "94104",
"country": "US",
"phone": "4153334445",
"email": "support@easypost.com"
},
"parcel": {
"length": "20.2",
"width": "10.9",
"height": "5",
"weight": "65.9"
},
"is_return": true
}
}'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"id": "shp_18efc5c59c4b4bc598eb47070948cec8",
"created_at": "2025-05-09T20:40:03Z",
"is_return": true,
"messages": [],
"mode": "test",
"options": {
"currency": "USD",
"payment": {
"type": "SENDER"
},
"date_advance": 0
},
"reference": null,
"status": "unknown",
"tracking_code": null,
"updated_at": "2025-05-09T20:40:03Z",
"batch_id": null,
"batch_status": null,
"batch_message": null,
"customs_info": {
"id": "cstinfo_bf9f3daf888b45d8a3d9f10ae4442066",
"object": "CustomsInfo",
"created_at": "2025-05-09T20:40:03Z",
"updated_at": "2025-05-09T20:40:03Z",
"contents_explanation": "",
"contents_type": "merchandise",
"customs_certify": true,
"customs_signer": "Steve Brule",
"eel_pfc": "NOEEI 30.37(a)",
"non_delivery_option": "return",
"restriction_comments": null,
"restriction_type": "none",
"mode": "test",
"declaration": null,
"customs_items": [
{
"id": "cstitem_016eaf20de854811afcc38b3de173b61",
"object": "CustomsItem",
"created_at": "2025-05-09T20:40:03Z",
"updated_at": "2025-05-09T20:40:03Z",
"description": "T-shirt",
"hs_tariff_number": "123456",
"origin_country": "US",
"quantity": 1,
"value": "10.0",
"weight": 5.0,
"code": "123",
"mode": "test",
"manufacturer": null,
"currency": null,
"eccn": null,
"printed_commodity_identifier": null
}
]
},
"from_address": {
"id": "adr_c89405492d1511f09304ac1f6bc539aa",
"object": "Address",
"created_at": "2025-05-09T20:40:03+00:00",
"updated_at": "2025-05-09T20:40: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": null,
"parcel": {
"id": "prcl_c671988089da4d0e8089f6e0594f3166",
"object": "Parcel",
"created_at": "2025-05-09T20:40:03Z",
"updated_at": "2025-05-09T20:40:03Z",
"length": 20.2,
"width": 10.9,
"height": 5.0,
"predefined_package": null,
"weight": 65.9,
"mode": "test"
},
"postage_label": null,
"rates": [
{
"id": "rate_a182936e829f4d22aa0455b932055384",
"object": "Rate",
"created_at": "2025-05-09T20:40:03Z",
"updated_at": "2025-05-09T20:40:03Z",
"mode": "test",
"service": "Express",
"carrier": "USPS",
"rate": "51.20",
"currency": "USD",
"retail_rate": "59.25",
"retail_currency": "USD",
"list_rate": "51.20",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 2,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 2,
"shipment_id": "shp_18efc5c59c4b4bc598eb47070948cec8",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_129ccaa93fd143fdbc1a87d166c60fbf",
"object": "Rate",
"created_at": "2025-05-09T20:40:03Z",
"updated_at": "2025-05-09T20:40:03Z",
"mode": "test",
"service": "Priority",
"carrier": "USPS",
"rate": "11.01",
"currency": "USD",
"retail_rate": "15.40",
"retail_currency": "USD",
"list_rate": "11.01",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_18efc5c59c4b4bc598eb47070948cec8",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
},
{
"id": "rate_e77cbaf75acc4ac2acf81cd450fa15d6",
"object": "Rate",
"created_at": "2025-05-09T20:40:03Z",
"updated_at": "2025-05-09T20:40:03Z",
"mode": "test",
"service": "GroundAdvantage",
"carrier": "USPS",
"rate": "8.20",
"currency": "USD",
"retail_rate": "13.85",
"retail_currency": "USD",
"list_rate": "9.74",
"list_currency": "USD",
"billing_type": "easypost",
"delivery_days": 3,
"delivery_date": null,
"delivery_date_guaranteed": false,
"est_delivery_days": 3,
"shipment_id": "shp_18efc5c59c4b4bc598eb47070948cec8",
"carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac"
}
],
"refund_status": null,
"scan_form": null,
"selected_rate": null,
"tracker": null,
"to_address": {
"id": "adr_c89186f82d1511f0ba54ac1f6bc539ae",
"object": "Address",
"created_at": "2025-05-09T20:40:03+00:00",
"updated_at": "2025-05-09T20:40:03+00:00",
"name": "Dr. Steve Brule",
"company": null,
"street1": "179 N Harbor Dr",
"street2": null,
"city": "Redondo Beach",
"state": "CA",
"zip": "90277",
"country": "US",
"phone": "8573875756",
"email": "dr_steve_brule@gmail.com",
"mode": "test",
"carrier_facility": null,
"residential": null,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {}
},
"usps_zone": 4,
"return_address": {
"id": "adr_c89405492d1511f09304ac1f6bc539aa",
"object": "Address",
"created_at": "2025-05-09T20:40:03+00:00",
"updated_at": "2025-05-09T20:40: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_c89186f82d1511f0ba54ac1f6bc539ae",
"object": "Address",
"created_at": "2025-05-09T20:40:03+00:00",
"updated_at": "2025-05-09T20:40:03+00:00",
"name": "Dr. Steve Brule",
"company": null,
"street1": "179 N Harbor Dr",
"street2": null,
"city": "Redondo Beach",
"state": "CA",
"zip": "90277",
"country": "US",
"phone": "8573875756",
"email": "dr_steve_brule@gmail.com",
"mode": "test",
"carrier_facility": null,
"residential": null,
"federal_tax_id": null,
"state_tax_id": null,
"verifications": {}
},
"forms": [],
"fees": [],
"object": "Shipment"
}