프로모션 목록 조회
POST/procedure-menu/open/promotions/v1/queries/get-promotion-summaries
프로모션 목록 조회
Request
### Content-Type별 요청의 JSON Schema
{
"application/json": {
"schema": {
"type": "object",
"properties": {
"promotionCategoryId": {
"type": "string",
"description": "프로모션 카테고리 ID"
}
},
"title": "protos.open.GetPromotionsQuery"
}
}
}
Responses
- 200
OK
### Status Code별 응답의 JSON Schema
{
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"productConfiguration": {
"type": "object",
"properties": {
"productId": {
"type": "string"
},
"productTitle": {
"type": "string"
},
"optionId": {
"type": "string"
},
"optionTitle": {
"type": "string"
},
"optionPrice": {
"type": "object",
"properties": {
"amount": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
},
"suppliedAmount": {
"allOf": [
{
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
],
"description": "과세 공급가액"
},
"taxFreeAmount": {
"allOf": [
{
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
],
"description": "면세 금액 (aka. 면세 공급가액)"
},
"vatAmount": {
"allOf": [
{
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
],
"description": "부가가치세"
},
"taxation": {
"enum": [
"Taxation_UNKNOWN",
"TAXABLE",
"TAX_FREE",
"MIXED"
],
"type": "string",
"description": "과세 여부",
"format": "enum"
}
},
"title": "protos.procedure.Price"
},
"optionType": {
"enum": [
"ProductOptionType_UNKNOWN",
"SINGLE",
"GROUP",
"CONSULTATION"
],
"type": "string",
"format": "enum"
}
},
"title": "protos.procedure.PromotionOptionProductConfiguration"
},
"discountedPrice": {
"type": "object",
"properties": {
"amount": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
},
"suppliedAmount": {
"allOf": [
{
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
],
"description": "과세 공급가액"
},
"taxFreeAmount": {
"allOf": [
{
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
],
"description": "면세 금액 (aka. 면세 공급가액)"
},
"vatAmount": {
"allOf": [
{
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
],
"description": "부가가치세"
},
"taxation": {
"enum": [
"Taxation_UNKNOWN",
"TAXABLE",
"TAX_FREE",
"MIXED"
],
"type": "string",
"description": "과세 여부",
"format": "enum"
}
},
"title": "protos.procedure.Price"
},
"badges": {
"type": "array",
"items": {
"enum": [
"Badge_UNKNOWN",
"NEW",
"POPULAR",
"RECOMMENDED"
],
"type": "string",
"format": "enum"
}
}
},
"title": "protos.procedure.PromotionOptionContract"
}
},
"categoryIds": {
"type": "array",
"items": {
"type": "string"
}
},
"startDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"deleted": {
"type": "boolean"
},
"closed": {
"type": "boolean"
},
"order": {
"type": "integer",
"format": "int32"
},
"badges": {
"type": "array",
"items": {
"enum": [
"Badge_UNKNOWN",
"NEW",
"POPULAR",
"RECOMMENDED"
],
"type": "string",
"format": "enum"
}
},
"coverImageUrl": {
"type": "string"
}
},
"title": "protos.procedure.PromotionSummaryContract"
}
}
},
"title": "protos.procedure.GetPromotionSummariesQueryResponse"
}
}
}
}
}