How to edit Shopify sitemap and robots.txt using Shopify API?

Hello there,

Is it possible to edit Shopify sitemap and robots.txt using Shopify API?

Any help would be appreciated

No, it’s not possible to directly edit the sitemap and robots.txt files using the Shopify API. However, you can use the API to retrieve and manipulate the information that is used to generate these files, and then use that information to manually update the files as needed.