Skip to content

deleteCreditNoteAllocations has incorrect return type Allocation instead of Allocations #341

@MasonD

Description

@MasonD

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions