x

"category_id" missing for some items but available for few

I am using java API and make a call as following

ListCatalogResponse listItemsResponse = api.listCatalog(null, "ITEM");

 

This return results but some of the items I get have catalog_id under item_data and for some its missing. No clue how to get around this?

 

I have checked on the server and all items have category assigned

792 Views
Message 1 of 4
Report
3 REPLIES 3
Square Community Moderator

Hi @vitis! Welcome to the Community.

 

I reached out to our API team since we don't have the insight on API details from the Community side and they asked if there's a particular catalog_id that we could take a look at on our side?

 

 

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
727 Views
Message 2 of 4
Report

Figured it out .  Need to call the api until cursor is null .

 

thanks

722 Views
Message 3 of 4
Report
Square Community Moderator

@vitis Oh great! Glad to hear you figured it out. Any time!

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
719 Views
Message 4 of 4
Report