SALES API Doc - Kim-Gyuri/bookstore GitHub Wiki
β νμμ΄ ν맀νλ μν μ‘°ν
ν맀νλ μν μ‘°νμ ν¨κ» νμ¬ νλ§€μ‘ λΆμνκΈ°
request-fields
Path | Type | Description |
---|---|---|
loginId | String | νμ μμ΄λ |
Example request
Host: localhost:8080
GET /api/users/sales?loginId=test4
Example response
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemList": [
{
"itemId": 28,
"itemName": "Edith Piaf",
"price": 14200,
"quantity": 10,
"imgName": "Edith Piaf.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/08498786-065d-472f-96f4-bab7b019141e",
"itemType": "HIGHEST",
"categoryType": "MUSIC"
},
{
"itemId": 30,
"itemName": "Warner Classics",
"price": 13300,
"quantity": 10,
"imgName": "Warner Classics.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/f5ddb6fa-cf02-4208-b615-ff3eefcbf5ca",
"itemType": "HIGHEST",
"categoryType": "MUSIC"
},
{
"itemId": 32,
"itemName": "Utopia",
"price": 10300,
"quantity": 10,
"imgName": "Utopia.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/2aa0fec5-2e03-4eb2-aeb3-635874fa56c0",
"itemType": "HIGHEST",
"categoryType": "MUSIC"
},
{
"itemId": 34,
"itemName": "Utada Hikaru",
"price": 10100,
"quantity": 10,
"imgName": "Utada Hikaru.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/3a0df0b4-ca73-49c7-9b59-10270cb1ad9d",
"itemType": "HIGHEST",
"categoryType": "MUSIC"
},
{
"itemId": 36,
"itemName": "totoro",
"price": 10190,
"quantity": 10,
"imgName": "totoro.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/62a76cee-a563-4934-be0e-06b72903ee44",
"itemType": "HIGHEST",
"categoryType": "MUSIC"
},
{
"itemId": 38,
"itemName": "sm",
"price": 8810,
"quantity": 10,
"imgName": "sm.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/d141de99-308c-4585-b02d-6e27fd8c5351",
"itemType": "HIGHEST",
"categoryType": "MUSIC"
},
{
"itemId": 40,
"itemName": "Sia",
"price": 7710,
"quantity": 10,
"imgName": "Sia.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/edd76fca-4377-4de1-bb91-db87c5ecd845",
"itemType": "HIGHEST",
"categoryType": "MUSIC"
},
{
"itemId": 42,
"itemName": "pororo",
"price": 10090,
"quantity": 10,
"imgName": "pororo.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/410b31ce-21a0-4041-88d0-3d391d90ac70",
"itemType": "BEST",
"categoryType": "MUSIC"
},
{
"itemId": 44,
"itemName": "NewJeans",
"price": 8930,
"quantity": 10,
"imgName": "NewJeans.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/11cc1176-7a3b-4206-b698-5e137f93ef49",
"itemType": "BEST",
"categoryType": "MUSIC"
},
{
"itemId": 46,
"itemName": "Miriam Makeba",
"price": 7710,
"quantity": 10,
"imgName": "Miriam Makeba.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/2c6bad42-7a57-456e-8cab-8c42e32b10f8",
"itemType": "BEST",
"categoryType": "MUSIC"
},
{
"itemId": 48,
"itemName": "La La Land OST by Justin Hurwitz",
"price": 10000,
"quantity": 10,
"imgName": "La La Land OST by Justin Hurwitz.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/27d1f3a8-0a07-472c-be4f-9ff59a33a9a7",
"itemType": "LOWER",
"categoryType": "MUSIC"
},
{
"itemId": 50,
"itemName": "John Coltrane",
"price": 10150,
"quantity": 10,
"imgName": "John Coltrane.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/9981c6e7-f3f2-428b-bf16-bd289ce8fd0a",
"itemType": "LOWER",
"categoryType": "MUSIC"
},
{
"itemId": 52,
"itemName": "BLACKPINK",
"price": 16100,
"quantity": 10,
"imgName": "BLACKPINK.jpg",
"imgUrl": "https://github.com/Kim-Gyuri/bookstore/assets/57389368/e6d6777f-7e4f-49d0-9d30-ed59202610c9",
"itemType": "LOWER",
"categoryType": "MUSIC"
}
],
"totalRevenue": 0
}