question

richa avatar image
richa asked David Marginian Deactivated commented

Fetch Itemstock in Production

Hi,

I am fetching item stock using - https://sandbox.dev.clover.com/v3/merchants/%s/items/%s?expand=itemStock&access_token=%s in sandbox environment.But now when I am trying to fetch item stock using - https://clover.com/v3/merchants/%s/items/%s?expand=itemStock&access_token=%s in production it is not providing me data.Can you say me correct way to fetch in production?

Inventory
10 |2000

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

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

There is no difference in the API between sandbox and production. Perhaps your production merchant doesn't have stock tracking enabled.

4 comments
10 |2000

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

richa avatar image richa commented ·

Can you help me how to enable it? Also if any user has not enabled it we cant access stock?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ richa commented ·

Login to your merchant dashboard, select Inventory, select setup, Check "track stock". If a merchant isn't tracking stock then item stock will be unavailable.

0 Likes 0 ·
richa avatar image richa David Marginian ♦♦ commented ·

I have enabled this still I am getting error

0 Likes 0 ·
Show more comments

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