Site Logo

Create an Amazon Shipping Label

When fulfilling a non-Amazon order, you can use Amazon Shipping just like any other ShipEngine carrier. See our public documentation for more info. No additional fields are required.

When fulfilling an Amazon order, you will need to provide some additional data. Namely, you'll need to specify order_source_code: "amazon", as well as set the external_order_id and the asin of each item in the shipment.

Example

Here's an example of how to create an Amazon Shipping label for an Amazon order.

POST /v1/labels

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
POST /v1/labels HTTP/1.1
Host: api.shipengine.com
API-Key: __YOUR_API_KEY_HERE__
Content-Type: application/json
{
"shipment": {
"carrier_id": "se-123456",
"service_code": "amazon_shipping_standard",
"order_source_code": "amazon",
"external_order_id": "103-4795772-1364518",
"items": [
{
"quantity": 1,
"name": "Monopoly",
"asin": "B00005N5PF",
"external_order_id" : "114-2825781-8037847",
"external_order_item_id" : "16902221730370"
},
{
"quantity": 1,
"name": "Chromecast",
"asin": "B015UKRNGS",
"external_order_id" : "114-2825781-8037847",
"external_order_item_id" : "16902221730370"
}
],
"ship_date": "2019-04-04T05:00:00.000Z",
"ship_from": {
"name": "Stamps.com",
"address_line1": "1990 E. Grand Ave.",
"city_locality": "El Segundo",
"state_province": "CA",
"postal_code": "90245-5013",
"country_code": "US",
"phone": "1-800-608-2677"
},
"ship_to": {
"name": "Jeff Bezos",
"address_line1": "701 5th Ave",
"city_locality": "Seattle",
"state_province": "WA",
"postal_code": "98104",
"country_code": "US",
"phone": "206-266-1000"
},
"packages": [
{
"weight": {
"value": 2.5,
"unit": "pound"
},
"dimensions": {
"length": 24,
"width": 10,
"height": 3,
"unit": "inch"
}
}
]
}
}
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
{
"label_id": "se-123456",
"status": "completed",
"shipment_id": "se-202887313",
"ship_date": "2019-04-04T05:00:00.000Z",
"created_at": "2019-04-04T20:20:01.979Z",
"shipment_cost": {
"currency": "USD",
"amount": 6.86
},
"insurance_cost": {
"currency": "USD",
"amount": 0.0
},
"tracking_number": "9405511899560441854156",
"is_return_label": false,
"is_international": false,
"batch_id": "",
"carrier_id": "se-123456",
"service_code": "amazon_shipping_ground",
"package_code": "package",
"voided": false,
"label_format": "pdf",
"label_layout": "4x6",
"trackable": false,
"carrier_code": "amazon_shipping_us",
"tracking_status": "unknown",
"label_download": {
"href": "https://api.shipengine.com/v1/downloads/aFbxNUVCZ0SDHHp-BmcKjA/testlabel-202887313.pdf"
},
"form_download": null,
"insurance_claim": null,
"packages": [
{
"package_code": "package",
"weight": {
"value": 2.5,
"unit": "pound"
},
"dimensions": {
"unit": "inch",
"length": 24,
"width": 10,
"height": 3
},
"insured_value": {
"currency": "usd",
"amount": 0.00
},
"tracking_number": null,
"label_messages": {
"reference1": null,
"reference2": null,
"reference3": null
}
}
],
"items": [
{
"quantity": 1,
"name": "Monopoly",
"asin": "B00005N5PF",
"order_source_code": "amazon",
"external_order_id": "103-4795772-1364518"
},
{
"quantity": 1,
"name": "Chromecast",
"asin": "B015UKRNGS",
"order_source_code": "amazon",
"external_order_id": "103-4795772-1364518"
}
]
}