Hello there,
I recently found out that even when I delete CatalogItem
and CatalogItemVariation
instances in my Sandbox account, that those instances are actually “soft” - deleted; they still exist on the server, but they have the is_deleted
flag set to true
. Listing the Catalog
still shows those items there.
This is surprising to me because especially in Sandbox environments, people (me) run testing pipelines all the time, which can create, edit, delete thousands of products at a given time. If Square never actually deletes those instances, I can totally imagine your repositories becoming intractably huge.
So I was wondering how Square manages its space requirements and whether there are any background processes that just flush phantom CatalogObject
s after a while. Perhaps the rules are different in production environments?