sku_allergens

Retrieves allergens for a SKU.

Example

1
{{ '123' | sku_allergens: 'both' }} => Gluten;Lactose

Input

Type Parameter Description Required
string entityId The ID of the SKU to retrieve the allergens for. Comes before the | sign. Required
string status The status of the allergens to retrieve, defaults to ‘both’  
bool searchPath If the entire recipe path should be searched. Requires that recipe paths have been cached using the scheduler job.  

Output

Type Description
string The allergens for the SKU