Happy Business Starts Here

Highlighted
Senior Tutor

action POST amend "Multi AmendRequest is not supported" error with single amendment

Attempting to send a single amendment via action POST amend and getting the error "Multi AmendRequest is not supported" 

 

The payload: (ids redacted)

{
	"requests":
	{
		"Amendments":
		[
			{
				"DestinationAccountId":"......acct_id_a",
				"DestinationInvoiceOwnerId":".....acct_id_b",
				"SubscriptionId":".....sub_id",
				"ContractEffectiveDate":"2020-02-05",
				"CustomerAcceptanceDate":"2020-02-05",
				"ServiceActivationDate":"2020-02-05",
				"Status":"Completed",
				"Type":"OwnerTransfer"
			}
		]
	}
}

The response is:

{
	"faultcode": "fns:INVALID_VALUE",
	"faultstring":"Multi AmendRequest is not supported.",
	"detail":
	{
		"UnexpectedErrorFault":
		{
			"FaultCode":"INVALID_VALUE",
			"FaultMessage":"Multi AmendRequest is not supported."
		}
	}
}

It seems that error should only occur if I put multiple subscription amendments in one call, but it's returning for this single call.

 

Any ideas? Work-arounds?

Tags (3)
1 REPLY 1
Highlighted
Senior Tutor

Re: action POST amend "Multi AmendRequest is not supported" error with single amendment

Until there's a fix for this (or better yet it gets rolled into the invoice REST endpoint) I've gone around the issue by using action update. It works fine that way.