Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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 ?
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
1 REPLY 1
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?
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report