When uploading a new CatalogImage (API doc), is there any point at pre-specifying the url attribute? In this Java API example, the user seems to be creating a CatalogImage in the following way:
CatalogImage requestImageImageData = new CatalogImage.Builder()
.name("name0")
.url("url4")
.caption("A picture of a cup of coffee")
.build();
but based on the fact that the aforementioned API documentation says that the url
is generated after we upload the image using the CreateCatalogImage
endpoint, I’m not sure what the benefit of supplying this information ahead of time is good for. It reminds me of the #
-prefixed IDs that one has to use for newly uploaded CatalogObject
instances; those are no longer accessible after we supply them, and they are replaced by IDs Square gives us, which are guaranteed unique across the entire catalog.