Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 734 Bytes

README.md

File metadata and controls

62 lines (51 loc) · 734 Bytes

EXPRESS UPDATE POINT

Install dependencies

if use yarn

$ yarn install 

if use npm

$ npm install

Develop environment at localhost:7000

if use yarn

$ yarn start

if use npm

$ npm run start

API

Update Point

https://${url}/updatePoint

Request Body

  {
    "memberId": "",
    "productCode": "",
    "terminalId": "",
    "volumn": "",
    "price": ""
  }

Method

POST

Success Response


  • Code: 202 ACCEPTED
  • Content:
  {
    "memberId": "",
    "productName": "",
    "receivePoint": number 
  }

Error Response

  • Code: 400 Bad Request
  • Code: 403 Forbidden
  • Code: 404 NOT FOUND