Filtering Recipes using Custom Labels
This topic comprehensively describes how you can use the Custom Labels filter to search recipes.
Custom Labels Filter Object
"custom_labels":{
"everywhere":{
"in":[
{
"group":"string",
"label":"string"
}
],
"boost_in":[
{
"group":"string",
"label":"string"
}
],
"all":[
{
"group":"string",
"label":"string"
}
],
"not":[
{
"group":"string",
"label":"string"
}
]
},
"in_recipe":{
"in":[
{
"group":"string",
"label":"string"
}
],
"boost_in":[
{
"group":"string",
"label":"string"
}
],
"all":[
{
"group":"string",
"label":"string"
}
],
"not":[
{
"group":"string",
"label":"string"
}
]
},
"in_ingredients":{
"in":[
{
"group":"string",
"label":"string"
}
],
"boost_in":[
{
"group":"string",
"label":"string"
}
],
"all":[
{
"group":"string",
"label":"string"
}
],
"not":[
{
"group":"string",
"label":"string"
}
]
},
"in_instruction_steps":{
"in":[
{
"group":"string",
"label":"string"
}
],
"boost_in":[
{
"group":"string",
"label":"string"
}
],
"all":[
{
"group":"string",
"label":"string"
}
],
"not":[
{
"group":"string",
"label":"string"
}
]
}
}Search Locations
in_recipe
in_recipein_ingredients
in_ingredientsin_instruction_steps
in_instruction_stepseverywhere
everywhereConditional Operators
Custom Label Definition
Example 1 - Filter sponsored recipes for translation
Example 2 - Filter Recipes created for a specific age group by certified members of one particular group of recipe authors
Last updated
Was this helpful?