-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
The amend() method isn't implemented yet. It should generate the XML below. You can use amendment.create() as a work-around, but amend() is the recommended way to modify subscriptions since WSDL 29+.
See the Zuora docs for more here:
https://knowledgecenter.zuora.com/BC_Developers/SOAP_API/D_Use_Cases_Code_Samples/DJ_Cancel_a_Subscription_%28Amendment%29
The output XML should look similar to this:
<api:amend>
<api:requests>
<api:Amendments>
<obj:ContractEffectiveDate>2010-01-01T20:44:54.718+05:30</obj:ContractEffectiveDate>
<obj:CustomerAcceptanceDate>2010-01-01T20:44:54.718+05:30</obj:CustomerAcceptanceDate>
<obj:Description>Cancel a subscription amendment</obj:Description>
<obj:EffectiveDate>2010-01-01T20:44:54.718+05:30</obj:EffectiveDate>
<obj:Name>Cancel a subscription amendment</obj:Name>
<obj:ServiceActivationDate>2010-01-01T20:44:54.718+05:30</obj:ServiceActivationDate>
<obj:Status>Completed</obj:Status>
<obj:SubscriptionId>402892c42ce80787012ce80ea1aa0014</obj:SubscriptionId>
<obj:Type>Cancellation</obj:Type>
</api:Amendments>
<api:PreviewOptions>
<api:EnablePreviewMode>true</api:EnablePreviewMode>
</api:PreviewOptions>
</api:requests>
</api:amend>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels