Looks like you're missing a `'` here:

```php
'flavorRef' => '{flavorId}',
```