- 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
createShippingLabels
北美(North America)
北美(North America)
POST
https://sellingpartnerapi-na.amazon.com/vendor/directFulfillment/shipping/2021-12-28/shippingLabels/{purchaseOrderNumber}
Direct Fulfillment Shipping 2021-12-28
速率(每秒请求) | 峰值 |
---|---|
10 | 10 |
x-amzn-RateLimit-Limit
响应头返回适用于请求操作的使用计划速率限制(如果可用)。上表显示了此操作的默认速率和峰值值。业务需求更高的销售合作伙伴可能会看到高于此处显示的速率和峰值值。有关更多信息,请参见 销售合作伙伴 API 中的使用计划和速率限制。请求参数
Path 参数
purchaseOrderNumber
string
必需
正则匹配:
^[a-zA-Z0-9]+$
Body 参数application/json
创建发货标签操作的请求主体。
sellingParty
object (PartyIdentification)
必需
partyId
string
必需
address
object (Address)
聚会地址。
taxRegistrationDetails
array[object (TaxRegistrationDetails) {4}]
可选
shipFromParty
object (PartyIdentification)
必需
containers
array[object (Container) {12}]
可选
containerType
enum<string>
容器的类型。
枚举值:
CartonPallet
containerIdentifier
string
容器标识符。
trackingNumber
string
追踪号码。
manifestId
string
清单标识符。
manifestDate
string
清单的日期。
shipMethod
string
可选
scacCode
string
可选
carrier
string
可选
containerSequenceNumber
integer
可选
dimensions
object (Dimensions)
可选
weight
object (Weight)
重量。
packedItems
array[object (PackedItem) {5}]
打包物品清单。
示例
示例代码
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/vendor/directFulfillment/shipping/2021-12-28/shippingLabels/' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Headers
x-amzn-RateLimit-Limit
string
可选
x-amzn-RequestId
string
可选
Body
订单的运输标签信息。包括采购订单号、销售方、发货方、标签格式和包装详情。
purchaseOrderNumber
string
必需
正则匹配:
^[a-zA-Z0-9]+$
sellingParty
object (PartyIdentification)
必需
partyId
string
必需
address
object (Address)
聚会地址。
taxRegistrationDetails
array[object (TaxRegistrationDetails) {4}]
可选
shipFromParty
object (PartyIdentification)
必需
labelFormat
enum<string>
标签的格式。
枚举值:
PNGZPL
labelData
array[object (LabelData) {5}]
必需
packageIdentifier
string
可选
trackingNumber
string
可选
shipMethod
string
可选
shipMethodName
string
可选
content
string
必需
示例
{
"purchaseOrderNumber": "string",
"sellingParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string",
"taxRegistrationAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationMessages": "string"
}
]
},
"shipFromParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string",
"taxRegistrationAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationMessages": "string"
}
]
},
"labelFormat": "PNG",
"labelData": [
{
"packageIdentifier": "string",
"trackingNumber": "string",
"shipMethod": "string",
"shipMethodName": "string",
"content": "string"
}
]
}
🟠400请求有误
🟠403禁止访问
🟠404记录不存在
🟠409409
🟠413413
🟠415415
🟠429429
🔴500服务器错误
🔴503服务器故障

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


修改于 2025-03-15 12:29:56