question

Elliott Smith avatar image
Elliott Smith asked

Will there be a way to get catalog items by ItemId?

I was wondering if there will be an api method to retrieve items from a catalog by ItemId instead of having to retrieve the whole catalog and loop through it. I noticed there was discussion around this a few years ago and was hoping it might have been added by now. Is this something that will be added soon?

10 |1200

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

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Currently there is no such API method to get a specific item by its id. In my opinion, that would potentially cause high API rates when fetching items multiple times in a short period, compared to retrieving the whole catalog in a single API call and cache it locally for later use, which could be more efficient.

10 |1200

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.