Billing - updatePriceQuote fails

Getting error " Failed to parse JSON or serialize protobuf message" Has anyone used updatePriceQuote?

Update - Figured it out. I had first parameter as the actual ID and not the id object. So I had priceQuote.id.id which just passes it the id string instead of the priceQuote.id which is actually the object that includes version number as well.