# 임직원할인한도

## 임직원 할인한도 잔여금액 증차감

> \## 기능설명\
> \* 임직원의 할인한도 잔여금액을 증감 또는 차감합니다.\
> \---\
> \## 상세설명\
> \* 해당 회원번호가 회원이 아니거나 임직원이 아닐 경우 예외가 발생합니다.\
> &#x20;  \* (Error code: 6101)\
> \* 증감시 한도보다 잔여금액이 커질 경우 잔여금액을 한도금액으로 저장합니다.\
> \* 차감시 잔여금액이 0원 보다 작아질 경우 예외가 발생합니다.\
> &#x20;  \* (Error code: 6102)\
> \* 증감, 차감에 대한 이력을 저장합니다.\
> \* 필수 값 목록\
> &#x20;  \* 회원번호\
> &#x20;  \* 적립사용구분코드 10 or 20\
> &#x20;  \* 주문번호\
> \---\
> \## 특이사항\
> \* 외부 접속이 차단된 API로, 내부 서버에서만 접근이 가능합니다.\
> \---\
> \## 수정번호\
> \* Release v1.03\_231106: 임직원 할인한도 최초개발<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Member API","version":"v1"},"servers":[{"url":"https://api-member.x2bee.com/api/member/","description":"prd"}],"paths":{"/v1/staff/dcLimIncDec":{"post":{"tags":["임직원할인한도"],"summary":"임직원 할인한도 잔여금액 증차감","description":"## 기능설명\n* 임직원의 할인한도 잔여금액을 증감 또는 차감합니다.\n---\n## 상세설명\n* 해당 회원번호가 회원이 아니거나 임직원이 아닐 경우 예외가 발생합니다.\n   * (Error code: 6101)\n* 증감시 한도보다 잔여금액이 커질 경우 잔여금액을 한도금액으로 저장합니다.\n* 차감시 잔여금액이 0원 보다 작아질 경우 예외가 발생합니다.\n   * (Error code: 6102)\n* 증감, 차감에 대한 이력을 저장합니다.\n* 필수 값 목록\n   * 회원번호\n   * 적립사용구분코드 10 or 20\n   * 주문번호\n---\n## 특이사항\n* 외부 접속이 차단된 API로, 내부 서버에서만 접근이 가능합니다.\n---\n## 수정번호\n* Release v1.03_231106: 임직원 할인한도 최초개발\n","operationId":"dcLimIncDec","parameters":[{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DcLimIncDecRequest"}}},"required":true},"responses":{"200":{"description":"성공"},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"DcLimIncDecRequest":{"type":"object","description":"임직원 할인한도 증차감 Request","properties":{"mbrNo":{"type":"string","description":"회원번호"},"rsrvUseGbCd":{"type":"string","description":"적립사용구분코드(ME016)"},"ocurAmt":{"type":"integer","format":"int64","description":"발생금액"},"ordNo":{"type":"string","description":"주문번호"},"claimNo":{"type":"string","description":"클레임번호"},"ordFvrCostSeq":{"type":"string","description":"주문혜택비용순번"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}}}
```

## 임직원 할인한도 조회 (BO)

> \## 기능설명\
> \* 임직원의 할인한도를 조회합니다.\
> \---\
> \## 상세설명\
> \* 임직원 할인한도 상태(잔여금액 및 한도 금액)를 조회합니다.\
> \---\
> \## 특이사항\
> \* 해당 API는 BO 전용 API입니다. BO를 통한 접근만 허용됩니다.\
> \---\
> \## 수정번호\
> \* Release v2.00\_240729: 임직원 할인한도(BO) 최초 개발<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Member API","version":"v1"},"servers":[{"url":"https://api-member.x2bee.com/api/member/","description":"prd"}],"paths":{"/v1/staff/getDsctLmtStatBO":{"get":{"tags":["임직원할인한도"],"summary":"임직원 할인한도 조회 (BO)","description":"## 기능설명\n* 임직원의 할인한도를 조회합니다.\n---\n## 상세설명\n* 임직원 할인한도 상태(잔여금액 및 한도 금액)를 조회합니다.\n---\n## 특이사항\n* 해당 API는 BO 전용 API입니다. BO를 통한 접근만 허용됩니다.\n---\n## 수정번호\n* Release v2.00_240729: 임직원 할인한도(BO) 최초 개발\n","operationId":"getDsctLmtStatBO","parameters":[{"name":"mbrNo","in":"query","description":"회원번호","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Access Token","required":false}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DsctLmtStatResponse"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"DsctLmtStatResponse":{"type":"object","description":"임직원 할인한도 조회 Response","properties":{"mbrNo":{"type":"string","description":"회원번호"},"rmndAmt":{"type":"integer","format":"int64","description":"임직원할인 잔여금액"},"limAmt":{"type":"integer","format":"int64","description":"임직원할인 총 한도 금액"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tech.x2bee.com/api/store-front-api/member-api/undefined-6.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
