question

brokenoval avatar image
brokenoval asked ·

How to decrement stock for orders created by the API?

There's a couple of stale questions related to this, so I'm just hoping for an up to date overview of this.


We are creaing orders via the API POST `/v3/merchants/${merchantId}/orders` then attaching a payment using our tender using POST `/v3/merchants/${merchantId}/orders/${cloverOrderId}/payments`


The issue is that the stock in Clover is not auto-decrementing despite this setting being on in the Clvoer Inventroy settings.


This has been asked before here in 2016.
1. Is it still impossible to auto-decrement the stock using the /payments API?


Assuming it's not possible, the recommended solution in 2016 was to manually adjust the stock for each item. This is a bit slow as it needs to potentially make a lot of separate requests to `/v3/merchants/merchantID/item_stocks/itemID `.

2. Is it possible to bulk update item stock in a single API? This had a previous answer here


A third option recommended is to use the Developer Pay API (depreciated) or the Ecomm API.

3. Is the Ecomm API functional in all Clover regions (including the EU?)


4. Are there any other ways to turn on the stock tracking or do we have to do each item manually?


Thanks!

OrdersPaymentsInventory
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.

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered ·

For 3 the answer is no. EU support is planned but not available yet.

I checked with the POS team on 1 and 2 and, unfortunately they are both still not possible.


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.

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