/me 범위 없음키·공급사·판매 채널 확인
이 키의 공급사, 키(이름·끝 4자·범위), 판매 채널(카페24·고도몰·파트너 앱 — 해제한 것까지)을 돌려줘요. 키를 서버에 저장할 때 한 번 불러 확인하세요. 범위가 없어도 부를 수 있어요.
curl "https://www.podiz.co.kr/api/supplier/v1/me" \
-H "Authorization: Bearer $PODIZ_SUPPLIER_KEY"200 키·공급사·판매 채널
{
"data": {
"supplier": {
"id": "5d1f0c2a-8e47-4b1d-9a3c-2f6e8b0d4c71",
"name": "예시 공급사"
},
"key": {
"id": "9b3e6a41-0f2c-4d8e-b7a5-1c9d3e5f7a20",
"name": "자사 운영 서버",
"hint": "3f9a",
"scopes": [
"designs:read",
"assets:read",
"print_files:read",
"print_files:request",
"orders:read"
]
},
"channels": [
{
"id": "c7a2e9f4-3b1d-4e6a-8c5f-0d2b9e7a1f36",
"type": "godomall",
"name": "단체복 몰",
"status": "active",
"store_url": "https://www.example-shop.co.kr"
},
{
"id": "1f8d4b6e-9a2c-4f7e-b3d1-6e0a8c5f2b94",
"type": "partner",
"name": "견적 앱",
"status": "active",
"store_url": null
}
]
}
}