--- title: "POST /SaleDiscountCodes" slug: "post-salediscountcodes" updated: 2026-01-26T15:24:41Z published: 2026-01-26T15:24:41Z canonical: "docs.wair.ai/post-salediscountcodes" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.wair.ai/llms.txt > Use this file to discover all available pages before exploring further. # POST /SaleDiscountCodes ### GENERAL INFORMATION Use this endpoint to create sale discount codes. We want to be able to identify which of the discount reasons really belongs to a sale: [https://public-api-dev.wair.cloud/swagger/index.html#/Settings/post_api_v1_SaleDiscountCodes](https://public-api-dev.wair.cloud/swagger/index.html#/Settings/post_api_v1_SaleDiscountCodes) ### REQUEST **Authentication** Bearer token, information on page [POST /Token](/v1/docs/tech-documentation-article) **Headers** | Name | Description | Example | | --- | --- | --- | | X-Tenant | Tenant code supplied by Wair | “TENANT” | #### QueryParameters: | Name | Description | Example | | --- | --- | --- | | fullLoad | See documentation: [Integration core principles](/v1/docs/integration-core-principles#full-load-functionality) | true | #### Body example: ```json {  "saleDiscountCodes": [    {      "saleDiscountCodeId": "guid01",      "discountReasonId": "guid01"    }  ] } ``` #### Additional information: saleDiscountCodeId = id of sale discount discountReasonId = id of discount reason ### RESPONSE **StatusCodes:** 200 = OK. 401 = Unauthorized, which means an expired/missing/invalid token. 400 = Bad request, see body of the response to check which validation errors have occured. 500 = System error, see body of the response to check which error has occured or contact integration support. **Body Example:** No body in the response.