Supplier catalogs

How to normalize availability in a supplier JSON catalog

2026-06-28
Task

The supplier JSON API returns availability with the value available. Your catalog schema needs in_stock.

Short answer

Open the availability value settings and add one replacement rule: available -> in_stock.

How to do it in Eofferix

  1. Open the JSON editor and find the availability value in the product object.

    JSON availability field in Eofferix
    The highlighted value is the field that will be normalized before export.
  2. Open the value settings.

    Opening availability settings in the JSON editor
    The animation shows opening settings for the repeated JSON field.
  3. Add one replacement rule: if the current value equals available, replace it with in_stock.

    JSON availability replacement rules in Eofferix
    The rules map supplier values to the catalog vocabulary before export.

Before / after

Before

source data
{
    "supplier": "Northline",
    "products": [
        {
            "sku": "SKU-3001",
            "name": "Hudson lamp",
            "availability": "available"
        }
    ]
}

After

result
{
    "supplier": "Northline",
    "products": [
        {
            "sku": "SKU-3001",
            "name": "Hudson lamp",
            "availability": "in_stock"
        }
    ]
}

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up