Skip to content

Batch support for PUT /inventory/stocktaking/productline #104

@chrisbbe

Description

@chrisbbe

Hi,

Today we need to update thousands of lines on a single stocktaking in a single operation.

Currently, the API forces us to issue a single PUT request for each line, like this:

HTTP PUT /inventory/stocktaking/productline/123 with payload

{
    "id": 123,
    "count": 7
}

We want a "batch" endpoint handling multiple lines in a single request, something like this:

HTTP PUT /inventory/stocktaking/productline with payload

[
  {
    "count": 7,
    "id": 123
  },
  {
    "count": 8,
    "id": 3231
  }
]

Can this be implemented before the next stocktaking season ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions