速率(每秒请求) | 突发 |
---|---|
5 | 15 |
x-amzn-RateLimit-Limit
响应头返回可应用于请求操作的使用计划速率限制(如可用)。上述表格指示了该操作的默认速率和突发值。业务需求要求更高吞吐量的销售合作伙伴可能会看到比这里显示的更高的速率和突发值。有关更多信息,请参见 销售合作伙伴 API 中的使用计划和速率限制。{
"clientReferenceId": "string",
"shipTo": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"stateOrRegion": "string",
"city": "string",
"countryCode": "st",
"postalCode": "string",
"email": "string",
"copyEmails": [
"string"
],
"phoneNumber": "string"
},
"shipFrom": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"stateOrRegion": "string",
"city": "string",
"countryCode": "st",
"postalCode": "string",
"email": "string",
"copyEmails": [
"string"
],
"phoneNumber": "string"
},
"containers": [
{
"containerType": "PACKAGE",
"containerReferenceId": "string",
"value": {
"value": 0,
"unit": "str"
},
"dimensions": {
"length": 0,
"width": 0,
"height": 0,
"unit": "IN"
},
"items": [
{
"quantity": 0,
"unitPrice": {
"value": 0,
"unit": "str"
},
"unitWeight": {
"unit": "g",
"value": 0
},
"title": "string"
}
],
"weight": {
"unit": "g",
"value": 0
}
}
]
}
curl --location --request POST 'https://sellingpartnerapi-na.amazon.com/shipping/v1/shipments' \
--header 'Content-Type: application/json' \
--data-raw '{
"clientReferenceId": "string",
"shipTo": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"stateOrRegion": "string",
"city": "string",
"countryCode": "st",
"postalCode": "string",
"email": "string",
"copyEmails": [
"string"
],
"phoneNumber": "string"
},
"shipFrom": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"stateOrRegion": "string",
"city": "string",
"countryCode": "st",
"postalCode": "string",
"email": "string",
"copyEmails": [
"string"
],
"phoneNumber": "string"
},
"containers": [
{
"containerType": "PACKAGE",
"containerReferenceId": "string",
"value": {
"value": 0,
"unit": "str"
},
"dimensions": {
"length": 0,
"width": 0,
"height": 0,
"unit": "IN"
},
"items": [
{
"quantity": 0,
"unitPrice": {
"value": 0,
"unit": "str"
},
"unitWeight": {
"unit": "g",
"value": 0
},
"title": "string"
}
],
"weight": {
"unit": "g",
"value": 0
}
}
]
}'
{
"shipmentId": "89108749065090",
"eligibleRates": [
{
"billedWeight": {
"value": 4,
"unit": "kg"
},
"totalCharge": {
"value": 3.25,
"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"
}
},
"rateId": "RI123456",
"expirationTime": "2018-08-22T09:22:30.737Z"
}
]
}
技术咨询扫码联系作者
SP-API技术咨询,开发者申请,Amazon ERP源码