{
"typeId": "api",
"category": "product",
"apiId": "read",
"apiName": "상품 조회",
"apiType": "service",
"method": "GET",
"parameters": [
{
"parameter": "productId",
"name": "상품ID",
"valueType": "STRING",
"required": true
}
],
"statistic": true,
"aggregation": false,
"root": {
"configId": "root",
"tid": "siteProduct",
"type": "query",
"resultType": "OBJECT",
"cacheable": false,
"cacheTime": 1,
"allowParams": false,
"orderNo": 1,
"customResponse": "productReadResponse",
"query": [
{
"method": "matching",
"field": "id",
"value": "{{:productId}}"
},
{
"method": "matching",
"field": "approvalStatus",
"value": "approval"
},
{
"method": "matching",
"field": "saleStatus",
"value": "selling"
},
{
"method": "matching",
"field": "exposure",
"value": "true"
},
{
"method": "matching",
"field": "deleted",
"value": "false"
},
{
"method": "matching",
"field": "site",
"value": "{{:_siteId}}"
}
],
"response": [
{
"field": "id",
"type": "field",
"value": ""
},
{
"field": "name",
"type": "field",
"value": ""
},
{
"field": "siteProductSaleInfo",
"type": "field",
"value": ""
},
{
"field": "optionType",
"type": "field",
"value": "baseProduct.productOptionInfo.optionType"
},
{
"field": "productOptionCodes",
"type": "field",
"value": "baseProduct.productOptionInfo.productOptionCodes"
},
{
"field": "productOptions",
"type": "field",
"value": "baseProduct.productOptionInfo.productOptions"
},
{
"field": "productDetail",
"type": "field",
"value": "baseProduct.productDetail"
},
{
"field": "images",
"type": "field",
"value": "baseProduct.images"
},
{
"field": "videos",
"type": "field",
"value": "baseProduct.videos"
}
]
}
} |