Skip to content

Products / Check Availability (POST)#

The response of the endpoint api/products/check-availability allows you to check the availability of your current portfolio.

  • POST api/products/check-availability

Parameters#

NAME TYPE DESCRIPTION
checkAll boolean Optional - will also look for new and existing products if set to true

Payload#

All skus must be provided as a list named skus. The API will then check the availability based on the provided skus.

{
    "skus": [
        383,
        1111,
        2222,
        6666,
    ]
}

Response#

The reponse will simply list all skus of your provided list that are not available anymore.

Hint

If the parameter checkAll is set to true, the response will contain two additional fields:

  • new for skus that are in the API and not listed in skus.
  • existing for skus that are in the API and also listed in skus.
{
    "unavailable": [
        1111,
        2222
    ]
}