Catalog and commerce
List linked product catalogs
- Base URL
https://api.polymorfa.com- Required permission
sessions:read
Reads Meta's product_catalogs edge for a WhatsApp Business Account that has an Official API Number in the authenticated project. Meta determines catalog visibility and returns permission errors when the connected credentials lack access.
Path parameters
versionstringrequiredSpecifies version for this path parameter.
wabaIdstringrequiredIdentifier for the waba.
Query parameters
limitintegerrange1–100Specifies limit for this query parameter.
afterstringlength1–4096Specifies after for this query parameter.
Responses
200Linked product catalogs, with Meta pagination when present
dataarray of objectrequiredStructured data carried by this object.
Show 2 child fields
pagingobjectStructured paging values for this graph graph product catalogs response.
Show 1 child field
Show 3 headers
400Bad request
401Unauthenticated
403Permission error
404Object does not exist
429Rate limited
500Internal error
Graph API v26.0. The version is part of the URL; Graph requests take no Polymorfa-Version header.
curl "https://api.polymorfa.com/graph/whatsapp/v26.0/<wabaId>/product_catalogs" \
-H "Authorization: Bearer YOUR_API_KEY"{
"data": [
{
"id": "string"
}
]
}List linked catalog products
- Base URL
https://api.polymorfa.com- Required permission
sessions:read
Reads a small product projection from a catalog linked to an Official API Number's WABA in the authenticated project. Meta controls product visibility and permissions. This is a Polymorfa WABA-scoped path; Meta's product edge is /{catalogId}/products.
Path parameters
versionstringrequiredSpecifies version for this path parameter.
wabaIdstringrequiredIdentifier for the waba.
catalogIdstringrequiredpattern^[0-9]+$Identifier of the WhatsApp catalog.
Query parameters
limitintegerrange1–100Specifies limit for this query parameter.
afterstringlength1–4096Specifies after for this query parameter.
Responses
200Linked catalog products and Meta cursors
dataarray of objectrequiredmax items1000Structured data carried by this object.
Show 4 child fields
pagingobjectStructured paging values for this graph graph catalog products response.
Show 1 child field
Show 3 headers
400Bad request
401Unauthenticated
403Permission error
404Object does not exist
429Rate limited
500Internal error
Graph API v26.0. The version is part of the URL; Graph requests take no Polymorfa-Version header.
curl "https://api.polymorfa.com/graph/whatsapp/v26.0/<wabaId>/product_catalogs/<catalogId>/products" \
-H "Authorization: Bearer YOUR_API_KEY"{
"data": [
{
"id": "string"
}
]
}Get commerce settings
- Base URL
https://api.polymorfa.com- Required permission
sessions:read
Path parameters
versionstringrequiredSpecifies version for this path parameter.
phoneNumberIdstringrequiredIdentifier for the phone number.
Responses
200Commerce settings
Show 3 headers
400Bad request
401Unauthenticated
403Permission error
404Object does not exist
429Rate limited
500Internal error
Graph API v26.0. The version is part of the URL; Graph requests take no Polymorfa-Version header.
curl "https://api.polymorfa.com/graph/whatsapp/v26.0/<phoneNumberId>/whatsapp_commerce_settings" \
-H "Authorization: Bearer YOUR_API_KEY"nullUpdate commerce settings
- Base URL
https://api.polymorfa.com- Required permission
messages:write
Path parameters
versionstringrequiredSpecifies version for this path parameter.
phoneNumberIdstringrequiredIdentifier for the phone number.
Body
Responses
200Updated commerce settings
Show 3 headers
400Bad request
401Unauthenticated
403Permission error
404Object does not exist
429Rate limited
500Internal error
Graph API v26.0. The version is part of the URL; Graph requests take no Polymorfa-Version header.
curl -X POST "https://api.polymorfa.com/graph/whatsapp/v26.0/<phoneNumberId>/whatsapp_commerce_settings" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d 'null'null