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 /MerchandiseCategorySettings

Prev Next

⚠️ This endpoint is deprecated as these business rules are managed in the Wair customer portal.

GENERAL INFORMATION

Use this endpoint to create excluded locations. Which means exclude locations from the recommendations.  Direct link to Swagger documentation:

https://public-api-dev.wair.cloud/swagger/index.html#/Settings/post_api_v1_MerchandiseCategorySettings

REQUEST

Authentication

Bearer token, information on page POST /Token

Headers

Name

Description

Example

X-Tenant

Tenant code supplied by Wair

“TENANT”

QueryParameters:

Name

Description

Example

fullLoad

See documentation: Integration core principles

true

Body example:

{
  "merchandiseCategorySettings": [
    {
      "merchandiseCategorySettingId": "guid01",
      "merchandiseCategoryId": "guid01",
      "applyReplenishmentRecommendation": true,
      "minimumReplenishmentQuantity": 1,
      "maximumReplenishmentQuantity": 3,
      "createNewReplenishmentQuantity": true
    }
  ]
}

Additional information:

merchandiseCategorySettingId = id of merchandise category setting

merchandiseCategoryId= id of merchandise category

applyReplenishmentRecommendation = if you want to have replenishment recommendations for this merchandise category

minimumReplenishmentQuantity = what the minimum replenishment quantity is for this merchandise category

maximumReplenishmentQuantity = what the maximum replenishment quantity is for this merchandise category

createNewReplenishmentQuantity = are we allowed to create a new min/max if there is no min/max already available.

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.