Skip to main content

v2.order.get_booking_detail

GET /api/v2/order/get_booking_detail

Use this api to get booking detail.

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/order/get_booking_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
booking_sn_liststringTrue201214JAJXU6G7,201214JASXYXY6The set of booking_sn. If there are multiple booking_sn, you need to use English comma to connect them. limit [1,50]
response_optional_fieldsstringFalsetotal_amountThe 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: item_list,cancel_by,cancel_reason,fulfillment_flag,pickup_done_time,shipping_carrier, recipient_address, dropshipper, dropshipper_phone

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 information you are querying.
booking_listobject[]The list of bookings.
booking_snstring201214JASXYXY6Return by default. Shopee's unique identifier for a booking.
order_snstring201218V2Y6E59MShopee's unique identifier for an order. Only return if booking_status is MATCHED.
regionstringMYReturn by default. The two-digit code representing the region where the booking was made.
booking_statusstringCANCELLEDReturn by default. Enumerated type that defines the current status of the booking. Available value: READY_TO_SHIP/PROCESSED/SHIPPED/CANCELLED/MATCHED
match_statusstringMATCH_PENDINGMATCH_PENDING/MATCH_SUCCESSFUL/MATCH_FAILED
shipping_carrierstringStandard DeliveryThe logistics service provider that will deliver the booking.
create_timetimestamp1607930885Return by default. Timestamp that indicates the date and time that the booking was created.
update_timetimestamp1608134691Return by default. Timestamp that indicates the last time that there was a change in value of booking, such as booking status changed from 'Processed' to 'Shipped'.
ship_by_dateint641608103685Return by default. The deadline to ship out the parcel.
recipient_addressobjectThis object contains detailed breakdown for the recipient address.
namestringMaxRecipient's name for the address.
phonestring3828203Recipient's phone number input when booking was placed.
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.
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_purchasedint641The number of identical items from one listing/item in the same booking.
weightfloat12.0The weight of the item
product_location_idstringThe fulfilment warehouse ID(s) of the items in the booking. (Multi-Warehouse sellers only)
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.
dropshipperstringFor Indonesia bookings only. The name of the dropshipper.
dropshipper_phonestringThe phone number of dropshipper, 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.
fulfillment_flagstringfulfilled_by_shopeeUse this field to indicate the booking 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.
warningstringstring[]Indicate warning message you should take care.