Rate (requests per second) | Burst |
---|---|
5 | 15 |
{
"rateId": "string",
"labelSpecification": {
"labelFormat": "PNG",
"labelStockSize": "4x6"
}
}
curl --location --request POST 'https://sandbox.sellingpartnerapi-na.amazon.com/shipping/v1/shipments//purchaseLabels' \
--header 'Content-Type: application/json' \
--data-raw '{
"rateId": "string",
"labelSpecification": {
"labelFormat": "PNG",
"labelStockSize": "4x6"
}
}'
{
"shipmentId": "89108749065090",
"clientReferenceId": "911-7267646-6348616",
"acceptedRate": {
"billedWeight": {
"value": 4,
"unit": "kg"
},
"totalCharge": {
"value": 3.5,
"unit": "GBP"
},
"serviceType": "Amazon Shipping Standard",
"promise": {
"deliveryWindow": {
"start": "2018-08-25T20:22:30.737Z",
"end": "2018-08-26T20:22:30.737Z"
},
"receiveWindow": {
"start": "2018-08-23T09:22:30.737Z",
"end": "2018-08-23T11:22:30.737Z"
}
}
},
"labelResults": [
{
"containerReferenceId": "CRI123456789",
"trackingId": "1512748795322",
"label": {
"labelStream": "iVBORw0KGgo...AAAARK5CYII=(Truncated)",
"labelSpecification": {
"labelFormat": "PNG",
"labelStockSize": "4x6"
}
}
}
]
}