费率(每秒请求) | 突发 |
---|---|
80 | 100 |
x-amzn-RateLimit-Limit
响应头返回适用于请求操作的使用计划速率限制(如果可用)。上表指示该操作的默认速率和突发值。业务需求较高的销售合作伙伴可能会看到比这里显示的更高的速率和突发值。有关更多信息,请参见 销售伙伴API中的使用计划和速率限制。{
"requestToken": "string",
"rateId": "string",
"requestedDocumentSpecification": {
"format": "PDF",
"size": {
"width": 0,
"length": 0,
"unit": "INCH"
},
"dpi": 0,
"pageLayout": "string",
"needFileJoining": true,
"requestedDocumentTypes": [
"PACKSLIP"
]
},
"requestedValueAddedServices": [
{
"id": "string"
}
],
"additionalInputs": {
"property1": null,
"property2": null
}
}
curl --location --request POST 'https://sellingpartnerapi-na.amazon.com/shipping/v2/shipments' \
--header 'Content-Type: application/json' \
--data-raw '{
"requestToken": "string",
"rateId": "string",
"requestedDocumentSpecification": {
"format": "PDF",
"size": {
"width": 0,
"length": 0,
"unit": "INCH"
},
"dpi": 0,
"pageLayout": "string",
"needFileJoining": true,
"requestedDocumentTypes": [
"PACKSLIP"
]
},
"requestedValueAddedServices": [
{
"id": "string"
}
],
"additionalInputs": {
"property1": null,
"property2": null
}
}'
{
"shipmentId": "87852211788104",
"packageDocumentDetails": [
{
"packageClientReferenceId": "abcd",
"packageDocuments": [
{
"type": "LABEL",
"format": "PNG",
"contents": "sdioadaiosfhdodsaiufhouafhoudfhdouahfac=="
}
],
"trackingId": 1578648261977
}
],
"promise": {
"pickupWindow": {
"start": "2019-12-11T07:09:05.513Z",
"end": "2019-12-11T09:09:05.513Z"
},
"deliveryWindow": {
"start": "2019-12-13T07:09:05.513Z",
"end": "2019-12-13T09:09:05.513Z"
}
}
}
技术咨询扫码联系作者
SP-API技术咨询,开发者申请,Amazon ERP源码