Skip to main content

v2.order.get_order_detail

GET /api/v2/order/get_order_detail

Use this api to get order detail.

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/order/get_order_detail

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Request Parameters

NameTypeRequiredSampleDescription
order_sn_liststringTrue201214JAJXU6G7,201214JASXYXY6The set of order_sn. If there are multiple order_sn, you need to use English comma to connect them. limit [1,50]
request_order_status_pendingbooleanFalsetrueCompatible parameter during migration period, send True will let API support PENDING status and return  pending_terms, send False or don’t send will fallback to old logic
response_optional_fieldsstringFalsetotal_amounta response fields you want to get. Please select from the below response parameters. If you input an object field, all the params under it will be included automatically in the response. If there are multiple response fields you want to get, you need to use English comma to connect them. Available values: buyer_user_id,buyer_username,estimated_shipping_fee,recipient_address,actual_shipping_fee ,goods_to_declare,note,note_update_time,item_list,pay_time,dropshipper, dropshipper_phone,split_up,buyer_cancel_reason,cancel_by,cancel_reason,actual_shipping_fee_confirmed,buyer_cpf_id,fulfillment_flag,pickup_done_time,package_list,shipping_carrier,payment_method,total_amount,buyer_username,invoice_data,order_chargeable_weight_gram,return_request_due_date,edt,payment_info,international_label

Response Parameters

NameTypeSampleDescription
request_idstringa8e1b94f51d64540bf5762abe7783073The identifier for an API request for error tracking.
errorstringcommon.error_authIndicate error type if hit error. Empty if no error happened.
messagestringInvalid access_token.Indicate error details if hit error. Empty if no error happened.
responseobjectDetail informations you are querying.
order_listobject[]The list of orders.
order_snstring2404098R48U37HReturn by default. Shopee's unique identifier for an order.
regionstringVNReturn by default. The two-digit code representing the region where the order was made.
currencystringVNDReturn by default. The three-digit code representing the currency unit for which the order was paid.
codbooleanfalseReturn by default. This value indicates whether the order was a COD (cash on delivery) order.
total_amountfloat1004.0The total amount paid by the buyer for the order. This amount includes the total sale price of items, shipping cost beared by buyer; and offset by Shopee promotions if applicable. This value will only return after the buyer has completed payment for the order.
pending_termsstring[]["SYSTEM_PENDING", "KYC_PENDING"]The list of pending terms. Applicable values: - SYSTEM_PENDING: Under Shopee internal processing. - KYC_PENDING: Under KYC checking (TW CB order only). - ARRANGE_SHIPMENT_PENDING: Temporarily held due to 3PL capacity constraints.
pending_descriptionstring[]["Order is being processed by Shopee"]The value of this field is the description of pending reason corresponding with pending terms. Applicable values: - For SYSTEM_PENDING: Order is being processed by Shopee. - For KYC_PENDING: Order is pending buyer TW KYC pre-authorization. - For ARRANGE_SHIPMENT_PENDING: Allocating delivery resources due to high order volume. Label print will be available within 4 days after buyer paid.
order_statusstringCANCELLEDReturn by default. Enumerated type that defines the current status of the order.
shipping_carrierstringStandard DeliveryThe logistics service provider that the buyer selected for the order to deliver items. Note: If logistics_channel_id is 90021, 90025 or 90026, service_code will be appended, e.g., Entrega Turbo - M1020.
payment_methodstringBank TransferThe payment method that the buyer selected to pay for the order. Applicable values: See Data Definition- Payment Methods.
estimated_shipping_feefloat4.0The estimated shipping fee is an estimation calculated by Shopee based on specific logistics courier's standard.
message_to_sellerstringReturn by default. Message to seller.
create_timetimestamp1607930885Return by default. Timestamp that indicates the date and time that the order was created.
update_timetimestamp1608134691Return by default. Timestamp that indicates the last time that there was a change in value of order, such as order status changed from 'Paid' to 'Completed'.
days_to_shipint322Return by default. Shipping preparation time set by the seller when listing item on Shopee.
ship_by_datetimestamp1608103685Return by default. The deadline to ship out the parcel.
buyer_user_idint649193214The user id of buyer of this order, will be empty if it is a non-integrated order in TW region.
buyer_usernamestringTomThe name of buyer, will be masked as "****" if it is a non-integrated order in TW region.
recipient_addressobjectThis object contains detailed breakdown for the recipient address. Different parameters might be masked according to each market and kind of seller. For TW region integrated channel orders will be all masked as "****". More details may refer the announcement.
namestringMaxRecipient's name for the address.
phonestring3828203Recipient's phone number input when order was placed. [Only for TW non-integrated channel] Will return "****" when the "virtual_contact_number" is available
townstringSaraThe town of the recipient's address. Whether there is a town will depend on the region and/or country.
districtstringDadaThe district of the recipient's address. Whether there is a district will depend on the region and/or country.
citystringAsajayaThe city of the recipient's address. Whether there is a city will depend on the region and/or country.
statestringSarawakThe state/province of the recipient's address. Whether there is a state/province will depend on the region and/or country.
regionstringMYThe two-digit code representing the region of the Recipient.
zipcodestring40009Recipient's postal code.
full_addressstringC-15-14 BLOK C JALAN 30/146, Asajaya, 40009, SarawakThe full address of the recipient, including country, state, even street, and etc.
geolocationobjectGeolocation info. Only available for logistics_channel_id 90026.
latitudefloat-23.567851Latitude.
longitudefloat-46.6912611Longitude.
actual_shipping_feefloat0.0The actual shipping fee of the order if available from external logistics partners.
goods_to_declarebooleanfalseOnly work for cross-border order.This value indicates whether the order contains goods that are required to declare at customs. "T" means true and it will mark as "T" on the shipping label; "F" means false and it will mark as "P" on the shipping label. This value is accurate ONLY AFTER the order trackingNo is generated, please capture this value AFTER your retrieve the trackingNo.
notestringhahaThe note seller made for own reference.
note_update_timetimestamp1608103685Update time for the note.
item_listobject[]This object contains the detailed breakdown for the result of this API call.
item_idint642600144043Shopee's unique identifier for an item.
item_namestringbackpackThe name of the item.
item_skustringskuA item SKU (stock keeping unit) is an identifier defined by a seller, sometimes called parent SKU. Item SKU can be assigned to an item in Shopee Listings.
model_idint640ID of the model that belongs to the same item.
model_namestringName of the model that belongs to the same item. A seller can offer models of the same item. For example, the seller could create a fixed-priced listing for a t-shirt design and offer the shirt in different colors and sizes. In this case, each color and size combination is a separate model. Each model can have a different quantity and price.
model_skustringA model SKU (stock keeping unit) is an identifier defined by a seller. It is only intended for the seller's use. Many sellers assign a SKU to an item of a specific type, size, and color, which are models of one item in Shopee Listings.
model_quantity_purchasedint321The number of identical items purchased at the same time by the same buyer from one listing/item.
model_original_pricefloat1000.0The original price of the item in the listing currency.
model_discounted_pricefloat1000.0The after-discount price of the item in the listing currency. If there is no discount, this value will be same as that of model_original_price. In case of bundle deal item, this value will return 0 as by design bundle deal discount will not be breakdown to item/model level. Due to technical restriction, the value will return the price before bundle deal if we don't configure it to 0. Please call GetEscrowDetails if you want to calculate item-level discounted price for bundle deal item.
wholesalebooleanfalseThis value indicates whether buyer buy the order item in wholesale price.
weightfloat12.0The weight of the item
add_on_dealbooleanfalseTo indicate if this item belongs to an addon deal.
main_itembooleanfalseTo indicate if this item is main item or sub item. True means main item, false means sub item.
add_on_deal_idint640A unique ID to distinguish groups of items in Cart, and Order. (e.g. AddOnDeal)
promotion_typestringflash_saleAvailable type:product_promotion, flash_sale, bundle_deal, add_on_deal_main, add_on_deal_sub. For items which attend multiple promotions will only show one promotion, the order of priority is: bundle_deal > add_on_deal_main > add_on_deal_sub > product_promotion >flash_sale
promotion_idint640The ID of the promotion.
order_item_idint642600144043The identify of order item.
promotion_group_idint320The identify of product promotion.
image_infoobjectImage info of the product.
image_urlstringThe image url of the product. Default to be variation image, if the model does not have a variation image, will use an item main image instead.
product_location_idstringThe fulfilment warehouse ID(s) of the items in the order. (Multi-Warehouse sellers only)
is_prescription_itembooleanTo indicate if this item is prescription item
consultation_idstringAn identifier of teleconsultation session which buyer did to order this item. Empty if item is not ordered through teleconsultation session
is_b2c_owned_itembooleandetermine if item is B2C_shop_item It should be **is\_b2c\_shop\_item** but it was a bug from dev. Then now it's is_b2c_owned_item
promotion_listobject[]
promotion_typestringseller_discountIndicates the type of item or package level promotion applied to a product. Each item can be associated with at most one item promotion and one package promotion at a time. Item Promotions: low_price_promotion deep_discount platform_sale seller_discount flash_sale wholesale welcome_package_free_gift brand_flash_sale in_shop_flash_sale synced_promo platform_streaming_price seller_streaming_price exclusive_streamer_price price_bidding_with_rebate price_bidding_without_rebate seller_advisor_price selling_price settlement_price campaign_settlement_price local_sip_settlement_price platform_exclusive_price seller_exclusive_price seller_member_exclusive_sku item_price order_sync_price Package Promotions: bundle_deal add_on_deal_main add_on_deal_sub
promotion_idint64848474823Represents the unique identifier of a specific promotion applied to an item. Each promotion_id corresponds to a distinct promotion rule or campaign, defined under a particular promotion_type. The value is expressed in a numeric string format.
hot_listing_itembooleantrue[Only for PH,TH,VN,MY,BR,TW] True if the item is hot listing.
pay_timetimestamp1607930885The time when the order status is updated from UNPAID to PAID. This value is NULL when order is not paid yet.
dropshipperstringFor Indonesia orders only. The name of the dropshipper.
dropshipper_phonestringThe phone number of dropshipper, could be empty.
split_upbooleanfalseTo indicate whether this order is split to fullfil order(forder) level. Call GetForderInfo if it's "true".
buyer_cancel_reasonstringCancel reason from buyer, could be empty.
cancel_bystringsystemCould be one of buyer, seller, system or Ops.
cancel_reasonstringBACKEND_LOGISTICS_NOT_STARTEDUse this field to get reason for buyer, seller, and system cancellation.
actual_shipping_fee_confirmedbooleanfalseUse this filed to judge whether the actual_shipping_fee is confirmed.
buyer_cpf_idstringBuyer's CPF number for taxation and invoice purposes. Only for Brazil order.
fulfillment_flagstringfulfilled_by_shopeeUse this field to indicate the order is fulfilled by shopee or seller. Applicable values: fulfilled_by_shopee, fulfilled_by_cb_seller, fulfilled_by_local_seller.
pickup_done_timetimestamp0The timestamp when pickup is done.
package_listobject[]The list of package under an order
package_numberstring"61630084074470"Shopee's unique identifier for the package under an order.
logistics_statusstringLOGISTICS_INVALIDThe Shopee logistics status for the order. Applicable values: See Data Definition-LogisticsStatus.
logistics_channel_idint6418080The identity of logistic channel.
shipping_carrierstringStandard DeliveryThe logistics service provider that the buyer selected for the order to deliver items. Note: If logistics_channel_id is 90021, 90025 or 90026, service_code will be appended, e.g., Entrega Turbo - M1020.
allow_self_design_awbbooleanfalseTo indicate whether the package allows for self-designed AWB, if allow_self_design_awb returns false, it means that the package does not allow for self-designed AWB and only the system-AWB can be used.
item_listobject[]The lis of items.
item_idint642600144043Shopee's unique identifier for an item.
model_idint640Shopee's unique identifier for a model.
model_quantityint321The number of identical items/variations purchased at the same time by the same buyer from one listing/item.
order_item_idint642600144043The identify of order item. For items in one same bundle deal promotion, the order_item_id should share the same id, such as 1,2. For items not in bundle deal promotion, the order_item_id should be the same as item_id.
promotion_group_idint327850298The identify of product promotion.
product_location_idstringIDLThe warehouse ID of the item.
parcel_chargeable_weightintdisplay weight used to calculate ASF for this parcel
group_shipment_idint64150654369130420The common identifier for multiple orders combined in the same parcel.
virtual_contact_numberstring0928000886[Only for TW non-integrated channel] The virtual phone number to contact the recipient.
package_query_numberstring66668888[Only for TW non-integrated channel] The query number used in virtual phone number calls to contact the recipient of this package.
sorting_groupstringNorth[Only for TW 30029 channel] This field indicate the sorting group value of the package. This field is only available for logistics_channel_id = 30029 and after the package has been arranged for shipment.
invoice_dataobjectThe invoice data of the order.
numberstringThe number of the invoice.
series_numberstringThe series number of the invoice.
access_keystringThe access key of the invoice.
issue_datetimestampThe issue date of the invoice.
total_valuefloatThe total value of the invoice.
products_total_valuefloatThe products total value of the invoice.
tax_codestringThe tax code for the invoice.
checkout_shipping_carrierstringStandard DeliveryFor non masking order, the logistics service provider that the buyer selected for the order to deliver items. For masking order, the logistics service type that the buyer selected for the order to deliver items.
reverse_shipping_feefloatShopee charges the reverse shipping fee for the returned order.The value of this field will be non-negative.
order_chargeable_weight_gramintdisplay weight used to calculate ASF for this order
prescription_check_statusintPrescription check status. Only for ID and PH whitelist sellers. Applicable value: 0: NONE 1: PASSED 2: FAILED
pharmacist_namestringName of the Pharmacist for Prescription Order.
prescription_imagesstring[]Return prescription images of this order, only for ID and PH whitelist sellers. Please add the prefix to review: for ID: https://cf.shopee.co.id/file/+prescription_image for PH:https://cf.shopee.ph/file/+prescription_image
prescription_approval_timetimestampTime of when the prescription is approved.
prescription_rejection_timetimestampTime of when the prescription is rejected.
prescription_reject_reasonstringInsufficient prescription detailReturn the reason why a prescription is rejected. If there is no rejection reason, return empty.
is_buyer_shop_collectionbooleanTo indicate if this order is buyer self collection at store order
buyer_proof_of_collectionstring[]The image url of the buyer self collection at the store.
edt_fromtimestampEarliest estimated delivery date of orders (only available for BR region)
edt_totimestampLatest estimated delivery time of orders (only available for BR region)
booking_snstring2404098R48U37HReturn by default. Shopee's unique identifier for a booking. Only returned for advance fulfilment matched order only.
advance_packagebooleantrueIndicate whether order will be fulfilled using advance fulfilment stock or not. If value is true, order will be matched with a booking and seller should not arrange shipment.
return_request_due_datetimestampThis field represents the deadline for buyers to initiate returns and refunds after order is completed. The “return_request_due_date” response parameter will be returned if the requested order meets ALL the conditions below: - The status of the order is COMPLETED - The return refund eligibility of the order is true If you have any questions related to the function of "returns and refunds after order is completed," please refer to the following link: https://seller.shopee.tw/edu/article/18474
payment_infoobject[][Only for BR] List of payment information, to follow NT 2025.001 (BR government invoice rules).
payment_methodstringDebit Card[Only for BR] Payment method used in the order, such as Credit Card, Debit Card, Pix, etc.
payment_processor_registerstring38.372.267/0001-82[Only for BR] CNPJ of the payment processor handling the transaction.
card_brandstringVISA[Only for BR] Card brand for credit or debit transactions, such as VISA, MASTER, etc. Empty string for Pix payments.
transaction_idstring951679[Only for BR] Payment authorization code generated by the bank or payment processor to validate the transaction.
payment_amountfloat1004.0[Only for BR] Amount paid by the corresponding payment method.
hot_listing_orderbooleantrue[Only for PH,TH,VN,MY,BR,TW] True if the order includes hot listing item.
is_internationalbooleanfalse[Only for BR] Indicate if the order is SIP order. This field will only be returned if international_label is included in response_optional_field in the request.
warningstring[]Indicate warning message you should take care.