Stock level stuck on rest api update
-
I’m trying to update stock levels on product variation using rest api. I use put on the …product/id/variations/Id endpoint, where Get works fine. My body is something like this: {managestock: true, stocklevel: 50}
The response is 200 with the variant and the new stock level. However when get request again, stock level is same as before.
data on main product is manage stock true, stock level 100 (also tried with 0).
what am I doing wrong?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Stock level stuck on rest api update’ is closed to new replies.