Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@google-shopping/issueresolution

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-shopping/issueresolution

Merchant API client for Node.js

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
424
472.97%
Maintainers
1
Weekly downloads
 
Created
Source

Google Cloud Platform logo

Merchant API: Node.js Client

release level npm version

Merchant API client for Node.js

A comprehensive list of changes in each version may be found in the CHANGELOG.

Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.

Table of contents:

Quickstart

Before you begin

Installing the client library

npm install @google-shopping/issueresolution

Using the client library

/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. The name of the product to fetch issues for.
 *  Format: `accounts/{account}/products/{product}`
 */
// const name = 'abc123'
/**
 *  Optional. The IETF BCP-47 (https://tools.ietf.org/html/bcp47) language
 *  code used to localize an issue resolution content. If not set, the result
 *  will be in default language `en-US`.
 */
// const languageCode = 'abc123'
/**
 *  Optional. The IANA (https://www.iana.org/time-zones) timezone used to
 *  localize times in an issue resolution content. For example
 *  'America/Los_Angeles'. If not set, results will use as a default UTC.
 */
// const timeZone = 'abc123'
/**
 *  Optional. The payload for configuring how the content should be rendered.
 */
// const payload = {}

// Imports the Issueresolution library
const {IssueResolutionServiceClient} =
  require('@google-shopping/issueresolution').v1beta;

// Instantiates a client
const issueresolutionClient = new IssueResolutionServiceClient();

async function callRenderProductIssues() {
  // Construct request
  const request = {
    name,
  };

  // Run request
  const response = await issueresolutionClient.renderProductIssues(request);
  console.log(response);
}

callRenderProductIssues();

Samples

Samples are in the samples/ directory. Each sample's README.md has instructions for running its sample.

SampleSource CodeTry it
Aggregate_product_statuses_service.list_aggregate_product_statusessource codeOpen in Cloud Shell
Issue_resolution_service.render_account_issuessource codeOpen in Cloud Shell
Issue_resolution_service.render_product_issuessource codeOpen in Cloud Shell
Issue_resolution_service.trigger_actionsource codeOpen in Cloud Shell
Aggregate_product_statuses_service.list_aggregate_product_statusessource codeOpen in Cloud Shell
Issue_resolution_service.render_account_issuessource codeOpen in Cloud Shell
Issue_resolution_service.render_product_issuessource codeOpen in Cloud Shell
Issue_resolution_service.trigger_actionsource codeOpen in Cloud Shell
Quickstartsource codeOpen in Cloud Shell

The Merchant API Node.js Client API Reference documentation also contains samples.

Supported Node.js Versions

Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js. If you are using an end-of-life version of Node.js, we recommend that you update as soon as possible to an actively supported LTS version.

Google's client libraries support legacy versions of Node.js runtimes on a best-efforts basis with the following warnings:

  • Legacy versions are not tested in continuous integration.
  • Some security patches and features cannot be backported.
  • Dependencies cannot be kept up-to-date.

Client libraries targeting some end-of-life versions of Node.js are available, and can be installed through npm dist-tags. The dist-tags follow the naming convention legacy-(version). For example, npm install @google-shopping/issueresolution@legacy-8 installs client libraries for versions compatible with Node.js 8.

Versioning

This library follows Semantic Versioning.

This library is considered to be stable. The code surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against stable libraries are addressed with the highest priority.

More Information: Google Cloud Platform Launch Stages

Contributing

Contributions welcome! See the Contributing Guide.

Please note that this README.md, the samples/README.md, and a variety of configuration files in this repository (including .nycrc and tsconfig.json) are generated from a central template. To edit one of these files, make an edit to its templates in directory.

License

Apache Version 2.0

See LICENSE

Keywords

google apis client

FAQs

Package last updated on 22 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts