Task
The supplier JSON API returns availability values such as available, preorder, and discontinued. Your catalog schema needs in_stock instead of available, while the other statuses stay explicit.
Short answer
Open the availability value settings and add replacement rules: available -> in_stock, preorder -> preorder, discontinued -> discontinued.
How to do it in Eofferix
Open the JSON editor and find the
availabilityvalue in the product object.
The highlighted value is the field that will be normalized before export. Open the value settings.

The animation shows opening settings for the repeated JSON field. Add replacement rules for each known supplier status.

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"
},
{
"sku": "SKU-3002",
"name": "Parker chair",
"availability": "preorder"
},
{
"sku": "SKU-3003",
"name": "Harbor shelf",
"availability": "discontinued"
}
]
}After
result{
"supplier": "Northline",
"products": [
{
"sku": "SKU-3001",
"name": "Hudson lamp",
"availability": "in_stock"
},
{
"sku": "SKU-3002",
"name": "Parker chair",
"availability": "preorder"
},
{
"sku": "SKU-3003",
"name": "Harbor shelf",
"availability": "discontinued"
}
]
}What to keep in mind
- Normalize statuses before import so catalog rules do not depend on each supplier vocabulary.
- When the API sends a nested products array, Eofferix still lets you configure the repeated field.
- For unknown statuses, add a separate rule or leave them unchanged for review.