- Auth Token
- Api Reference
- A+ Content Management
- Application Management
- The AWD
- Catalog Items V0
- Catalog Items 2020-12-01
- Catalog Items 2022-04-01
- Data Kiosk
- Product Type Definitions
- Easy Ship
- FBA Inbound Eligibilty
- FBA Inventory
- Finances
- Fulfillment Inbound V0
- Listings Restrictions
- Merchant Fulfillment
- Messaging
- Notifications
- Orders
- Product Fees
- Pricing V0
- Pricing 2022-05-01
- Replenishment
- Sales
- Sellers
- Services
- getServiceJobByServiceJobId
- cancelServiceJobByServiceJobId
- completeServiceJobByServiceJobId
- getServiceJobs
- addAppointmentForServiceJobByServiceJobId
- rescheduleAppointmentForServiceJobByServiceJobId
- assignAppointmentResources
- setAppointmentFulfillmentData
- getRangeSlotCapacity
- getFixedSlotCapacity
- updateSchedule
- createReservation
- updateReservation
- cancelReservation
- getAppointmmentSlotsByJobId
- getAppointmentSlots
- createServiceDocumentUploadDestination
- Shipment Invoicing
- Shipping
- Amazon Shipping API V2
- getRates
- directPurchaseShipment
- purchaseShipment
- oneClickShipment
- getTracking
- getShipmentDocuments
- cancelShipment
- getAdditionalInputs
- getCarrierAccountFormInputs
- getCarrierAccounts
- linkCarrierAccount
- unlinkCarrierAccount
- generateCollectionForm
- getCollectionFormHistory
- getUnmanifestedShipments
- getCollectionForm
- getAccessPoints
- Solicitations
- Supply Sources
- Tokens
- Uploads
- FBA inbound operations. 2024-03-20
- listInboundPlans
- createInboundPlan
- getInboundPlan
- listInboundPlanBoxes
- cancelInboundPlan
- listInboundPlanItems
- updateInboundPlanName
- listPackingGroupBoxes
- listPackingGroupItems
- setPackingInformation
- listPackingOptions
- generatePackingOptions
- confirmPackingOption
- listInboundPlanPallets
- listPlacementOptions
- generatePlacementOptions
- confirmPlacementOption
- getShipment
- listShipmentBoxes
- listShipmentContentUpdatePreviews
- generateShipmentContentUpdatePreviews
- getShipmentContentUpdatePreview
- confirmShipmentContentUpdatePreview
- getDeliveryChallanDocument
- listDeliveryWindowOptions
- generateDeliveryWindowOptions
- confirmDeliveryWindowOptions
- listShipmentItems
- updateShipmentName
- listShipmentPallets
- cancelSelfShipAppointment
- getSelfShipAppointmentSlots
- generateSelfShipAppointmentSlots
- scheduleSelfShipAppointment
- updateShipmentSourceAddress
- updateShipmentTrackingDetails
- listTransportationOptions
- generateTransportationOptions
- confirmTransportationOptions
- listItemComplianceDetails
- updateItemComplianceDetails
- createMarketplaceItemLabels
- getInboundOperationStatus
- Fulfillment Outbound
- Reports 2020-09-04
- Reports 2021-06-30
- Feeds 2020-09-04
- Feeds 2021-06-30
- Listings Items 2020-09-01
- Listings Items 2021-08-01
- Direct Fulfillment Inventory Updates
- Direct Fulfillment Orders V1
- Direct Fulfillment Orders 2021-12-28
- Direct Fulfillment Payments
- Vendor Direct Fulfillment Sandbox Test Data
- Direct Fulfillment Shipping V1
- Direct Fulfillment Shipping 2021-12-28
- Direct Fulfillment Transaction Status V1
- Direct Fulfillment Transaction Status 2021-12-28
- Retail Procurement Payments
- Retail Procurement Orders
- Retail Procurement Shipments
- Retail Procurement Transaction Status
createScheduledPackageBulk
北美(North America)
北美(North America)
POST
https://sellingpartnerapi-na.amazon.com/easyShip/2022-03-23/packages/bulk
Easy Ship
amazonOrderId
预定时间段,生成相关的运输标签以及其他符合市场要求的文档(参考 市场文档支持表)。packageDetails
对象,使他们能够为请求中的每个订单输入首选的时间段。在这种情况下,亚马逊将尝试使用其可选设置安排相应的包裹。另一方面,即,如果未提供时间段,则亚马逊将选择尽可能早的时间段。rejectedOrders
列表,其中包含我们无法处理的每个订单的条目。每个条目由一个错误消息组成,描述失败的原因,以便卖家能够采取相应的措施。速率(每秒请求) | 突发 |
---|---|
1 | 5 |
x-amzn-RateLimit-Limit
响应头返回适用于请求操作的使用计划速率限制(如适用)。上表指示此操作的默认速率和突发值。业务需求需要更高吞吐量的销售合作伙伴可能会看到比此处所示更高的速率和突发值。有关更多信息,请参见 销售合作伙伴 API 中的使用计划和速率限制。请求参数
Body 参数application/json
POST /easyShip/2022-03-23/packages/bulk API 的请求体。
marketplaceId
string
必需
>= 1 字符<= 255 字符
orderScheduleDetailsList
array[object (OrderScheduleDetails) {2}]
必需
>= 1 items
amazonOrderId
string
必需
packageDetails
object (PackageDetails)
可选
packageItems
、packageTimeSlot
和 packageIdentifier
。labelFormat
enum<string>
必需
枚举值:
PDFZPL
示例
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sellingpartnerapi-na.amazon.com/easyShip/2022-03-23/packages/bulk' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Headers
x-amzn-RateLimit-Limit
string
可选
x-amzn-RequestId
string
可选
Body
批量调度 API 的响应模式。它返回一个调度包裹的数组,包含一个附加的未能调度的订单列表及其原因,以及一个预签名的 URL,指向一个包含相关运输标签和为您的市场启用的文档的 ZIP 文件。
scheduledPackages
array[object (Package) {9}]
可选
Package
对象。<= 100 items
scheduledPackageId
object (ScheduledPackageId)
必需
packageDimensions
object (Dimensions)
预定包裹的尺寸。
packageWeight
object (Weight)
已安排包裹的重量
packageItems
array[object (Item) {2}]
可选
<= 500 items
packageTimeSlot
object (TimeSlot)
必需
packageIdentifier
string
可选
invoice
object (InvoiceData)
发票号码和日期。
packageStatus
enum<string>
包裹的状态。
枚举值:
ReadyForPickupPickedUpAtOriginFCAtDestinationFCDeliveredRejectedUndeliverableReturnedToSellerLostInTransitLabelCanceledDamagedInTransitOutForDelivery
trackingDetails
object (TrackingDetails)
跟踪元数据的表示。
rejectedOrders
array[object (RejectedOrder) {2}]
可选
amazonOrderId
string
必需
error
object (Error)
可选
printableDocumentsUrl
string
可选
示例
{
"scheduledPackages": [
{
"scheduledPackageId": {
"amazonOrderId": "string",
"packageId": "string"
},
"packageDimensions": {
"length": 0.01,
"width": 0.01,
"height": 0.01,
"unit": "Cm",
"identifier": "string"
},
"packageWeight": {
"value": 11,
"unit": "Grams"
},
"packageItems": [
{
"orderItemId": "string",
"orderItemSerialNumbers": [
"string"
]
}
],
"packageTimeSlot": {
"slotId": "string",
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"handoverMethod": "Pickup"
},
"packageIdentifier": "string",
"invoice": {
"invoiceNumber": "string",
"invoiceDate": "2019-08-24T14:15:22Z"
},
"packageStatus": "ReadyForPickup",
"trackingDetails": {
"trackingId": "string"
}
}
],
"rejectedOrders": [
{
"amazonOrderId": "string",
"error": {
"code": "string",
"message": "string",
"details": "string"
}
}
],
"printableDocumentsUrl": "string"
}
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
🟠413413
🟠415415
🟠429429
🔴500服务器错误
🔴503服务器故障

技术咨询扫码联系作者
SP-API技术咨询,开发者申请,Amazon ERP源码


修改于 2025-03-15 12:28:55