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[];
eventTime?: Date;
expirationTime?: Date;
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
§
eventTime?: Date
[src]The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
§
expirationTime?: Date
[src]Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.