xero-php-oauth2
xero-php-oauth2 copied to clipboard
deleteCreditNoteAllocations has incorrect return type Allocation instead of Allocations
SDK you're using (please complete the following information):
- Version 2.23.2
Describe the bug
deleteCreditNoteAllocations returns an (empty) Allocation object, but the DELETE /CreditNotes/{CreditNoteID}/Allocations/{AllocationID} endpoint actually returns an Allocation**s** collection.
To Reproduce
Steps to reproduce the behavior:
Call deleteCreditNoteAllocations. Observe that the return value is a null-filled Allocation object.
Expected behavior
The return value of deleteCreditNoteAllocations is an Allocations collection.
PETOSS-383
Thanks for raising an issue, a ticket has been created to track your request