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’  

Output

Type Description
string The allergens for the SKU