\Pipedrive\versions\v2\Model\UpdateProductRequestBody does not have custom_fields in types, therefore it is removed when making the request with \Pipedrive\versions\v2\Api\ProductsApi::updateProduct, resulting in a successful request but no changes to the custom fields.