Merchant API v1beta will be discontinued and shut down on February 28, 2026. For steps to transition to the latest stable version, see Migrate from v1beta to v1.
Code samples
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
This page allows you to search and find specific code examples for the Google Merchant API.
You can filter these code samples by programming language (Java, PHP, Python), specific API functionalities, and individual methods.
All code samples are publicly accessible and available on GitHub.
Use this page to search for a specific code example. You can also filter samples
by language, sub-API, and method. For detailed information on Apps Script,
refer to this article.
Samples are available on GitHub in the following languages: