FeedStatus

集合商家的平台所上传 Feed 的状态。

JSON 表示法
{
  "name": string,
  "state": enum (State),
  "errorDetails": string,
  "statistics": {
    object (FeedStatistics)
  }
}
字段
name

string

Feed 资源的名称,格式为

  • partners/{partner_id}/feeds/merchants/{fileName}
  • partners/{partner_id}/feeds/services/{fileName}
  • partners/{partner_id}/feeds/availability/{fileName}
state

enum (State)

此 Feed 的处理状态。

errorDetails

string

如果我们未能处理此 Feed,人类可读的字符串会提供更多详细信息。

statistics

object (FeedStatistics)

特定于此 Feed 的统计信息。

FeedStatistics

处理已上传的 Feed 时获取的统计信息。

JSON 表示法
{
  "newItems": string,
  "existingItems": string,
  "deletedItems": string
}
字段
newItems

string (int64 format)

此 Feed 新添加的项。这些项可以是商家、服务或可用性空档,具体取决于 Feed 类型。

existingItems

string (int64 format)

现有项,根据需要根据 Feed 中较新的信息进行更新。

deletedItems

string (int64 format)

此 Feed 中不再显示的商品,因此已被移除。