(Shopee) Chi tiết doanh thu nhiều đơn
API lấy chi tiết doanh thu, chi phí của một đơn hàng Shopee, giá trị trả về API tương ứng với giá trị bạn nhìn thấy trong mục Doanh thu trên Seller Center của Shopee
URL API: https://new.abitstore.vn
POST /ecommerce/getMutipleEscrowDetailByPartner
Headers
Content-Type
application/json
Body
access_token
string
Mã Access token được khởi tạo và cấp quyền bởi chủ tài khoản Abit, Xem hướng dẫn tạo Access Token
partner_name
string
Mã shop khi đăng ký Abit
ecommerce_id
string
ID gian hàng Shopee , TikTok Shop ... được kết nối vào Abit, lấy thông tin ID trong mục Kết nối đa kênh =⇒ Kết nối sàn TMĐT
order_ids
string
chuỗi string ID của đơn hàng Shopee, nhiều đơn ghép lại
{
"access_token": "Zjg5ZDYzNmFmOGFkYmQwODVmMzVmOWM4YTRlMDFiMWQ=",
"partner_name": "Abit",
"ecommerce_id":"208830782",
"order_id": "260819QP36XT66,260819R83TMN26"
}{
"status": "success",
"response": [
{
"escrow_detail": {
"buyer_payment_info": {
"ads_voucher_discount": 0,
"bcrs_deposit": 0,
"bulky_handling_fee": 0,
"buyer_paid_extended_warranty": 0,
"buyer_paid_installation_fee": 0,
"buyer_payment_method": "Cash on Delivery",
"buyer_service_fee": 0,
"buyer_tax_amount": 0,
"buyer_total_amount": 81000,
"credit_card_promotion": 0,
"discount_pix": 0,
"footwear_tax": 0,
"icms_tax_amount": 0,
"import_duty_and_excise_tax": 0,
"import_processing_charge": 0,
"import_tax_amount": 0,
"initial_buyer_txn_fee": 0,
"insurance_premium": 0,
"iof_tax_amount": 0,
"is_paid_by_credit_card": false,
"lvg_sales_tax_adjustment": 0,
"merchant_subtotal": 75000,
"seller_voucher": 0,
"shipping_fee": 6000,
"shipping_fee_sst_amount": 0,
"shopee_coins_redeemed": 0,
"shopee_voucher": 0,
"shopeevip_subtotal": 0,
"total_tax_and_fees_amount": 0,
"trade_in_bonus": 0,
"trade_in_discount": 0,
"vat": 0
},
"buyer_user_name": "imrs1u2st_",
"order_income": {
"actual_installation_fee": 0,
"actual_shipping_fee": 35700,
"ads_escrow_top_up_fee_or_technical_support_fee": 0,
"bcrs_deposit": 0,
"buyer_paid_extended_warranty": 0,
"buyer_paid_shipping_fee": 6000,
"buyer_payment_method": "Cash on Delivery",
"buyer_total_amount": 81000,
"buyer_transaction_fee": 0,
"campaign_fee": 0,
"coins": 0,
"commission_fee": 12375,
"cost_of_goods_sold": 75000,
"credit_card_promotion": 0,
"credit_card_transaction_fee": 4860,
"cross_border_tax": 0,
"delivery_seller_protection_fee_premium_amount": 0,
"drc_adjustable_refund": 0,
"escrow_amount": 44460,
"escrow_import_tax": 0,
"escrow_tax": 0,
"estimated_shipping_fee": 35700,
"fbs_fee": 0,
"final_escrow_product_gst": 0,
"final_escrow_shipping_gst": 0,
"final_product_protection": 0,
"final_product_vat_tax": 0,
"final_return_to_seller_shipping_fee": 0,
"final_shipping_fee": -6000,
"final_shipping_vat_tax": 0,
"fsf_seller_protection_fee_claim_amount": 0,
"installation_fee_paid_by_buyer": 0,
"instalment_plan": "N/A",
"items": [
{
"activity_id": 0,
"activity_type": "",
"ams_commission_fee": 6480,
"bcrs_deposit": 0,
"buyer_paid_extended_warranty": 0,
"discount_from_coin": 0,
"discount_from_voucher_seller": 0,
"discount_from_voucher_shopee": 0,
"discounted_price": 75000,
"installation_fee_paid_by_buyer": 0,
"is_b2c_shop_item": false,
"is_main_item": false,
"item_id": 8709103725,
"item_name": "[20 MÀU] Sơ mi nhóm, áo hoa quả pijamas đi biển hawaii nam nữ, chụp kỷ yếu Giá Rẻ Hôm Nay - TIATOSHOP",
"item_sku": "",
"line_item_id": 240814003221965,
"model_id": 225976871141,
"model_name": "ÁO MỎ NEO,XXXL [75-95kg]",
"model_sku": "AO_MO_NEO_XXXL",
"original_price": 150000,
"promotion_list": [
{
"promotion_id": 866110732959744,
"promotion_type": "seller_discount"
}
],
"quantity_purchased": 1,
"seller_discount": 75000,
"seller_order_processing_fee": 0,
"selling_price": 75000,
"shopee_discount": 0
}
],
"order_ams_commission_fee": 6480,
"order_chargeable_weight": 0,
"order_discounted_price": 75000,
"order_original_price": 150000,
"order_seller_discount": 75000,
"order_selling_price": 75000,
"original_cost_of_goods_sold": 75000,
"original_price": 150000,
"original_shopee_discount": 0,
"overseas_return_service_fee": 0,
"payment_promotion": 0,
"pix_discount": 0,
"prorated_coins_value_offset_return_items": 0,
"prorated_payment_channel_promo_bank_offset_return_items": 0,
"prorated_payment_channel_promo_shopee_offset_return_items": 0,
"prorated_pix_discount_offset_return_items": 0,
"prorated_seller_voucher_offset_return_items": 0,
"prorated_shopee_voucher_offset_return_items": 0,
"return_to_seller_shipping_fee_sst": 0,
"reverse_shipping_fee": 0,
"reverse_shipping_fee_sst": 0,
"rsf_seller_protection_fee_claim_amount": 0,
"sales_tax_on_lvg": 0,
"seller_coin_cash_back": 0,
"seller_discount": 75000,
"seller_lost_compensation": 0,
"seller_order_processing_fee": 0,
"seller_return_refund": 0,
"seller_shipping_discount": 0,
"seller_transaction_fee": 4860,
"seller_voucher_code": [],
"service_fee": 3000,
"shipping_fee_discount_from_3pl": 0,
"shipping_fee_sst": 0,
"shipping_seller_protection_fee_amount": 2700,
"shopee_discount": 0,
"shopee_shipping_rebate": 29700,
"tax_registration_code": "8056930682",
"tenure_info_list": [
{
"instalment_plan": "N/A"
}
],
"th_import_duty": 0,
"trade_in_bonus_by_seller": 0,
"vat_on_imported_goods": 0,
"voucher_from_external_party": 0,
"voucher_from_seller": 0,
"voucher_from_shopee": 0,
"withholding_cit_tax": 0,
"withholding_pit_tax": 375,
"withholding_tax": 0,
"withholding_vat_tax": 750
},
"order_sn": "260819QP36XT66",
"return_order_sn_list": []
}
},
{
"escrow_detail": {
"buyer_payment_info": {
"ads_voucher_discount": 0,
"bcrs_deposit": 0,
"bulky_handling_fee": 0,
"buyer_paid_extended_warranty": 0,
"buyer_paid_installation_fee": 0,
"buyer_payment_method": "Cash on Delivery",
"buyer_service_fee": 0,
"buyer_tax_amount": 0,
"buyer_total_amount": 132000,
"credit_card_promotion": 0,
"discount_pix": 0,
"footwear_tax": 0,
"icms_tax_amount": 0,
"import_duty_and_excise_tax": 0,
"import_processing_charge": 0,
"import_tax_amount": 0,
"initial_buyer_txn_fee": 0,
"insurance_premium": 0,
"iof_tax_amount": 0,
"is_paid_by_credit_card": false,
"lvg_sales_tax_adjustment": 0,
"merchant_subtotal": 150000,
"seller_voucher": 0,
"shipping_fee": 0,
"shipping_fee_sst_amount": 0,
"shopee_coins_redeemed": 0,
"shopee_voucher": -18000,
"shopeevip_subtotal": 0,
"total_tax_and_fees_amount": 0,
"trade_in_bonus": 0,
"trade_in_discount": 0,
"vat": 0
},
"buyer_user_name": "dqd_1106",
"order_income": {
"actual_installation_fee": 0,
"actual_shipping_fee": 16500,
"ads_escrow_top_up_fee_or_technical_support_fee": 0,
"bcrs_deposit": 0,
"buyer_paid_extended_warranty": 0,
"buyer_paid_shipping_fee": 0,
"buyer_payment_method": "Cash on Delivery",
"buyer_total_amount": 132000,
"buyer_transaction_fee": 0,
"campaign_fee": 0,
"coins": 0,
"commission_fee": 23562,
"cost_of_goods_sold": 150000,
"credit_card_promotion": 0,
"credit_card_transaction_fee": 8568,
"cross_border_tax": 0,
"delivery_seller_protection_fee_premium_amount": 0,
"drc_adjustable_refund": 0,
"escrow_amount": 102828,
"escrow_import_tax": 0,
"escrow_tax": 0,
"estimated_shipping_fee": 16500,
"fbs_fee": 0,
"final_escrow_product_gst": 0,
"final_escrow_shipping_gst": 0,
"final_product_protection": 0,
"final_product_vat_tax": 0,
"final_return_to_seller_shipping_fee": 0,
"final_shipping_fee": 0,
"final_shipping_vat_tax": 0,
"fsf_seller_protection_fee_claim_amount": 0,
"installation_fee_paid_by_buyer": 0,
"instalment_plan": "N/A",
"items": [
{
"activity_id": 0,
"activity_type": "",
"ams_commission_fee": 0,
"bcrs_deposit": 0,
"buyer_paid_extended_warranty": 0,
"discount_from_coin": 0,
"discount_from_voucher_seller": 3600,
"discount_from_voucher_shopee": 5400,
"discounted_price": 75000,
"installation_fee_paid_by_buyer": 0,
"is_b2c_shop_item": false,
"is_main_item": false,
"item_id": 27684484934,
"item_name": "Áo thun",
"item_sku": "",
"line_item_id": 240833353208819,
"model_id": 291069211623,
"model_name": "[5]-Áo DẢI CỜ,M [41-48kg] [<1.62m]",
"model_sku": "MẪU 5",
"original_price": 150000,
"promotion_list": [
{
"promotion_id": 866137660375040,
"promotion_type": "seller_discount"
}
],
"quantity_purchased": 1,
"seller_discount": 75000,
"seller_order_processing_fee": 0,
"selling_price": 75000,
"shopee_discount": 0
},
{
"activity_id": 0,
"activity_type": "",
"ams_commission_fee": 0,
"bcrs_deposit": 0,
"buyer_paid_extended_warranty": 0,
"discount_from_coin": 0,
"discount_from_voucher_seller": 3600,
"discount_from_voucher_shopee": 5400,
"discounted_price": 75000,
"installation_fee_paid_by_buyer": 0,
"is_b2c_shop_item": false,
"is_main_item": false,
"item_id": 27684484934,
"item_name": "ÁO TRẮNG",
"item_sku": "",
"line_item_id": 240833353208818,
"model_id": 291069211627,
"model_name": "[5]-Áo DẢI CỜ,XL [58-65kg]",
"model_sku": "MẪU 5",
"original_price": 150000,
"promotion_list": [
{
"promotion_id": 866137660375040,
"promotion_type": "seller_discount"
}
],
"quantity_purchased": 1,
"seller_discount": 75000,
"seller_order_processing_fee": 0,
"selling_price": 75000,
"shopee_discount": 0
}
],
"order_ams_commission_fee": 0,
"order_chargeable_weight": 0,
"order_discounted_price": 150000,
"order_original_price": 300000,
"order_seller_discount": 150000,
"order_selling_price": 150000,
"original_cost_of_goods_sold": 150000,
"original_price": 300000,
"original_shopee_discount": 0,
"overseas_return_service_fee": 0,
"payment_promotion": 0,
"pix_discount": 0,
"prorated_coins_value_offset_return_items": 0,
"prorated_payment_channel_promo_bank_offset_return_items": 0,
"prorated_payment_channel_promo_shopee_offset_return_items": 0,
"prorated_pix_discount_offset_return_items": 0,
"prorated_seller_voucher_offset_return_items": 0,
"prorated_shopee_voucher_offset_return_items": 0,
"return_to_seller_shipping_fee_sst": 0,
"reverse_shipping_fee": 0,
"reverse_shipping_fee_sst": 0,
"rsf_seller_protection_fee_claim_amount": 0,
"sales_tax_on_lvg": 0,
"seller_coin_cash_back": 0,
"seller_discount": 150000,
"seller_lost_compensation": 0,
"seller_order_processing_fee": 0,
"seller_return_refund": 0,
"seller_shipping_discount": 0,
"seller_transaction_fee": 8568,
"seller_voucher_code": [
"1819826GIAM30K12"
],
"service_fee": 3000,
"shipping_fee_discount_from_3pl": 0,
"shipping_fee_sst": 0,
"shipping_seller_protection_fee_amount": 2700,
"shopee_discount": 0,
"shopee_shipping_rebate": 16500,
"tax_registration_code": "8056930682",
"tenure_info_list": [
{
"instalment_plan": "N/A"
}
],
"th_import_duty": 0,
"trade_in_bonus_by_seller": 0,
"vat_on_imported_goods": 0,
"voucher_from_external_party": 0,
"voucher_from_seller": 7200,
"voucher_from_shopee": 10800,
"withholding_cit_tax": 0,
"withholding_pit_tax": 714,
"withholding_tax": 0,
"withholding_vat_tax": 1428
},
"order_sn": "260819R83TMN26",
"return_order_sn_list": []
}
}
],
"code": 200
}Thông tin giá trị API trả về shop có thể tham khảo tại đây: https://open.shopee.com/documents/v2/v2.payment.get_escrow_detail?module=97&type=1
Last updated
Was this helpful?
