图谱 API 版

Product Catalog Items Batch

读取

你无法在此端点执行该操作。

创建

你可以通过下列路径向 items_batch 连线发出 POST 请求:
发布到这个连线会创建 a ProductCatalog

参数

参数描述
allow_upsert
boolean
默认值:true

Parameters specifying whether non existing items that are being updated should be inserted or should throw the error

item_sub_type
enum {APPLIANCES, BABY_FEEDING, BABY_TRANSPORT, BEAUTY, BEDDING, CAMERAS, CELL_PHONES_AND_SMART_WATCHES, CLEANING_SUPPLIES, CLOTHING, CLOTHING_ACCESSORIES, COMPUTERS_AND_TABLETS, DIAPERING_AND_POTTY_TRAINING, ELECTRONICS_ACCESSORIES, FURNITURE, HEALTH, HOME_GOODS, JEWELRY, NURSERY, PRINTERS_AND_SCANNERS, PROJECTORS, SHOES_AND_FOOTWEAR, SOFTWARE, TOYS, TVS_AND_MONITORS, VIDEO_GAME_CONSOLES_AND_VIDEO_GAMES, WATCHES}
默认值:"EMPTY"

The sub vertical type of items in the request

item_type
string

The type of items in the request

必填
requests
JSON object

Array of JSON objects containing batch requests. Each batch request consists of method and data fields

必填

返回类型

这个端点支持先写后读,并会读取接收你的 POST 请求的节点。
Struct {
handles: List [
string
],
validation_status: List [
Struct {
errors: List [
Struct {
message: string,
}
],
retailer_id: string,
warnings: List [
Struct {
message: string,
}
],
}
],
}

错误代码

错误描述
80014There have been too many calls for the batch uploads to this catalog account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting#catalog.
100Invalid parameter
200Permissions error
190Invalid OAuth 2.0 Access Token
368The action attempted has been deemed abusive or is otherwise disallowed

更新

你无法在此端点执行该操作。

删除

你无法在此端点执行该操作。