- 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
SubmitShipments
北美(North America)
北美(North America)
POST
https://sellingpartnerapi-na.amazon.com/vendor/shipping/v1/shipments
Retail Procurement Shipments
速率(每秒请求数) | 突发 |
---|---|
10 | 10 |
x-amzn-RateLimit-Limit
响应头返回应用于请求操作的使用计划速率限制。上表指示了该操作的默认速率和突发值。业务需求要求更高吞吐量的销售合作伙伴可能会看到比此处显示的更高的速率和突发值。有关更多信息,请参阅 销售合作伙伴 API 中的使用计划和速率限制。请求参数
Body 参数application/json
SubmitShipments 操作的请求模式。
shipments
array[object (Shipment) {20}]
可选
vendorShipmentIdentifier
string
必需
transactionType
enum<string>
必需
枚举值:
NewCancel
buyerReferenceNumber
string
可选
transactionDate
string <date-time>
必需
currentShipmentStatus
enum<string>
可选
枚举值:
CreatedTransportationRequestedCarrierAssignedShipped
currentshipmentStatusDate
string <date-time>
最后状态更新时间。
shipmentStatusDetails
array[object (ShipmentStatusDetails) {2}]
可选
shipmentCreateDate
string <date-time>
可选
shipmentConfirmDate
string <date-time>
可选
packageLabelCreateDate
string <date-time>
可选
shipmentFreightTerm
enum<string>
可选
枚举值:
CollectPrepaid
sellingParty
object (PartyIdentification)
必需
shipFromParty
object (PartyIdentification)
必需
shipToParty
object (PartyIdentification)
必需
shipmentMeasurements
object (TransportShipmentMeasurements)
装运测量细节。
collectFreightPickupDetails
object (CollectFreightPickupDetails)
可选
purchaseOrders
array[object (PurchaseOrders) {4}]
可选
importDetails
object (ImportDetails)
可选
containers
array[object (Containers) {10}]
可选
transportationDetails
object (TransportationDetails)
此货物的运输详情。
示例
{
"shipments": [
{
"vendorShipmentIdentifier": "string",
"transactionType": "New",
"buyerReferenceNumber": "string",
"transactionDate": "2019-08-24T14:15:22Z",
"currentShipmentStatus": "Created",
"currentshipmentStatusDate": "2019-08-24T14:15:22Z",
"shipmentStatusDetails": [
{
"shipmentStatus": "Created",
"shipmentStatusDate": "2019-08-24T14:15:22Z"
}
],
"shipmentCreateDate": "2019-08-24T14:15:22Z",
"shipmentConfirmDate": "2019-08-24T14:15:22Z",
"packageLabelCreateDate": "2019-08-24T14:15:22Z",
"shipmentFreightTerm": "Collect",
"sellingParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipFromParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipToParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipmentMeasurements": {
"totalCartonCount": 0,
"totalPalletStackable": 0,
"totalPalletNonStackable": 0,
"shipmentWeight": {
"unitOfMeasure": "G",
"value": "string"
},
"shipmentVolume": {
"unitOfMeasure": "CuFt",
"value": "string"
}
},
"collectFreightPickupDetails": {
"requestedPickUp": "2019-08-24T14:15:22Z",
"scheduledPickUp": "2019-08-24T14:15:22Z",
"carrierAssignmentDate": "2019-08-24T14:15:22Z"
},
"purchaseOrders": [
{
"purchaseOrderNumber": "string",
"purchaseOrderDate": "2019-08-24T14:15:22Z",
"shipWindow": "string",
"items": [
{
"itemSequenceNumber": "string",
"buyerProductIdentifier": "string",
"vendorProductIdentifier": "string",
"shippedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 0
},
"maximumRetailPrice": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"importDetails": {
"methodOfPayment": "PaidByBuyer",
"sealNumber": "string",
"route": {
"stops": [
{
"functionCode": "PortOfDischarge",
"locationIdentification": {
"type": "string",
"locationCode": "string",
"countryCode": "string"
},
"arrivalTime": "2019-08-24T14:15:22Z",
"departureTime": "2019-08-24T14:15:22Z"
}
]
},
"importContainers": "string",
"billableWeight": {
"unitOfMeasure": "G",
"value": "string"
},
"estimatedShipByDate": "2019-08-24T14:15:22Z",
"handlingInstructions": "Oversized"
},
"containers": [
{
"containerType": "carton",
"containerSequenceNumber": "string",
"containerIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "string"
}
],
"trackingNumber": "string",
"dimensions": {
"length": "string",
"width": "string",
"height": "string",
"unitOfMeasure": "In"
},
"weight": {
"unitOfMeasure": "G",
"value": "string"
},
"tier": 0,
"block": 0,
"innerContainersDetails": {
"containerCount": 0,
"containerSequenceNumbers": [
{
"containerSequenceNumber": "string"
}
]
},
"packedItems": [
{
"itemSequenceNumber": "string",
"buyerProductIdentifier": "string",
"vendorProductIdentifier": "string",
"packedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 0
},
"itemDetails": {
"purchaseOrderNumber": "string",
"lotNumber": "string",
"expiry": {
"manufacturerDate": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"expiryAfterDuration": {
"durationUnit": "Days",
"durationValue": 0
}
}
}
}
]
}
],
"transportationDetails": {
"shipMode": "TruckLoad",
"transportationMode": "Road",
"shippedDate": "2019-08-24T14:15:22Z",
"estimatedDeliveryDate": "2019-08-24T14:15:22Z",
"shipmentDeliveryDate": "2019-08-24T14:15:22Z",
"carrierDetails": {
"name": "string",
"code": "string",
"phone": "string",
"email": "string",
"shipmentReferenceNumber": "string"
},
"billOfLadingNumber": "string"
}
}
]
}
示例代码
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/shipping/v1/shipments' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢202成功
application/json
Headers
x-amzn-RateLimit-Limit
string
可选
x-amzn-RequestId
string
可选
Body
SubmitShipmentConfirmations 操作的响应架构。
payload
object (TransactionReference)
可选
transactionId
string
可选
errors
array[object (Error) {3}]
可选
code
string
必需
message
string
必需
details
string
可选
示例
{
"payload": {
"transactionId": "string"
},
"errors": [
{
"code": "string",
"message": "string",
"details": "string"
}
]
}
🟠400请求有误
🟠403禁止访问
🟠404记录不存在
🟠413413
🟠415415
🟠429429
🔴500服务器错误
🔴503服务器故障

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


修改于 2025-03-15 12:30:02