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

ProductStatusChangeMessage

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

The message that the merchant will receive to notify about product status change event

interface ProductStatusChangeMessage {
account?: string;
attribute?: "ATTRIBUTE_UNSPECIFIED" | "STATUS";
changes?: ProductChange[];
managingAccount?: string;
resource?: string;
resourceId?: string;
resourceType?: "RESOURCE_UNSPECIFIED" | "PRODUCT";
}

§Properties

§
account?: string
[src]

The target account that owns the entity that changed. Format : accounts/{merchant_id}

§
attribute?: "ATTRIBUTE_UNSPECIFIED" | "STATUS"
[src]

The attribute in the resource that changed, in this case it will be always Status.

§
changes?: ProductChange[]
[src]

A message to describe the change that happened to the product

§
managingAccount?: string
[src]

The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : accounts/{service_provider_id}

§
resource?: string
[src]

The product name. Format: {product.name=accounts/{account}/products/{product}}

§
resourceId?: string
[src]

The product id.

§
resourceType?: "RESOURCE_UNSPECIFIED" | "PRODUCT"
[src]

The resource that changed, in this case it will always be Product.