Amazon Selling Partner API (SP-API)-中文
工具首页问答社区广告API开发者申请AI智能助手官方文档TokenApi Reference
工具首页问答社区广告API开发者申请AI智能助手官方文档TokenApi Reference
  1. Merchant Fulfillment
  • Orders
    • getOrders
      GET
    • getOrder
      GET
    • getOrderBuyerInfo
      GET
    • getOrderAddress
      GET
    • getOrderItems
      GET
    • getOrderItemsBuyerInfo
      GET
    • updateShipmentStatus
      POST
    • getOrderRegulatedInfo
      GET
    • updateVerificationStatus
      PATCH
    • confirmShipment
      POST
  • Reports 2021-06-30
    • getReports
      GET
    • createReport
      POST
    • cancelReport
      DELETE
    • getReport
      GET
    • getReportSchedules
      GET
    • createReportSchedule
      POST
    • cancelReportSchedule
      DELETE
    • getReportSchedule
      GET
    • getReportDocument
      GET
  • Feeds 2021-06-30
    • getFeeds
      GET
    • createFeed
      POST
    • cancelFeed
      DELETE
    • getFeed
      GET
    • createFeedDocument
      POST
    • getFeedDocument
      GET
  • Sellers
    • getMarketplaceParticipations
  • Pricing 2022-05-01
    • getFeaturedOfferExpectedPriceBatch
    • getCompetitiveSummary
  • Notifications
    • getSubscription
    • createSubscription
    • getSubscriptionById
    • deleteSubscriptionById
    • getDestinations
    • createDestination
    • getDestination
    • deleteDestination
  • A+ Content Management
    • searchContentDocuments
    • createContentDocument
    • getContentDocument
    • updateContentDocument
    • listContentDocumentAsinRelations
    • postContentDocumentAsinRelations
    • validateContentDocumentAsinRelations
    • searchContentPublishRecords
    • postContentDocumentApprovalSubmission
    • postContentDocumentSuspendSubmission
  • Application Management
    • rotateApplicationClientSecret
  • The AWD
    • getInboundShipment
    • listInboundShipments
    • listInventory
  • Catalog Items V0
    • listCatalogItems
    • getCatalogItem
    • listCatalogCategories
  • Catalog Items 2020-12-01
    • searchCatalogItems
    • getCatalogItem
  • Catalog Items 2022-04-01
    • searchCatalogItems
    • getCatalogItem
  • Data Kiosk
    • getQueries
    • createQuery
    • cancelQuery
    • getQuery
    • getDocument
  • Product Type Definitions
    • searchDefinitionsProductTypes
    • getDefinitionsProductType
  • Automotive.
    • getVehicles
  • Easy Ship
    • listHandoverSlots
    • getScheduledPackage
    • createScheduledPackage
    • updateScheduledPackages
    • createScheduledPackageBulk
  • FBA Inbound Eligibilty
    • getItemEligibilityPreview
  • FBA Inventory
    • getInventorySummaries
    • createInventoryItem
    • deleteInventoryItem
    • addInventory
  • Finances
    • listFinancialEventGroups
    • listFinancialEventsByGroupId
    • listFinancialEventsByOrderId
    • listFinancialEvents
  • Finances 2024-06-19
    • listTransactions
  • Fulfillment Inbound V0
    • createInboundShipmentPlan
    • createInboundShipment
    • updateInboundShipment
    • getPreorderInfo
    • confirmPreorder
    • getPrepInstructions
    • getTransportDetails
    • putTransportDetails
    • voidTransport
    • estimateTransport
    • confirmTransport
    • getLabels
    • getBillOfLading
    • getShipments
    • getShipmentItemsByShipmentId
    • getShipmentItems
  • Listings Items 2021-08-01
    • deleteListingsItem
    • getListingsItem
    • patchListingsItem
    • putListingsItem
    • searchListingsItems
  • Listings Restrictions
    • getListingsRestrictions
  • Merchant Fulfillment
    • getEligibleShipmentServices
      POST
    • getShipment
      GET
    • cancelShipment
      DELETE
    • createShipment
      POST
    • getAdditionalSellerInputs
      POST
  • Messaging
    • getMessagingActionsForOrder
    • confirmCustomizationDetails
    • createConfirmDeliveryDetails
    • createLegalDisclosure
    • createNegativeFeedbackRemoval
    • createConfirmOrderDetails
    • createConfirmServiceDetails
    • CreateAmazonMotors
    • CreateWarranty
    • GetAttributes
    • createDigitalAccessKey
    • createUnexpectedProblem
    • sendInvoice
  • Product Fees
    • getMyFeesEstimateForSKU
    • getMyFeesEstimateForASIN
    • getMyFeesEstimates
  • Pricing V0
    • getPricing
    • getCompetitivePricing
    • getListingOffers
    • getItemOffers
    • getItemOffersBatch
    • getListingOffersBatch
  • Replenishment
    • getSellingPartnerMetrics
    • listOfferMetrics
    • listOffers
  • Sales
    • getOrderMetrics
  • Services
    • getServiceJobByServiceJobId
    • cancelServiceJobByServiceJobId
    • completeServiceJobByServiceJobId
    • getServiceJobs
    • addAppointmentForServiceJobByServiceJobId
    • rescheduleAppointmentForServiceJobByServiceJobId
    • assignAppointmentResources
    • setAppointmentFulfillmentData
    • getRangeSlotCapacity
    • getFixedSlotCapacity
    • updateSchedule
    • createReservation
    • updateReservation
    • cancelReservation
    • getAppointmmentSlotsByJobId
    • getAppointmentSlots
    • createServiceDocumentUploadDestination
  • Shipment Invoicing
    • getShipmentDetails
    • submitInvoice
    • getInvoiceStatus
  • Shipping
    • createShipment
    • getShipment
    • cancelShipment
    • purchaseLabels
    • retrieveShippingLabel
    • purchaseShipment
    • getRates
    • getAccount
    • getTrackingInformation
  • Amazon Shipping API V2
    • getRates
    • directPurchaseShipment
    • purchaseShipment
    • oneClickShipment
    • getTracking
    • getShipmentDocuments
    • cancelShipment
    • getAdditionalInputs
    • getCarrierAccountFormInputs
    • getCarrierAccounts
    • linkCarrierAccount
    • unlinkCarrierAccount
    • generateCollectionForm
    • getCollectionFormHistory
    • getUnmanifestedShipments
    • getCollectionForm
    • getAccessPoints
  • Solicitations
    • getSolicitationActionsForOrder
    • createProductReviewAndSellerFeedbackSolicitation
  • Supply Sources
    • getSupplySources
    • createSupplySource
    • getSupplySource
    • updateSupplySource
    • archiveSupplySource
    • updateSupplySourceStatus
  • Transfers. transfers_2024-06-01
    • initiatePayout
    • getPaymentMethods
  • Tokens
    • createRestrictedDataToken
  • Uploads
    • createUploadDestinationForResource
  • Invoices.
    • getInvoicesAttributes
    • getInvoicesDocument
    • createInvoicesExport
    • getInvoicesExports
    • getInvoicesExport
    • getInvoices
    • getInvoice
  • 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
    • getFulfillmentPreview
    • deliveryOffers
    • listAllFulfillmentOrders
    • createFulfillmentOrder
    • getPackageTrackingDetails
    • listReturnReasonCodes
    • createFulfillmentReturn
    • getFulfillmentOrder
    • updateFulfillmentOrder
    • cancelFulfillmentOrder
    • submitFulfillmentOrderStatusUpdate
    • getFeatures
    • getFeatureInventory
    • getFeatureSKU
  • Feeds 2020-09-04
    • getFeeds
    • createFeed
    • getFeed
    • cancelFeed
    • createFeedDocument
    • getFeedDocument
  • Reports 2020-09-04
    • getReports
    • createReport
    • getReport
    • cancelReport
    • getReportSchedules
    • createReportSchedule
    • getReportSchedule
    • cancelReportSchedule
    • getReportDocument
  • Listings Items 2020-09-01
    • deleteListingsItem
    • patchListingsItem
    • putListingsItem
  • Application integrations.
    • createNotification
    • deleteNotifications
    • recordActionFeedback
  • Direct Fulfillment Inventory Updates
    • submitInventoryUpdate
  • Direct Fulfillment Orders V1
    • getOrders
    • getOrder
    • submitAcknowledgement
  • Direct Fulfillment Orders 2021-12-28
    • getOrders
    • getOrder
    • submitAcknowledgement
  • Direct Fulfillment Payments
    • submitInvoice
  • Vendor Direct Fulfillment Sandbox Test Data
    • generateOrderScenarios
    • getOrderScenarios
  • Direct Fulfillment Shipping V1
    • getShippingLabels
    • submitShippingLabelRequest
    • getShippingLabel
    • submitShipmentConfirmations
    • submitShipmentStatusUpdates
    • getCustomerInvoices
    • getCustomerInvoice
    • getPackingSlips
    • getPackingSlip
  • Direct Fulfillment Shipping 2021-12-28
    • getShippingLabels
    • submitShippingLabelRequest
    • getShippingLabel
    • createShippingLabels
    • submitShipmentConfirmations
    • submitShipmentStatusUpdates
    • getCustomerInvoices
    • getCustomerInvoice
    • getPackingSlips
    • getPackingSlip
  • Direct Fulfillment Transaction Status V1
    • getTransactionStatus
  • Direct Fulfillment Transaction Status 2021-12-28
    • getTransactionStatus
  • Retail Procurement Payments
    • submitInvoices
  • Retail Procurement Orders
    • getPurchaseOrders
    • getPurchaseOrder
    • submitAcknowledgement
    • getPurchaseOrdersStatus
  • Retail Procurement Shipments
    • SubmitShipmentConfirmations
    • SubmitShipments
    • GetShipmentDetails
  • Retail Procurement Transaction Status
    • getTransaction
  1. Merchant Fulfillment

getShipment

北美(North America)
https://sellingpartnerapi-na.amazon.com
北美(North America)
https://sellingpartnerapi-na.amazon.com
GET
https://sellingpartnerapi-na.amazon.com
/mfn/v0/shipments/{shipmentId}
Merchant Fulfillment
返回现有货件的运输信息。
使用计划:
速率(每秒请求数)突发
11
当可用时,x-amzn-RateLimit-Limit响应头将返回适用于请求操作的使用计划速率限制。上表指示此操作的默认速率和突发值。对于商业需求需要更高吞吐量的销售合作伙伴,他们可能会看到比这里显示的更高的速率和突发值。有关更多信息,请参阅销售合作伙伴API中的使用计划和速率限制。

请求参数

Path 参数
shipmentId
string 
必需
亚马逊定义的货件标识符。
正则匹配:
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sellingpartnerapi-na.amazon.com/mfn/v0/shipments/'

返回响应

🟢200成功
application/json
成功
Headers
x-amzn-RateLimit-Limit
string 
可选
您对此操作的速率限制(每秒请求数量)。
x-amzn-RequestId
string 
可选
唯一请求参考标识符。
Body
响应模式。
payload
object (Shipment) 
可选
货物的详细信息,包括货物状态。
ShipmentId
string 
必需
亚马逊定义的货件标识符。
AmazonOrderId
string 
必需
亚马逊定义的订单标识符,格式为3-7-7。
SellerOrderId
string 
可选
卖方定义的订单标识符。
<= 64 字符
ItemList
array[object (Item) {9}] 
必需
装运中要包含的物品清单。
ShipFromAddress
object (Address) 
邮政地址信息。
必需
ShipToAddress
object (Address) 
邮政地址信息。
必需
PackageDimensions
object (PackageDimensions) 
货物中包裹的尺寸。
必需
Weight
object (Weight) 
重量。
必需
Insurance
object (CurrencyAmount) 
货币类型和金额。
必需
ShippingService
object (ShippingService) 
必需
承运人提供的运输服务报价。
Label
object (Label) 
必需
用于创建运输标签的数据和打印标签的尺寸。
Status
enum<string> 
发货状态。
必需
枚举值:
PurchasedRefundPendingRefundRejectedRefundApplied
TrackingId
string 
可选
承运人提供的货物追踪标识符。
CreatedDate
string <date-time>
必需
日期时间格式的时间戳。
LastUpdatedDate
string <date-time>
可选
日期时间格式的时间戳。
errors
array[object (Error) {3}] 
可选
请求失败时返回的错误响应列表。
code
string 
必需
一个识别所发生错误类型的错误代码。
message
string 
必需
一种以人类可读的形式描述错误状态的消息。
details
string 
可选
可以帮助拨打者理解或解决问题的附加细节。
示例
{
    "payload": {
        "ShipmentId": "string",
        "AmazonOrderId": "string",
        "SellerOrderId": "string",
        "ItemList": [
            {
                "OrderItemId": "string",
                "Quantity": 0,
                "ItemWeight": {
                    "Value": 0,
                    "Unit": "oz"
                },
                "ItemDescription": "string",
                "TransparencyCodeList": [
                    "string"
                ],
                "ItemLevelSellerInputsList": [
                    {
                        "AdditionalInputFieldName": "string",
                        "AdditionalSellerInput": {
                            "DataType": "string",
                            "ValueAsString": "string",
                            "ValueAsBoolean": true,
                            "ValueAsInteger": 0,
                            "ValueAsTimestamp": "2019-08-24T14:15:22Z",
                            "ValueAsAddress": {
                                "Name": "string",
                                "AddressLine1": "string",
                                "AddressLine2": "string",
                                "AddressLine3": "string",
                                "DistrictOrCounty": "string",
                                "Email": "string",
                                "City": "string",
                                "StateOrProvinceCode": "string",
                                "PostalCode": "string",
                                "CountryCode": "string",
                                "Phone": "string"
                            },
                            "ValueAsWeight": {
                                "Value": 0,
                                "Unit": "oz"
                            },
                            "ValueAsDimension": {
                                "value": 0,
                                "unit": "inches"
                            },
                            "ValueAsCurrency": {
                                "CurrencyCode": "str",
                                "Amount": 0
                            }
                        }
                    }
                ],
                "LiquidVolume": {
                    "Unit": "ML",
                    "Value": 0
                },
                "IsHazmat": true,
                "DangerousGoodsDetails": {
                    "UnitedNationsRegulatoryId": "string",
                    "TransportationRegulatoryClass": "string",
                    "PackingGroup": "I",
                    "PackingInstruction": "PI965_SECTION_IA"
                }
            }
        ],
        "ShipFromAddress": {
            "Name": "string",
            "AddressLine1": "string",
            "AddressLine2": "string",
            "AddressLine3": "string",
            "DistrictOrCounty": "string",
            "Email": "string",
            "City": "string",
            "StateOrProvinceCode": "string",
            "PostalCode": "string",
            "CountryCode": "string",
            "Phone": "string"
        },
        "ShipToAddress": {
            "Name": "string",
            "AddressLine1": "string",
            "AddressLine2": "string",
            "AddressLine3": "string",
            "DistrictOrCounty": "string",
            "Email": "string",
            "City": "string",
            "StateOrProvinceCode": "string",
            "PostalCode": "string",
            "CountryCode": "string",
            "Phone": "string"
        },
        "PackageDimensions": {
            "Length": 0,
            "Width": 0,
            "Height": 0,
            "Unit": "inches",
            "PredefinedPackageDimensions": "FedEx_Box_10kg"
        },
        "Weight": {
            "Value": 0,
            "Unit": "oz"
        },
        "Insurance": {
            "CurrencyCode": "str",
            "Amount": 0
        },
        "ShippingService": {
            "ShippingServiceName": "string",
            "CarrierName": "string",
            "ShippingServiceId": "string",
            "ShippingServiceOfferId": "string",
            "ShipDate": "2019-08-24T14:15:22Z",
            "EarliestEstimatedDeliveryDate": "2019-08-24T14:15:22Z",
            "LatestEstimatedDeliveryDate": "2019-08-24T14:15:22Z",
            "Rate": {
                "CurrencyCode": "str",
                "Amount": 0
            },
            "ShippingServiceOptions": {
                "DeliveryExperience": "DeliveryConfirmationWithAdultSignature",
                "DeclaredValue": {
                    "CurrencyCode": "str",
                    "Amount": 0
                },
                "CarrierWillPickUp": true,
                "CarrierWillPickUpOption": "CarrierWillPickUp",
                "LabelFormat": "PDF"
            },
            "AvailableShippingServiceOptions": {
                "AvailableCarrierWillPickUpOptions": [
                    {
                        "CarrierWillPickUpOption": "CarrierWillPickUp",
                        "Charge": {
                            "CurrencyCode": "str",
                            "Amount": 0
                        }
                    }
                ],
                "AvailableDeliveryExperienceOptions": [
                    {
                        "DeliveryExperienceOption": "DeliveryConfirmationWithAdultSignature",
                        "Charge": {
                            "CurrencyCode": "str",
                            "Amount": 0
                        }
                    }
                ]
            },
            "AvailableLabelFormats": [
                "PDF"
            ],
            "AvailableFormatOptionsForLabel": [
                {
                    "IncludePackingSlipWithLabel": true,
                    "LabelFormat": "PDF"
                }
            ],
            "RequiresAdditionalSellerInputs": true,
            "Benefits": {
                "IncludedBenefits": [
                    "string"
                ],
                "ExcludedBenefits": [
                    {
                        "Benefit": "string",
                        "ReasonCodes": [
                            "string"
                        ]
                    }
                ]
            }
        },
        "Label": {
            "CustomTextForLabel": "string",
            "Dimensions": {
                "Length": 0,
                "Width": 0,
                "Unit": "inches"
            },
            "FileContents": {
                "Contents": "string",
                "FileType": "application/pdf",
                "Checksum": "string"
            },
            "LabelFormat": "PDF",
            "StandardIdForLabel": "AmazonOrderId"
        },
        "Status": "Purchased",
        "TrackingId": "string",
        "CreatedDate": "2019-08-24T14:15:22Z",
        "LastUpdatedDate": "2019-08-24T14:15:22Z"
    },
    "errors": [
        {
            "code": "string",
            "message": "string",
            "details": "string"
        }
    ]
}
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
🟠429429
🔴500服务器错误
🔴503服务器故障

技术咨询扫码联系作者

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

扫码加入交流群
上一页
getEligibleShipmentServices
下一页
cancelShipment
Built with