Call it
curl https://api.peume.com/v1/call/create-a-meta-product-catalog \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"accountId": "your accountId",
"name": "your name",
"vertical": "commerce"
}
}'const res = await fetch("https://api.peume.com/v1/call/create-a-meta-product-catalog", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"accountId": "your accountId",
"name": "your name",
"vertical": "commerce"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/create-a-meta-product-catalog",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"accountId": "your accountId",
"name": "your name",
"vertical": "commerce"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: create-a-meta-product-catalog.
Parameters
accountIdRequiredstringA facebook, instagram, metaads or whatsapp account ID
catalogAccountIdstringAccount whose Meta login token performs the call (see GET)
adAccountIdstringAd account whose owner business creates the catalog
businessIdstringBusiness portfolio that owns the catalog
nameRequiredstringverticalstringMeta catalog vertical. Use services for a professional services catalog (for example one linked to WhatsApp). local_service_business is a deprecated alias of local_service_businesses. The product endpoints under /v1/ads/catalogs/{catalogId}/products write commerce product items only.
commerce · adoptable_pets · apps_and_software · articles_and_publications · destinations · flights · generic · home_listings · hotels · local_service_businesses · media_titles · offer_items …
Example: commerce
