> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api/api-en/store-front-api-reference/member-api/employee-discount-limit.md).

# Employee Discount Limit

## Increase/Decrease Employee Discount Limit Remaining Amount

> \## Function Description\
> \* Increases or decreases an employee's remaining discount limit amount.\
> \---\
> \## Detailed Description\
> \* An exception occurs if the member number is not a member or not an employee.\
> &#x20;  \* (Error code: 6101)\
> \* When increasing, if the remaining amount would exceed the limit, the remaining amount is saved as the limit amount.\
> \* When decreasing, an exception occurs if the remaining amount would become less than 0 won.\
> &#x20;  \* (Error code: 6102)\
> \* Saves the history of increases and decreases.\
> \* Required value list\
> &#x20;  \* Member No.\
> &#x20;  \* Mileage use/accrual type code 10 or 20\
> &#x20;  \* Order No.\
> \---\
> \## Notes\
> \* This API is blocked from external access and can only be accessed from internal servers.\
> \---\
> \## Revision History\
> \* Release v1.03\_231106: Initial development of employee discount limit<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":["Employee Discount Limit"],"summary":"Increase/Decrease Employee Discount Limit Remaining Amount","description":"## Function Description\n* Increases or decreases an employee's remaining discount limit amount.\n---\n## Detailed Description\n* An exception occurs if the member number is not a member or not an employee.\n   * (Error code: 6101)\n* When increasing, if the remaining amount would exceed the limit, the remaining amount is saved as the limit amount.\n* When decreasing, an exception occurs if the remaining amount would become less than 0 won.\n   * (Error code: 6102)\n* Saves the history of increases and decreases.\n* Required value list\n   * Member No.\n   * Mileage use/accrual type code 10 or 20\n   * Order No.\n---\n## Notes\n* This API is blocked from external access and can only be accessed from internal servers.\n---\n## Revision History\n* Release v1.03_231106: Initial development of employee discount limit\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":"Success"},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```
