| 速率(每秒请求数) | 突发 |
|---|---|
| 5 | 15 |
{
"requestToken": "string",
"rateId": "string",
"requestedDocumentSpecification": {
"format": "PDF",
"size": {
"width": 0,
"length": 0,
"unit": "INCH"
},
"dpi": 0,
"pageLayout": "string",
"needFileJoining": true,
"requestedDocumentTypes": [
"PACKSLIP"
],
"requestedLabelCustomization": {
"requestAttributes": [
"PACKAGE_CLIENT_REFERENCE_ID"
]
}
},
"requestedValueAddedServices": [
{
"id": "string"
}
],
"additionalInputs": {
"property1": "string",
"property2": "string"
}
}curl --location 'https://sellingpartnerapi-na.amazon.com/shipping/v1/purchaseShipment' \
--header 'Content-Type: application/json' \
--data '{
"requestToken": "string",
"rateId": "string",
"requestedDocumentSpecification": {
"format": "PDF",
"size": {
"width": 0,
"length": 0,
"unit": "INCH"
},
"dpi": 0,
"pageLayout": "string",
"needFileJoining": true,
"requestedDocumentTypes": [
"PACKSLIP"
],
"requestedLabelCustomization": {
"requestAttributes": [
"PACKAGE_CLIENT_REFERENCE_ID"
]
}
},
"requestedValueAddedServices": [
{
"id": "string"
}
],
"additionalInputs": {
"property1": "string",
"property2": "string"
}
}'{
"shipmentId": "89108749065090",
"serviceRate": {
"billableWeight": {
"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"
}
}
}
]
}技术咨询扫码联系作者
SP-API技术咨询,开发者申请,Amazon ERP源码

扫码加入交流群