when I hit this api - https://sandbox.dev.clover.com/v3/merchants/**/bulk_items?access_token=** with itemstock as one parameter it doesnt update itemstock .Can you please say me why it dont update quantity in itemstock?
when I hit this api - https://sandbox.dev.clover.com/v3/merchants/**/bulk_items?access_token=** with itemstock as one parameter it doesnt update itemstock .Can you please say me why it dont update quantity in itemstock?
You need to use https://docs.clover.com/reference#inventoryupdateitemstock-1 to update item stock. It cannot be updated on a bulk_items request.
you may use v3/merchants/{mId}/item_stocks endpoint with :
{
elements: [
{
quantity: yyy
item:
{ id : xxx}
},
…
]
}
Update:
Please see Kelvin's comment below, you can use:
v3/merchants/{mId}/item_stocks
Thanks for the reply but we are referring below document for updating itemstock - https://docs.clover.com/reference#inventorybulkpatchinventoryitems-1 .
As per the documentation there is option for stock update.I am attaching screenshot for the same.
Still it is not updating itemstock for bulk items.
Yes, unfortunately that is a known issue with our API documentation. You cannot update item stock via that endpoint.
How can I use these APIs effectively and obtain accurate information from Clover's documentation?
Have you taken a look at the updated documentation:
https://docs.clover.com/docs/managing-items-item-groups#update-item-stock
3 People are following this question.