Skip to main content

Get Single Order

This endpoint retrieves single orders for your shop between given order id or invoice ref number.

Path

get

/v2/fs/:fs_id/order

Request Parameters

ParameterTypeRequiredLocationDescription
fs_id
Integer
Required
path
Fulfillment service id
order_id
Integer
Required
query
Order id
invoice_num
String
Optional
query
Invoice Reference Number. Ex : INV/20170720/XVII/VII/12472252

Example Request

curl -X GET \
'https://fs.tokopedia.net/v2/fs/13004/order?invoice_num=INV/20170720/XVII/VII/12472252' \
-H 'Authorization: Bearer OoHgyxcgQ5a1uCbmbbXjjA' \

Response Parameters

Success Response Examples

{
"header": {
"process_time": 0.289632207,
"messages": "Your request has been processed successfully"
},
"data": {
"order_id": 166570846,
"buyer_id": 8969025,
"seller_id": 480909,
"payment_id": 11789147,
"is_affiliate": false,
"is_fulfillment": true,
"order_warehouse": {
"warehouse_id": 341463,
"fulfill_by": 1,
"meta_data": {
"warehouse_id": 341463,
"partner_id": 1,
"shop_id": 0,
"warehouse_name": "Warehouse Siborongborong",
"district_id": 551,
"district_name": "Siborong-Borong",
"city_id": 43,
"city_name": "Kab. Tapanuli Utara",
"province_id": 2,
"province_name": "Sumatera Utara",
"status": 1,
"postal_code": "22474",
"is_default": 0,
"latlon": "2.2180456594107962,98.97881403402593",
"latitude": "2.2180456594107962",
"longitude": "98.97881403402593",
"email": "siborongborong@gmail.com",
"address_detail": "Jalan siborong-borong",
"country_name": "Indonesia",
"is_fulfillment": true
}
},
"order_status": 400,
"invoice_number": "INV/20210223/MPL/20397087",
"invoice_pdf": "pdf/2021/02/23",
"invoice_url": "https://staging.tokopedia.com/invoice.pl?id=166570846&pdf=Invoice-8969025-480909-20210223105425-dHR0dHR0dHQ0",
"open_amt": 7100,
"lp_amt": 0,
"cashback_amt": 0,
"info": "",
"comment": "",
"item_price": 100,
"buyer_info": {
"buyer_id": 8969025,
"buyer_fullname": "",
"buyer_email": "",
"buyer_phone": ""
},
"shop_info": {
"shop_owner_id": 8969026,
"shop_owner_email": "",
"shop_owner_form": "",
"shop_name": "Tokocoba Ganti Nama",
"shop_domain": "tokocobagantinama",
"shop_id": 480909,
"last_login_at": ""
},
"shipment_fulfillment": {
"id": 0,
"order_id": 166570846,
"payment_date_time": "2021-02-23T10:54:25Z",
"is_same_day": false,
"accept_deadline": "2021-02-24T10:54:25Z",
"confirm_shipping_deadline": "2021-02-26T10:54:25Z",
"item_delivered_deadline": {
"Time": "0001-01-01T00:00:00Z",
"Valid": false
},
"is_accepted": true,
"is_confirm_shipping": false,
"is_item_delivered": false,
"fulfillment_status": 0
},
"preorder": {
"order_id": 166570846,
"preorder_type": 0,
"preorder_process_time": 0,
"preorder_process_start": "",
"preorder_deadline": "",
"shop_id": 0,
"customer_id": 0
},
"order_info": {
"order_detail": [
{
"order_detail_id": 0,
"product_id": 15580679,
"product_name": "t35t!n9 pr0duk w4r3h0us3 1",
"product_desc_pdp": "",
"product_desc_atc": "",
"product_price": 100,
"subtotal_price": 100,
"weight": 0.1,
"total_weight": 0.1,
"quantity": 1,
"quantity_deliver": 1,
"quantity_reject": 0,
"is_free_returns": false,
"insurance_price": 0,
"normal_price": 0,
"currency_id": 1,
"currency_rate": 0,
"min_order": 1,
"child_cat_id": 2134,
"campaign_id": 555,
"event_id": 5666,
"product_picture": "https://ecs7.tokopedia.net/img/cache/100-square/VqbcmM/2021/1/18/e906c195-454c-4cdc-adfc-e08c96defeaa.jpg",
"snapshot_url": "",
"sku": ""
}
],
"order_history": [
{
"action_by": "seller",
"hist_status_code": 400,
"message": "Pemesanan sedang diproses oleh penjual.",
"timestamp": "2021-02-23T10:54:40.316444Z",
"comment": "",
"create_by": 9069716,
"update_by": ""
},
{
"action_by": "tokopedia",
"hist_status_code": 220,
"message": "Verifikasi Konfirmasi Pembayaran.<br>Pembayaran telah diterima Tokopedia dan pesanan sudah diteruskan ke penjual.",
"timestamp": "2021-02-23T10:54:25.485805Z",
"comment": "",
"create_by": 0,
"update_by": ""
},
{
"action_by": "tokopedia",
"hist_status_code": 190,
"message": "Pembayaran telah diterima dan sedang diproses Tokopedia.",
"timestamp": "2021-02-23T10:54:24.335083Z",
"comment": "",
"create_by": 8969025,
"update_by": ""
},
{
"action_by": "tokopedia",
"hist_status_code": 100,
"message": "Pembeli melakukan proses Check Out order.",
"timestamp": "2021-02-23T10:54:24.335083Z",
"comment": "",
"create_by": 8969025,
"update_by": ""
}
],
"order_age_day": 56,
"shipping_age_day": 0,
"delivered_age_day": 0,
"partial_process": false,
"shipping_info": {
"sp_id": 1,
"shipping_id": 1,
"logistic_name": "JNE",
"logistic_service": "Reguler",
"shipping_price": 7000,
"shipping_price_rate": 7000,
"shipping_fee": 0,
"insurance_price": 0,
"fee": 0,
"is_change_courier": false,
"second_sp_id": 0,
"second_shipping_id": 0,
"second_logistic_name": "",
"second_logistic_service": "",
"second_agency_fee": 0,
"second_insurance": 0,
"second_rate": 0,
"awb": "",
"autoresi_cashless_status": 0,
"autoresi_awb": "",
"autoresi_shipping_price": 0,
"count_awb": 0,
"isCashless": false,
"is_fake_delivery": false
},
"destination": {
"receiver_name": "",
"receiver_phone": "",
"address_street": "",
"address_district": "Siborong-Borong",
"address_city": "Kab. Tapanuli Utara",
"address_province": "Sumatera Utara",
"address_postal": "22474",
"customer_address_id": 8969025,
"district_id": 551,
"city_id": 43,
"province_id": 2
},
"is_replacement": false,
"replacement_multiplier": 0
},
"origin_info": {
"sender_name": "Tokocoba Ganti Nama",
"origin_province": 2,
"origin_province_name": "Sumatera Utara",
"origin_city": 43,
"origin_city_name": "Kab. Tapanuli Utara",
"origin_address": "Jalan siborong-borong",
"origin_district": 551,
"origin_district_name": "Siborong-Borong",
"origin_postal_code": "22474",
"origin_geo": "2.2180456594107962,98.97881403402593",
"receiver_name": "",
"destination_address": "",
"destination_province": 2,
"destination_city": 43,
"destination_district": 551,
"destination_postal_code": "22474",
"destination_geo": ",",
"destination_loc": {
"lat": 0,
"lon": 0
}
},
"payment_info": {
"payment_id": 11789147,
"payment_ref_num": "",
"payment_date": "0001-01-01T00:00:00Z",
"payment_method": 0,
"payment_status": "",
"payment_status_id": 0,
"create_time": "0001-01-01T00:00:00Z",
"pg_id": 0,
"gateway_name": "",
"discount_amount": 0,
"voucher_code": "",
"voucher_id": 0
},
"insurance_info": {
"insurance_type": 0
},
"hold_info": null,
"cancel_request_info": null,
"create_time": "2021-02-23T10:54:25.031408Z",
"shipping_date": "",
"update_time": "2021-02-23T10:54:41.17014Z",
"payment_date": "2021-02-23T10:54:25Z",
"delivered_date": "",
"est_shipping_date": "",
"est_delivery_date": "",
"related_invoices": null,
"custom_fields": null,
"fulfillment_order_type": 0,
"encryption": {
"secret": "",
"content": ""
},
"have_product_bundle": true,
"bundle_detail": {
"total_product": 3,
"bundle": [
{
"bundle_id": 2,
"bundle_variant_id": "2-socks_3",
"bundle_name": "Bundle Socks - 3 pairs",
"bundle_price": 40500,
"bundle_quantity": 1,
"bundle_subtotal_price": 40500,
"order_detail": [
{
"order_dtl_id": 1004,
"order_id": 100,
"product_id": 2,
"product_name": "Socks",
"quantity": 3,
"product_price": 13500,
"normal_price": 15000,
"subtotal_price": 40500,
"product_weight": 1000,
"total_weight": 3000,
"bundle_id": 2,
"bundle_variant_id": "2-socks_3"
}
]
}
],
"non_bundle": [
{
"order_dtl_id": 1005,
"order_id": 100,
"product_id": 3,
"product_name": "Shoe - White",
"quantity": 3,
"product_price": 100000,
"normal_price": 100000,
"subtotal_price": 300000,
"product_weight": 5000,
"total_weight": 15000,
"bundle_id": 0,
"bundle_variant_id": ""
}
]
}
}
}

Error Response Examples

{
"header": {
"process_time": 0.000040318,
"messages": "We could not process your request due to malformed request, please check again",
"reason": "invalid order_id format.",
"error_code": "ORD_DLV_005"
},
"data": null
}

Error Codes

Error CodeError MessageDescription
SHP_GRPC_001
Failed Send GRPC Request
Failed sending request to upstream
SHP_GRPC_003
Data Not Found
Failed finding data from upstream

Notes

Response Highlight

Response FieldTypeDescription
fulfillment_order_type
Integer
Tokocabang Order Prioritization Type, 0 = Normal Order, 1 = BO Ekstra

Have a feedback?