Change catalog items in a batch
pinterest_ads_batch_catalog_itemsCreate, update, upsert, or delete up to 1,000 Pinterest catalog items in one batch, with confirmation guards for bulk and delete actions, then return a batch ID for status tracking.
Instructions
Create, update, upsert or delete catalog items in one batch (up to 1000).
operation: CREATE, UPDATE (change some attributes), UPSERT (send every attribute) or DELETE. items: [{"item_id": "SKU1", "attributes": {"price": "24.99 GBP", "availability": "in stock"}}]; DELETE needs only item_id. If a feed manages the catalog, Pinterest recommends changing items through the feed. DELETE needs confirm='DELETE'; more than PINTEREST_ADS_BULK_THRESHOLD items need confirm='APPLY'. Returns a batch_id to check with pinterest_ads_get_catalog_items_batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| confirm | No | ||
| country | Yes | ||
| language | Yes | ||
| operation | Yes | ||
| catalog_id | No | ||
| catalog_type | No | RETAIL | |
| ad_account_id | No |