def dynamic_content_item_variant_update(self, item_id, id, data, **kwargs):
        "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#update-variant"
        api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json"
        api_path = api_path.format(item_id=item_id, id=id)
        return self.call(api_path, method="PUT", data=data, **kwargs)
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#update-variant