판매상품 구분 개요
지원 method
판매상품 구분 기본 Object 구조
| 데이터필드 | 자료형 | 설명 |
|---|---|---|
| category_id | integer | 판매상품 구분 ID |
| category_name | string(100) | 구분명 |
판매상품 구분 조회(단일)
| Request URI | /v2/product/sales_product_category/{판매상품 구분 ID} |
|---|---|
| Method | GET |
| 권한 | 고객사, 물류사 |
Request Param
| 데이터필드 | 자료형 | 설명 |
|---|---|---|
| member_id | integer | 고객사 ID 물류사 권한인 경우 필수 |
Response Param
| 데이터필드 | 자료형 | 설명 | |
|---|---|---|---|
| code | string(4) | 응답코드 | |
| message | string(100) | 응답메시지 | |
| response | category_id | integer | 판매상품 구분 ID |
| category_name | string(100) | 구분명 | |
Request Sample
/v2/product/sales_product_category/84?member_id=10
Response Sample
{
"code": "9999",
"message": "ok",
"response": {
"category_name": "냉장",
"category_id": 61
}
}
판매상품 구분 조회(벌크)
| Request URI | /v2/product/sales_product_categorys |
|---|---|
| Method | GET |
| 권한 | 고객사, 물류사 |
Request Param
| 데이터필드 | 자료형 | 설명 |
|---|---|---|
| member_id | integer | 고객사 ID 물류사 권한인 경우 필수 |
| page | integer | 페이지 번호 |
Response Param
| 데이터필드 | 자료형 | 설명 | ||
|---|---|---|---|---|
| code | string(4) | 응답코드 | ||
| message | string(100) | 응답메시지 | ||
| response | data_list (처리 데이터 리스트) |
category_id | integer | 판매상품 구분 ID |
| category_name | string(100) | 구분명 | ||
| total_count | integer | 전체 갯수 | ||
| total_page | integer | 전체 페이지수 | ||
| current_page | integer | 현재 페이지 번호 | ||
Request Sample
/v2/product/sales_product_categorys?member_id=70
Response Sample
{
"code": "9999",
"message": "ok",
"response": {
"data_list": [
{
"category_name": "일반",
"category_id": 54
},
{
"category_name": "냉장",
"category_id": 61
}
],
"total_count": 2,
"total_page": 1,
"current_page": 1
}
}