GET
/v1/catalog
Get the linked Meta catalog
curl -X GET "https://zaiped.com/v1/catalog" \ -H "Authorization: Bearer zp_..."
As rotas de Catálogo. Todo corpo é JSON, e o erro sempre volta como um objeto com código e mensagem.
Get the linked Meta catalog
curl -X GET "https://zaiped.com/v1/catalog" \ -H "Authorization: Bearer zp_..."
Link the WABA's catalog
Finds the catalog attached to the WABA in Commerce Manager and links it to the account.
Corpo da requisição
Resposta (object)
curl -X POST "https://zaiped.com/v1/catalog/connect" \
-H "Authorization: Bearer zp_..." \
-H "Content-Type: application/json" \
-d '{
"numberId": "…"
}'Show the catalog and enable the cart
Corpo da requisição
Resposta (object)
curl -X PUT "https://zaiped.com/v1/catalog/settings" \
-H "Authorization: Bearer zp_..." \
-H "Content-Type: application/json" \
-d '{
"numberId": "…",
"catalogVisible": true,
"cartEnabled": true
}'