Get Channel
Endpoint
Get https://open.shopline.io/v1/channels/:id
Request Params
Field | Type | Description | Example |
---|---|---|---|
include_fields | Array | Some fields need to be specified in this field, or it will not return any value. fields: e_invoice_setting | include_fields[]=e_invoice_setting |
fields | Array | for mobile logo media, need to add to this field. | fields[]=items.mobile_logo_media_url |
Headers
Field | Type | Description | Example |
---|---|---|---|
Authorization | String | Bearer authentication with access token given | Required: true |
Response
Check https://open-api.docs.shoplineapp.com/docs/channel for details.
Example
{
"id": "5ea1d91de388091641f1a6cf",
"name": {
"en": "半夜測試中專用店",
"zh-hant": "半夜測試中專用店"
},
"platform": "shop_crm",
"merchant_id": "5e1d9a7439843300086c841c",
"updated_at": "2020-06-03T11:43:01.801+00:00",
"created_at": "2020-04-23T18:06:21.587+00:00",
"default_warehouse_id": "5ea1d8f7e388091641f1a6cd",
"identifier": "42865765",
"company_name": null,
"company_registration_number": null,
"address": {
"_id": "5ea1d91de388091641f1a6d0",
"address_1": "香香的",
"city": "香港島",
"country": "香港",
"country_code": "HK",
"postcode": "",
"state": "中西區",
"id": "5ea1d91de388091641f1a6d0"
},
"phones": {},
"currency_code": "TWD",
"merchant_name": "和那第七間店 pos2",
"pin_codes": []
}
Updated 12 months ago