Skip to main content

Get Shop Info

This endpoint returns shop information from shop_id that associated with fs_id.

Path

get

/v1/shop/fs/:fs_id/shop-info

Request Parameters

ParameterTypeRequiredLocationDescription
fs_id
Integer
Required
path
Fulfillment service unique identifier
shop_id
Integer
Optional
query
Shop unique identifier
page
Integer
Required
query
Determine which page the order list should start. The minimal value is 1
per_page
Integer
Required
query
Determine how many orders will be shown per page

Example Request

curl -X GET \
'https://fs.tokopedia.net/v1/shop/fs/13004/shop-info' \
-H 'Authorization: Bearer EUqcir9oRCqNr_9OuvZgkg'

Response Parameters

NameTypeDemo ValueDescription
shop_id
Integer
481154
Shop Unique Identifier
user_id
Integer
8970523
User Unique Identifier
shop_name
String
dumiesshop
Shop Name
logo
String
https://images.tokopedia.net/img/cache/215-square/shops-1/2019/10/24/481154/481154_f7355c1f-a110-4bc9-a827-6ce21974116f.png
Shop Logo URL
shop_url
String
https://tokopedia.com/dumiesshop
Shop URL
is_open
Integer
1
Is shop open? 1 = open, 0 = close
status
Integer
1
Shop Status
date_shop_created
Timestamp
2019-09-24
Shop Created Date
domain
String
dumiesshop
Shop Domain
admin_id
Integer Array
[8970523]
Shop Admin Unique Identifier
reason
String
Shop Close Reason
district_id
Integer
1723
District Unqiue Identifier
province_name
String
Jawa Barat
Province Name
warehouses
Object Array
subscribe_tokocabang
Boolean
false
Is shop subscribing tokocabang?
is_mitra
Boolean
false
Shop Mitra Status (true/false)

Success Response Examples

{
"header": {
"process_time": 0,
"messages": "Successfully get retrieved shop info data",
"reason": "",
"error_code": 0
},
"data": [
{
"shop_id": 481154,
"user_id": 8970523,
"shop_name": "dumiesshop",
"logo": "https://images.tokopedia.net/img/cache/215-square/shops-1/2019/10/24/481154/481154_f7355c1f-a110-4bc9-a827-6ce21974116f.png",
"shop_url": "https://tokopedia.com/dumiesshop",
"is_open": 1,
"status": 1,
"date_shop_created": "2019-09-24",
"domain": "dumiesshop",
"admin_id": [
8970523
],
"reason": "",
"district_id": 1723,
"province_name": "Jawa Barat",
"warehouses": [
{
"warehouse_id": 19689,
"partner_id": {
"Int64": 0,
"Valid": false
},
"shop_id": {
"Int64": 481154,
"Valid": true
},
"warehouse_name": "Shop Location",
"district_id": 1723,
"district_name": "Cibinong",
"city_id": 151,
"city_name": "Kab. Bogor",
"province_id": 12,
"province_name": "Jawa Barat",
"status": 1,
"postal_code": "16911",
"is_default": 1,
"latlon": "-6.474478443906435,106.8313251228692",
"latitude": "-6.474478443906435",
"longitude": "106.8313251228692",
"email": "",
"address_detail": "Cibinong Jalan Cipayung Barat",
"phone": "",
"warehose_type": "Default Shop Location"
},
{
"warehouse_id": 341600,
"partner_id": {
"Int64": 0,
"Valid": false
},
"shop_id": {
"Int64": 481154,
"Valid": true
},
"warehouse_name": "Pekalongan tiga",
"district_id": 2629,
"district_name": "Doro",
"city_id": 197,
"city_name": "Kab. Pekalongan",
"province_id": 14,
"province_name": "Jawa Tengah",
"status": 1,
"postal_code": "51191",
"is_default": 0,
"latlon": "-7.020987227618663,109.68869545141341",
"latitude": "-7.020987227618663",
"longitude": "109.68869545141341",
"email": "marcondolx@gmail.com",
"address_detail": "Jalan mana aja yah yang penting ada",
"phone": "087877433666",
"warehose_type": "Shop Location"
},
{
"warehouse_id": 341466,
"partner_id": {
"Int64": 0,
"Valid": false
},
"shop_id": {
"Int64": 481154,
"Valid": true
},
"warehouse_name": "Citayam 12",
"district_id": 2230,
"district_name": "Cimanggis",
"city_id": 171,
"city_name": "Kota Depok",
"province_id": 12,
"province_name": "Jawa Barat",
"status": 1,
"postal_code": "16451",
"is_default": 0,
"latlon": "-6.366106487752489,106.84127410855234",
"latitude": "-6.366106487752489",
"longitude": "106.84127410855234",
"email": "didit_guys@yahoo.com",
"address_detail": "Jalan Jauhh",
"phone": "087877433666",
"warehose_type": "Shop Location"
}
],
"subscribe_tokocabang": false,
"is_mitra": false
}
]
}

Error Response Examples

{
"data": null,
"status": "400 Bad Request",
"error_message": [
"Invalid FS ID Format"
]
}

Error Codes

Error CodeError MessageDescription
SHP_USC_001
FS ID is not associated with Shop ID
FS ID is not connected with the Shop ID, please kindly check

Notes

There are 3 methods to retrieve shop info :

  • Without shop_id parameter will retrieve all shop that associated with fs_id (Recomended to use for total shops under 500)
  • With shop_id parameter will retrieve specific shop that associated with fs_id

Have a feedback?