Tripletex / Tripletex/tripletex-api2
Batch support for PUT /inventory/stocktaking/productline
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 49
- Forks
- 47
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
Description
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 ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing PUT /inventory/stocktaking/productline/{id} endpoint and its request handling. Define the batch endpoint's validation and response behavior, then verify that one request can update multiple product lines as shown in the issue.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100