Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MerchantAPI

import { MerchantAPI } from "https://googleapis.deno.dev/v1/merchantapi:reviews_v1beta.ts";

Programmatically manage your Merchant Center Accounts.

class MerchantAPI {
constructor(client?: CredentialsClient, baseUrl?: string);
async accountsMerchantReviewsDelete(name: string): Promise<Empty>;
async accountsMerchantReviewsGet(name: string): Promise<MerchantReview>;
async accountsMerchantReviewsInsert(
parent: string,
): Promise<MerchantReview>;
async accountsMerchantReviewsList(parent: string, opts?: AccountsMerchantReviewsListOptions): Promise<ListMerchantReviewsResponse>;
async accountsProductReviewsDelete(name: string): Promise<Empty>;
async accountsProductReviewsGet(name: string): Promise<ProductReview>;
async accountsProductReviewsInsert(
parent: string,
): Promise<ProductReview>;
async accountsProductReviewsList(parent: string, opts?: AccountsProductReviewsListOptions): Promise<ListProductReviewsResponse>;
}

§Constructors

§
new MerchantAPI(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
accountsMerchantReviewsDelete(name: string): Promise<Empty>
[src]

Deletes merchant review.

@param name

Required. The ID of the merchant review. Format: accounts/{account}/merchantReviews/{merchantReview}

§
accountsMerchantReviewsGet(name: string): Promise<MerchantReview>
[src]

Gets a merchant review.

@param name

Required. The ID of the merchant review. Format: accounts/{account}/merchantReviews/{merchantReview}

§
accountsMerchantReviewsInsert(parent: string, req: MerchantReview, opts?: AccountsMerchantReviewsInsertOptions): Promise<MerchantReview>
[src]

Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.

@param parent

Required. The account where the merchant review will be inserted. Format: accounts/{account}

§
accountsMerchantReviewsList(parent: string, opts?: AccountsMerchantReviewsListOptions): Promise<ListMerchantReviewsResponse>
[src]

Lists merchant reviews.

@param parent

Required. The account to list merchant reviews for. Format: accounts/{account}

§
accountsProductReviewsDelete(name: string): Promise<Empty>
[src]

Deletes a product review.

@param name

Required. The ID of the Product review. Format: accounts/{account}/productReviews/{productReview}

§
accountsProductReviewsGet(name: string): Promise<ProductReview>
[src]

Gets a product review.

@param name

Required. The ID of the merchant review. Format: accounts/{account}/productReviews/{productReview}

§
accountsProductReviewsInsert(parent: string, req: ProductReview, opts?: AccountsProductReviewsInsertOptions): Promise<ProductReview>
[src]

Inserts a product review.

@param parent

Required. The account where the product review will be inserted. Format: accounts/{account}

§
accountsProductReviewsList(parent: string, opts?: AccountsProductReviewsListOptions): Promise<ListProductReviewsResponse>
[src]

Lists product reviews.

@param parent

Required. The account to list product reviews for. Format: accounts/{account}