catalog_managementGET request:GET /v25.0/{product-catalog-id}/media_titles HTTP/1.1
Host: graph.facebook.com
| Parameter | Type | Description |
|---|---|---|
filter | string | Optional. JSON-encoded WCA filter rule for filtering media titles. For example: {"media_category":{"eq":"Movie"}}. See Product Set for the full list of filter operators. |
summary | boolean | Optional. When true, includes a summary object with total_count in the response. |
limit | integer | Optional. Maximum number of items to return per page. |
before | string | Optional. Cursor for backward pagination. |
after | string | Optional. Cursor for forward pagination. |
{
"data": [],
"paging": {},
"summary": {}
}
datapagingsummarysummary=true as a query parameter to include this in the response.| Field | Type | Description |
|---|---|---|
total_count | integer | Total number of items in the catalog. |
POST request:POST /v25.0/{product-catalog-id}/media_titles HTTP/1.1
Host: graph.facebook.com
Content-Type: application/json
{
"retailer_id": "media-001",
"name": "The Great Adventure",
"description": "An epic journey across the world",
"image_url": "https://example.com/poster.jpg",
"url": "https://example.com/the-great-adventure",
"media_category": "Movie",
"genre": ["Action", "Adventure"],
"content_rating": "PG-13"
}
retailer_id, name, description, image_url, url. All other fields are optional.{
"id": "1234567890"
}