I was using the item_data.ecom_uri data point and just realized it’s deprecated. I was wondering if there is alternative or any other way to get the square.online store front URL from the Catalog API?
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Additional Documentation
Square Developer
Design a Catalog
Define Item Variations Using Options
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
While the documentation is now showing the depreciation this field ecom_uri
was never documented nor supported. It was returned in the API response however we never recommended to build to it.
You’ll need to use the API to either SearchCatalog
or ListCatalog
with the type IMAGE
to get image URLs for catalog objects.