ProductStatusChangeMessage

ProductStatusChangeMessage

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

Fields
changes[]

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/{merchant_id}

managing_account

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}

resource_type

Resource

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

attribute

Attribute

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

resource_id

string

The product id.

resource

string

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

expiration_time

Timestamp

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

event_time

Timestamp

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.