Get Merchant
Function
To get information of merchant by merchant id
以商户id獲取商户資料
URL
GET API_DOMAIN/v1/merchants/:merchant_id
Request Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| merchant_id | String | Merchant ID 商户ID | 5e8c5b7a2c389a006ad21050 |
Response Fields
| Field | Type | Description | Example |
|---|---|---|---|
| id | String | Merchant ID 商户ID | 5e8c5b7a2c389a006ad21050 |
| base_country_code | String | Country/Region code 國家/地區代碼 | TW |
| base_currency_code | String | Currency code 貨幣代碼 | TWD |
| name | String | Shop Name 商店名稱 | vicky's store 志龍 |
String | Shop Email 商店電郵 | [email protected] | |
| handle | String | Shop code 商店代碼 | example |
| brand_home_url | String | Shop code 商店鏈結 | https://example.shoplineapp.com |
| custom_domain | String | Shop custom domain 商店自訂網域 | www.example.com |
| current_plan_key | String | Shop plan key 商店計劃代碼 | premium_3year |
| default_language_code | String | Default language code 默認語言代碼 | en |
| staff_id | String | Staff ID 店長 ID (只會有一個,也就是建立這個 merchant 的帳號) | 5b55ae85b818790005cc40c1 |
| rollout_keys | String[] | Supported function keys 支援的功能代碼 |
|
| supported_languages | String[] | Supported languages 支援的語言 |
|
| logo_media | Hash | Shop's logo 店鋪logo |
|
| brand_home_url | String | Storefront url 店鋪地址 | https://sampleshop.shoplineapp.com/ |
| tags | String[] | tags 商店種類 | ["automotive", "book", "cosmetic", "electronics", "food", "life", "maternal", "other", "pet", "retail", "service", "sport"] |
| emails | Hash | Other emails 其他電郵 |
|
| product_lines | Hash | Merchant subscription 商戶訂閱 |
}_ |
| kyc_status | String | KYC status one in | not_yet_applied |
| sl_payment_merchant_id | String | sl_payment_merchant_id 支付中台merchant id | 1450485732895493326 |
| sl_payment_mcc | String | sl_payment_mcc 渠道分配的mcc | 123 |
| sl_payment_billing_descriptor_name | String | Store's billing descriptor 商店交易名稱 | SL*BCHK |
Response Example
Updated 6 months ago
Did this page help you?
