Lingxing
切换旧版

查询利润报表 - 订单

POST/bd/profit/report/open/report/order/list

本接口即将下线【不再建议使用】,建议使用查询利润报表 - 订单维度transaction视图

接口信息

API Path请求协议请求方式令牌桶容量
/bd/profit/report/open/report/order/listHTTPSPOST10

请求参数

offsetinteger
分页偏移量,默认0
lengthinteger
分页长度,上限10000
midsarray<any>
站点id
sidsarray<any>
店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】
search_date_fieldstring必填
时间类型:
posted_date_locale 结算时间
fund_transfer_datetime_locale 转账时间
shipment_datetime_locale 发货时间
start_datestring必填
开始时间
end_datestring必填
结束时间
search_fieldstring
搜索值类型:
亚马逊订单号:order_id
MSKU:seller_sku
Asin:asin
父asin:parent_asin
SKU:local_sku
品名:local_name
search_valuearray<any>
搜索的值
currency_codestring
币种code
account_typestring
报告类型:
Standard
Invoiced
Electronic
COD
PayWithAmazon
settlement_statusarray<any>
结算状态:
待结算:["Open", "Pending"]
已结算:["Closed"]
fund_transfer_statusarray<any>
转账状态:
已转帐 Succeeded
转帐中 Processing
失败 Failed
未知 Unknown
event_sourcearray<any>
来源:
SellerDealPayment
ServiceFee
Adjustment
Refund
SellerReviewEnrollmentPayment
RemovalShipmentAdjustment
ProductAdsPayment
Shipment
DebtRecovery
Liquidations Adjustments
Retrocharge
RemovalShipment
descriptionarray<any>
描述

请求示例

{
    "offset": 0,
    "length": 20,
    "sids": [
        136
    ],
    "search_date_field": "fund_transfer_datetime_locale",
    "start_date": "2023-01-21",
    "end_date": "2024-07-20",
    "search_field": "order_id",
    "search_value": [
        ""
    ],
    "currency_code": "CNY",
    "account_type": "Standard",
    "settlement_status": [
        "Closed"
    ],
    "fund_transfer_status": [
        "Succeeded",
        "Unknown"
    ],
    "event_source": [
        "ServiceFee",
        "DebtRecovery"
    ],
    "description": [
        "Subscription",
        "RecoveryAmount"
    ]
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 操作成功
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 14316922-d968-49dc-af7f-ac3aa4e29d09.1682560729730
response_timestring必填
响应时间
示例 2023-04-27 09:58:50
totalinteger必填
总数
示例 11345
dataarray<object>必填
响应数据
隐藏子属性
idstring必填
记录id【非唯一值】,唯一键参考
示例 97860842859265346195179669414178955639632303349797920144362032035134467346451
sidinteger必填
店铺id
示例 8
store_namestring必填
店铺名
示例 JHL Official-01
country_codestring必填
国家编码
示例 UK
countrystring必填
国家
示例 英国
fidstring必填
结算编号
示例 ABC
descriptionstring必填
描述,返回该行对应描述的拼接字符串
【枚举见附加说明】
示例 PaidServicesFee,PointsAdjusted
mskustring必填
MSKU
示例 JX-MPNS-QJZP
asinstring必填
asin
示例 B07H2PWQR2
fulfillmentstring必填
订单类型:FBA、FBM、''
示例 FBA
principalnumber必填
销售额
示例 0
commissionnumber必填
平台费
示例 0
taxnumber必填
销售税额
示例 0
othernumber必填
平台收入中其他收入的其他费用
示例 0
posted_datetime_localestring必填
结算时间
示例 2023-03-02 05:05:29
currency_codestring必填
选择转化后币种
示例 CNY
currency_iconstring必填
选择转化后对应的币符
示例 ¥
order_idstring必填
订单号
示例 AMPSBilling_48155952912_3_2023_01_01
event_sourcestring必填
来源
示例 ServiceFee
account_typestring必填
报告类型
示例 Standard
parent_asinstring必填
父asin
示例 B07H2PWQR2
local_namestring必填
品名
示例 local_name
local_skustring必填
sku
示例 local_sku
settlement_statusarray<any>必填
结算状态
示例 ["Closed"]
fund_transfer_statusarray<any>必填
转账状态
示例 ["Succeeded"]
fund_transfer_datetime_localestring必填
转账时间
示例 2023-03-02 05:05:29
shipment_datetime_localestring必填
发货时间
示例 2023-03-02 05:05:29
small_image_urlstring必填
图片
示例 https://www.amazon.com/dp/B07H2PWQR2
cost_quantitynumber必填
成本数量
示例 0
product_sales_quantitynumber必填
订单数量
示例 0
shipping_chargenumber必填
买家运费
示例 0
promotional_rebatesnumber必填
促销折扣
示例 0
shipping_chargebacknumber必填
运费拒付
示例 0
gift_wrapnumber必填
礼品包装
示例 0
giftwrap_chargebacknumber必填
礼品包装拒付
示例 0
fba_per_unit_fulfillment_feenumber必填
FBA费
示例 0
refund_commissionnumber必填
交易费用退款额
示例 0
shipping_taxnumber必填
运费税
示例 0
sales_tax_withheldnumber必填
市场税
示例 0
marketplace_facilitator_vat_principalnumber必填
市场税-销售额
示例 0
marketplace_facilitator_vat_shippingnumber必填
市场税-买家运费
示例 0
giftWrap_taxnumber必填
礼物包装税
示例 0
promotion_discount_taxnumber必填
促销折扣税
示例 0
shipping_discount_taxnumber必填
运费折扣税
示例 0
restocking_feenumber必填
补货费
示例 0
other_transaction_fees_totalnumber必填
其他交易费总计
示例 -17483.7
other_transaction_fees_detailstring必填
其他交易费明细,所有未识别的明细汇总
示例 {"PaidServicesFee":-17483.70}
settlement_totalnumber必填
亚马逊结算小结
示例 -17483.7
purchase_costs_totalnumber必填
采购成本
示例 0
logistics_costs_totalnumber必填
头程成本
示例 0
other_costs_totalnumber必填
其他成本
示例 0
gross_profitnumber必填
毛利润
示例 -17483.7

返回成功示例

{
    "code": 0,
    "message": "操作成功",
    "error_details": [],
    "request_id": "14316922-d968-49dc-af7f-ac3aa4e29d09.1682560729730",
    "response_time": "2023-04-27 09:58:50",
    "total": 11345,
    "data": [
        {
            "id": "4289099",
            "sid": "8",
            "country": "英国",
            "fid": "",
            "description": "PaidServicesFee",
            "msku": "",
            "asin": "",
            "fulfillment": "",
            "principal": 0.00,
            "commission": 0.00,
            "tax": 0.00,
            "other": 0.00,
            "store_name": "JHM Official-01",
            "country_code": "UK",
            "posted_datetime_locale": "2023-03-02 05:05:29",
            "currency_code": "CNY",
            "currency_icon": "¥",
            "order_id": "AMPSBilling_48155952912_1_2023_01_01",
            "event_source": "ServiceFee",
            "account_type": "Standard",
            "parent_asin": "",
            "local_name": "",
            "local_sku": "",
            "settlement_status": "",
            "fund_transfer_status": "",
            "fund_transfer_datetime_locale": "",
            "shipment_datetime_locale": "",
            "small_image_url": "",
            "cost_quantity": 0,
            "product_sales_quantity": 0,
            "shipping_charge": 0.00,
            "promotional_rebates": 0.00,
            "shipping_chargeback": 0.00,
            "gift_wrap": 0.00,
            "giftwrap_chargeback": 0.00,
            "fba_per_unit_fulfillment_fee": 0.00,
            "refund_commission": 0.00,
            "shipping_tax": 0.00,
            "sales_tax_withheld": 0.00,
            "marketplace_facilitator_vat_principal": 0.00,
            "marketplace_facilitator_vat_shipping": 0.00,
            "giftWrap_tax": 0.00,
            "promotion_discount_tax": 0.00,
            "shipping_discount_tax": 0.00,
            "restocking_fee": 0.00,
            "other_transaction_fees_total": -17483.70,
            "other_transaction_fees_detail": "{\"PaidServicesFee\":-17483.70}",
            "settlement_total": -17483.70,
            "purchase_costs_total": 0.00,
            "logistics_costs_total": 0.00,
            "other_costs_total": 0.00,
            "gross_profit": -17483.70
        }
    ]
}

附加说明

  • description字段枚举值如下:

PointsAdjusted、TaxWithheldAdjustment、Principal、Tax、FBAPerUnitFulfillmentFee、Commission、MarketplaceFacilitatorTax-Principal、ShippingCharge、ShippingTax、ShippingChargeback、MarketplaceFacilitatorVAT-Principal、MarketplaceFacilitatorVAT-Shipping、FBALongTermStorageFee、ReserveDebit、ShippingDiscount、PromotionDiscount、MarketplaceFacilitatorTax-Shipping、FBACustomerRetrunFee、RefundCommission、ReserveCredit、FREE_REPLACEMENT_REFUND_ITEMS、WAREHOUSE_DAMAGE、CouponRedemptionFee、FBADisposalFee、FeeAmount、Revenue、CostOfPointsGranted、ShippingDiscountTax、PaymentMethodFee、CODChargeback、PromotionDiscountTax、RestockingFee、baseValue、feeAmount、GiftWrap、GiftWrapTax、GiftwrapChargeback、MarketplaceFacilitatorTax-Other、REVERSAL_REIMBURSEMENT、COMPENSATED_CLAWBACK、Subscription、FBAStorageFee、TaxAmount、VineFee、BaseTax、WAREHOUSE_LOST、RecoveryAmount、CostOfPointsReturned、TaxWithheld、NonSubscriptionFeeAdj、MarketplaceFacilitatorTax-RestockingFee、REMOVAL_ORDER_LOST、RevenueAdjustment、TaxAmountAdjustment、CSBAFee、ShippingHB、Goodwill、MiscAdjustment、FBAInboundDefectFee、FBAOverageFee、FailedDisbursement、taxValue、ReviewEnrollmentFee、FBARemovalFee、CommissionCorrection、ReturnShipping、PostageRefund_Postage、LiquidationsBrokerageFee、PaidServicesFee、WAREHOUSE_LOST_MANUAL、INCORRECT_FEES_NON_ITEMIZED

  • 唯一键:

sid + posted_datetime_locale + fid + order_id + event_source + seller_sku