圖形 API 版本

Product Catalog Batch

閱讀中

你無法在此端點執行此操作。

建立中

You can make a POST request to batch edge from the following paths:
發佈到此關係連線時,會建立 a ProductItem

參數

參數說明
allow_upsert
boolean
預設值:true

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

requests
list<JSON object>

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

  `retailer_id` - retailer's ID for a
  product.


  `method` - an operation of a batch request, either `CREATE`, `UPDATE`
  or `DELETE`.


  `data` - JSON object containing fields and values for a product. See [Catalog Batch API](https://developers.facebook.com/docs/marketing-api/catalog-batch) to learn more the list of fields and values for the data object. 

必填

傳回類型

此端點支援寫入後讀取功能,並將讀取你傳送 POST 的節點。
Struct {
handles: List [
string
],
validation_status: List [
Struct {
errors: List [
Struct {
message: string,
}
],
retailer_id: string,
warnings: List [
Struct {
message: string,
}
],
}
],
}

Error Codes

錯誤說明
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
190Invalid OAuth 2.0 Access Token
200Permissions error

更新中

你無法在此端點執行此操作。

刪除中

你無法在此端點執行此操作。