fixing a doc string

it seems like the example currently used in this docstring doesn't work anymore (due to changes in product api). updated the docstring to provide an up-to-date example which works correctly.