ProductStatusChangeMessage

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

JSON representation
{
  "changes": [
    {
      object (ProductChange)
    }
  ],
  "account": string,
  "managingAccount": string,
  "resourceType": enum (Resource),
  "attribute": enum (Attribute),
  "resourceId": string,
  "resource": string,
  "expirationTime": string,
  "eventTime": string
}
Fields
changes[]

object (ProductChange)

A message to describe the change that happened to the product

account

string

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

managingAccount

string

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}

resourceType

enum (Resource)

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

attribute

enum (Attribute)

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

resourceId

string

The product id.

resource

string

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

expirationTime

string (Timestamp format)

Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.

eventTime

string (Timestamp format)

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.