question

mybmr avatar image
mybmr asked

Invalid item price type String while Update existing inventory items using REST API

When attempting to update existing inventory items using REST API "https://sandbox.dev.clover.com/v3/merchants/{mId}/bulk_items", an error occurs related to item price type. It was working perfectly previusly. But from past few days it was showing error
"Invalid item price type String, it must be an integer." due to change in CLOVER REST API.

We didn't get notified regarding this "type" change in REST API via neither via email or any "API change logs" updates in Clover Docs. As this change was major and affecting our existing functionality.

We would like to know how can we get notified for such issues in future and also we want to know if clover has mentioned this change any where in documentation then please share details for the same?

Note: We were sending the item price value as a whole number instead of in decimal format, even though the data type expected for the item price was double.

REST APIclover developer communityInventory
10 |2000

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

0 Answers

·

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