x

Missing catalog_v1_ids in Python SDK Call

I ran into something odd this morning that the Square Python SDK team should be aware of.

 

If you call list_catalog like this then you do get catalog_v1_ids returned properly with CatalogObjects where they should exist.

 

api = squareconnect.apis.catalog_api.CatalogApi()
resp = api.list_catalog(cursor=cursor)

However, if you specify "types" when calling list_catalog then catalog_v1_ids are often missing.

 

resp = api.list_catalog(types='ITEM,ITEM_VARIATION', cursor=cursor)

Shouldn't the CatalogItemVariation children of an Item be the same in both ?

565 Views
Message 1 of 2
Report
1 REPLY 1
Square Community Moderator

Hi @donz

 

Sorry for the delayed response. 

 

I was able to bring this up to our API team, and they weren't able to replicate it. Can you provide an example output (with and without the catalog_v1_ids) when this occurs so we can see what you're seeing?

 

 

547 Views
Message 2 of 2
Report