Happy Business Starts Here

Re: How to fix “The type "ProductFeature" not support batch create” when add feature to pr

Highlighted
Zuora Alumni
Zuora Alumni

How to fix “The type "ProductFeature" not support batch create” when add feature to product

Question:
When trying to add features to products in our product catalog using create() with ProductFeature” object in SOAP API, the method returns the following error: “The type "ProductFeature" not support batch create.”



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 ACCEPTED SOLUTION

Accepted Solutions
Zuora Alumni
Zuora Alumni

Re: How to fix “The type "ProductFeature" not support batch create” when add feature to pr

Response:
The problem was with the "useSingleTransaction = true” parameter.

<h:CallOptions xmlns="http://api.zuora.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:h="http://api.zuora.com/">
<useSingleTransaction>true</useSingleTransaction>
</h:CallOptions>

The useSingleTransaction needs to be set to False. The CallOptions complex type is used when using the create() call with an amendment--atomic amendment.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

1 REPLY 1
Zuora Alumni
Zuora Alumni

Re: How to fix “The type "ProductFeature" not support batch create” when add feature to pr

Response:
The problem was with the "useSingleTransaction = true” parameter.

<h:CallOptions xmlns="http://api.zuora.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:h="http://api.zuora.com/">
<useSingleTransaction>true</useSingleTransaction>
</h:CallOptions>

The useSingleTransaction needs to be set to False. The CallOptions complex type is used when using the create() call with an amendment--atomic amendment.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post