question

muniza avatar image
muniza asked ·

Inventory Item's Stock Quantity Stock is not updating in bulk

I am trying to update inventory items' stock quantity in bulk using PUT API request.
Response does not have error but but stock is not updating in any case

Below is the sample request

https://apisandbox.dev.clover.com/v3/merchants/RRxxxxxxxxxx/bulk_items?access_token=xxxxxxxxxxxxxxxxxxxx

{
   "items":[
      {
         "id":"JQPXHGX38R584",
         "itemStock":{
            "item":{
               "id":"JQPXHGX38R584"
            },
            "quantity":120
         },
         "name":"Cheesecakess",
         "price":495
      }
   ]
}


Inventory
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kvakati avatar image
kvakati answered ·

are the APIs updated to allow updates to quantity

1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

No, they are not.

0 Likes 0 ·
David Marginian avatar image
David Marginian answered ·

It doesn't look like stock updates can be performed in bulk. We either have an issue with documentation or functionality. I will create a ticket to have this investigated. Stock will have to be updated individually via https://docs.clover.com/clover-platform/reference/inventory-1#inventoryupdateitemstock-1.

2 comments
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Is this still the case @david - is there any way to bulk update stock?

0 Likes 0 ·

I don't see any movement on the issue I created so I assume that it is still the case.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community