Skip to content

AddInventory() request throws System.Text.Json.JsonException #33

@bzatrok

Description

@bzatrok

Creating an AddInventory() request & calling SendAsync() will execute the request correctly and the desired inventory will be created. No validation errors are received.

However, the call will respond with a System.Text.Json.JsonException parse exception, due to trying to parse a non-int string into an Int32 property (inventory_id). Is it

Attached a sample response & error output. All priceGroups & warehouses passed in the call are correctly added prior to the AddInventory() call.

baselinker_addinventory_request.json

baselinker_addinventory_response.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions