Amazon Selling Partner API (SP-API)-中文
工具首页问答社区广告API开发者申请AI智能助手官方文档TokenApi Reference
工具首页问答社区广告API开发者申请AI智能助手官方文档TokenApi Reference
  1. Finances 2024-06-19
  • 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
      GET
  • 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
    • getShipment
    • cancelShipment
    • createShipment
    • getAdditionalSellerInputs
  • 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. Finances 2024-06-19

listTransactions

北美(North America)
https://sellingpartnerapi-na.amazon.com
北美(North America)
https://sellingpartnerapi-na.amazon.com
GET
https://sellingpartnerapi-na.amazon.com
/finances/2024-06-19/transactions
返回给定参数的交易。交易出现在您的交易事件中可能需要最长 48 小时。
使用计划:
速率(每秒请求数)突发
0.510
x-amzn-RateLimit-Limit 响应头返回了适用于所请求操作的使用计划速率限制(如有)。上表指示了此操作的默认速率和突发值。业务需求需要更高吞吐量的销售合作伙伴可能会看到高于这里显示的速率和突发值。有关更多信息,请参阅 销售合作伙伴 API 中的使用计划和速率限制。

请求参数

Query 参数
postedAfter
string <date-time>
必需
用于选择在指定时间之后(或等于该时间)发布的交易的日期。日期时间必须在请求提交前不晚于两分钟,采用ISO 8601日期时间格式。
示例值:
2023-01-12
postedBefore
string <date-time>
可选
用于选择在指定时间之前(但不包括该时间)发布的交易的日期。该日期时间必须晚于 PostedAfter,并且不得晚于请求提交前两分钟,采用 ISO 8601 日期时间格式。如果 PostedAfter 和 PostedBefore 的时间间隔超过 180 天,则不返回任何交易。如果指定了 PostedBefore 参数,必须指定 PostedAfter 参数。默认值:现在减去两分钟。
示例值:
2023-02-12
marketplaceId
string 
可选
用于选择市场 ID 的字符串令牌。
示例值:
ATIV93840DER
nextToken
string 
可选
在您之前请求的响应中返回的字符串令牌。
示例值:
jehgri34yo7jr9e8f984tr9i4o

示例代码

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/finances/2024-06-19/transactions?postedAfter=2023-01-12'

返回响应

🟢200成功。
application/json
Body
响应模式。
nextToken
string 
可选
在存在且不为空时,请在下一个请求中传递此字符串标记,以返回下一个响应页面。
transactions
array[object (Transaction) {12}] 
可选
包含在特定时间段内的交易。
sellingPartnerMetadata
object (SellingPartnerMetadata) 
描述卖方的元数据。
可选
relatedIdentifiers
array[object (RelatedIdentifier) {2}] 
可选
与交易相关的商业标识符。
transactionType
string 
可选
交易类型。
可选值:
发货
transactionId
string 
可选
在generateOrderScenarios请求的响应中返回的唯一标识符。
transactionStatus
string 
可选
交易状态。
可能的值:
延迟 * 已释放
description
string 
可选
描述交易原因。
示例:'订单支付','退款订单'
postedDate
string <date-time>
可选
具有日期模式类型的字段采用 ISO 8601 日期时间格式(例如 GroupBeginDate)。
totalAmount
object (Currency) 
可选
一种货币类型和金额。
marketplaceDetails
object (MarketplaceDetails) 
可选
有关交易发生的市场的信息。
示例值:
{"marketplaceId":"ATVPDKIKX0DER","marketplaceName":"Amazon.com"}
items
array[object (Item) {5}] 
可选
包裹中包含的物品清单。
contexts
array[object (Context) {17}] 
可选
有关该项目的附加信息清单。
breakdowns
array[object (Breakdown) {3}] 
可选
财务交易中总金额计算细节的明细清单。
示例
{
    "nextToken": "string",
    "transactions": [
        {
            "sellingPartnerMetadata": {
                "sellingPartnerId": "XXXXXXXXXXXXXX",
                "accountType": "PAYABLE",
                "marketplaceId": "ATVPDKIKX0DER"
            },
            "relatedIdentifiers": [
                {
                    "relatedIdentifierName": "ORDER_ID",
                    "relatedIdentifierValue": "8129762527551"
                }
            ],
            "transactionType": "Shipment",
            "transactionId": "b1qD0oAliFkLiqRyGbmeT0DoS2Z2kHzi7TZ92z-vARI",
            "transactionStatus": "Released",
            "description": "订单付款",
            "postedDate": "2020-07-14T03:35:13.214Z",
            "totalAmount": {
                "currencyAmount": 10,
                "currencyCode": "USD"
            },
            "marketplaceDetails": {
                "marketplaceId": "ATVPDKIKX0DER",
                "marketplaceName": "Amazon.com"
            },
            "items": [
                {
                    "description": "物品标题",
                    "totalAmount": {
                        "currencyAmount": 10,
                        "currencyCode": "USD"
                    },
                    "relatedIdentifiers": [
                        {
                            "itemRelatedIdentifierName": "ORDER_ADJUSTMENT_ITEM_ID",
                            "itemRelatedIdentifierValue": "81297625-121-27551"
                        }
                    ],
                    "breakdowns": [
                        {
                            "breakdownType": "Product Charges",
                            "breakdownAmount": {
                                "currencyAmount": 10,
                                "currencyCode": "USD"
                            },
                            "breakdowns": [
                                {
                                    "breakdownType": "Principle",
                                    "breakdownAmount": {
                                        "currencyAmount": 10,
                                        "currencyCode": "USD"
                                    },
                                    "breakdowns": []
                                }
                            ]
                        }
                    ],
                    "contexts": [
                        {
                            "contextType": "ProductContext",
                            "asin": "B07FGXZQZ1",
                            "sku": "sku-12",
                            "quantityShipped": 1,
                            "fulfillmentNetwork": "MFN"
                        }
                    ]
                }
            ],
            "breakdowns": {
                "breakdowns": [
                    {
                        "breakdownType": "Sales",
                        "breakdownAmount": {
                            "currencyAmount": 10,
                            "currencyCode": "USD"
                        },
                        "breakdowns": [
                            {
                                "breakdownType": "Product Charges",
                                "breakdownAmount": {
                                    "currencyAmount": 10,
                                    "currencyCode": "USD"
                                },
                                "breakdowns": []
                            }
                        ]
                    }
                ]
            },
            "contexts": [
                {
                    "contextType": "AmazonPayContext",
                    "storeName": "Store 1",
                    "orderType": "Order Type",
                    "channel": "MFN"
                }
            ]
        }
    ]
}
🟠400请求缺少或无效的参数,无法解析。
🟠403表示禁止访问该资源。可能的原因包括访问被拒绝、未经授权、令牌过期或签名无效。
🟠404指定的资源不存在。
🟠413请求大小超过了最大接受大小。
🟠415请求负载格式不受支持。
🟠429请求的频率超过了允许的范围。
🔴500发生了意外情况,导致服务器无法完成请求。
🔴503服务器的临时超载或维护。

技术咨询扫码联系作者

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

扫码加入交流群
上一页
listFinancialEvents
下一页
createInboundShipmentPlan
Built with