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}