O template é aprovado uma vez, sem produto nenhum: o cabeçalho vai com format: PRODUCT, que é um espaço reservado. O produto — foto, nome e preço — vem do catálogo no envio, identificado por catalog_id e product_retailer_id.É o modelo para responder sobre um item específico: o mesmo template aprovado serve para qualquer produto da conta.
Rótulo fixo: Ver em template pt_BR, View nos outros
O rótulo do SPM é o caso que mais confunde: no mesmo template pt_BR, a Meta exige Ver para o SPM e View items, em inglês, para o MPM. Não há regra de idioma; os dois foram medidos em recusa.
São dois JSON: um cria o template, e a Meta aprova uma vez. O outro envia a mensagem, e vai a cada disparo, com os valores daquele envio nas variáveis marcadas com chaves.
Rótulo diferente do exigido no botão, com o código 2388153.
Corpo acima de 160 caracteres.
Cabeçalho de texto ou de mídia no lugar do PRODUCT.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Omni Z-API","colors":{"primary":"#477722","light":"#98de62","dark":"#3c4733"},"logo":{"light":"https://mintcdn.com/omni-z-api/pNLq09OUwDtXKuEM/logo/z-api-omni-light.svg?fit=max\u0026auto=format\u0026n=pNLq09OUwDtXKuEM\u0026q=85\u0026s=7aad26bd2103cc87f2c19ffc1848e641","dark":"https://mintcdn.com/omni-z-api/pNLq09OUwDtXKuEM/logo/z-api-omni-dark.svg?fit=max\u0026auto=format\u0026n=pNLq09OUwDtXKuEM\u0026q=85\u0026s=c44572e4f0dac29c3f570f7b4664b6f3"},"favicon":"https://mintcdn.com/omni-z-api/pNLq09OUwDtXKuEM/favicon.svg?fit=max\u0026auto=format\u0026n=pNLq09OUwDtXKuEM\u0026q=85\u0026s=d67282b7aba78da114b31d6e23b0d042","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=Ol%C3%A1!%20Gostaria%20de%20falar%20com%20o%20suporte%20do%20Omni%20Z-API.","label":"Suporte"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.omni.z-api.io"}},"footer":{"socials":{"website":"https://omni.z-api.io"}},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Space Grotesk"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[]},"languages":[{"language":"pt-BR","href":""},{"language":"en","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=Hi!%20I%27d%20like%20to%20talk%20to%20Omni%20Z-API%20support.","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.omni.z-api.io"}},"href":"en"},{"language":"es","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=%C2%A1Hola!%20Me%20gustar%C3%ADa%20hablar%20con%20el%20soporte%20de%20Omni%20Z-API.","label":"Soporte"}],"primary":{"type":"button","label":"Panel","href":"https://app.omni.z-api.io"}},"href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"omni-z-api","hasAudioNarration":false,"actualSubdomain":"omni-z-api","customDomains":["developer.omni.z-api.io"],"gitSource":{"type":"github","owner":"irrahgroup","repo":"omni-zapi-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae9c17cb0a155cbec303458","collectionId":"02980df0-fe7b-4d11-8cf5-00064d08c7ec","liveDeploymentHistoryId":"6ae9c17cb0a155cbec303458","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"}},"buildId":"6ae9d742fb19e826efc442e1","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"pt-BR","tag":"Referência da API","count":90},{"language":"en","tag":"API Reference","count":90},{"language":"es","tag":"Referencia de la API","count":90},{"language":"pt-BR","tag":"Mensagens","count":38},{"language":"en","tag":"Messages","count":38},{"language":"es","tag":"Mensajes","count":38},{"language":"pt-BR","tag":"Guias","count":31},{"language":"en","tag":"Guides","count":31},{"language":"es","tag":"Guías","count":31},{"language":"pt-BR","tag":"Templates (WhatsApp)","count":26},{"language":"en","tag":"Templates (WhatsApp)","count":26},{"language":"es","tag":"Plantillas (WhatsApp)","count":26},{"language":"pt-BR","tag":"Webhooks","count":25},{"language":"en","tag":"Webhooks","count":25},{"language":"es","tag":"Webhooks","count":25},{"language":"pt-BR","tag":"Compatibilidade Z-API","count":21},{"language":"en","tag":"Z-API Compatibility","count":21},{"language":"es","tag":"Compatibilidad con Z-API","count":21},{"language":"pt-BR","tag":"Canais","count":19},{"language":"en","tag":"Channels","count":19},{"language":"es","tag":"Canales","count":19},{"language":"pt-BR","tag":"Criar template","count":15},{"language":"en","tag":"Create a template","count":15},{"language":"es","tag":"Crear plantilla","count":15},{"language":"pt-BR","tag":"Flows (WhatsApp)","count":10},{"language":"en","tag":"Flows (WhatsApp)","count":10},{"language":"es","tag":"Flows (WhatsApp)","count":10},{"language":"pt-BR","tag":"Templates","count":9},{"language":"en","tag":"Templates","count":9},{"language":"es","tag":"Plantillas","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--background-light:239 240 237;--background-dark:31 32 30}"}],"page":{"pagePath":"templates/models/spm","slug":"/templates/models/spm","pageMetadata":{"title":"Produto único","description":"Um produto do catálogo, com foto, nome e preço vindos do envio","href":"/templates/models/spm"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Um produto do catálogo, com foto, nome e preço vindos do envio\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const TemplatePreview=({header,headerKind=`text`,headerIcon,productLine,body,footer,buttons=[],cards=[],offer,coupon,order,callPermission,caption,height,lang=`pt`})=>{const L={pt:{contact:`Cliente teste`,label:`pré-visualização`,orderNote:`exemplo: os valores e os itens vêm no envio`,item:`Produto`,qty:`Qtd. 1`,subtotal:`Subtotal`,tax:`Taxas`,total:`Total`,callAsk:`A empresa pode te ligar?`,callAllow:`Permitir chamadas`,callAllowTemp:`Permitir por 7 dias`,money:`R$ 00,00`,price:`R$ preço`,name:`nome do produto`},en:{contact:`Test customer`,label:`preview`,orderNote:`sample: amounts and items come at send time`,item:`Product`,qty:`Qty. 1`,subtotal:`Subtotal`,tax:`Taxes`,total:`Total`,callAsk:`Can the business call you?`,callAllow:`Allow calls`,callAllowTemp:`Temporarily allow calls`,money:`$ 00.00`,price:`$ price`,name:`product name`},es:{contact:`Cliente de prueba`,label:`previsualización`,orderNote:`ejemplo: los valores y los ítems vienen en el envío`,item:`Producto`,qty:`Cant. 1`,subtotal:`Subtotal`,tax:`Impuestos`,total:`Total`,callAsk:`¿La empresa puede llamarte?`,callAllow:`Permitir llamadas`,callAllowTemp:`Permitir por 7 días`,money:`$ 00,00`,price:`$ precio`,name:`nombre del producto`}}[lang];const S={wrap:{display:`flex`,flexDirection:`column`,alignItems:`flex-start`,gap:8,margin:`16px 0`,flexShrink:0,scrollSnapAlign:`start`},device:{width:320,maxWidth:`100%`,padding:10,borderRadius:30,background:`#1f201e`,boxSizing:`border-box`,display:`flex`,flexDirection:`column`,height,boxShadow:`0 18px 40px -28px rgb(31 32 30 / .55)`},speaker:{display:`block`,width:`22%`,height:3,margin:`1px auto 6px`,borderRadius:999,background:`rgb(255 255 255 / .35)`},screen:{borderRadius:22,overflow:`hidden`,background:`#e9e4dc`,display:`flex`,flexDirection:`column`,flex:1,minHeight:0},bar:{display:`flex`,alignItems:`center`,gap:9,padding:`11px 13px`,background:`#477722`},avatar:{width:28,height:28,borderRadius:999,flexShrink:0,background:`rgb(255 255 255 / .22)`},name:{display:`block`,fontSize:12.5,fontWeight:600,lineHeight:1,color:`#fff`},sub:{display:`block`,marginTop:4,fontSize:10.5,lineHeight:1,color:`rgb(255 255 255 / .72)`},chat:{padding:`14px 13px`,minHeight:230,flex:1,overflowY:`auto`},bubble:{background:`#fff`,borderRadius:10,borderTopLeftRadius:2,maxWidth:252,boxShadow:`0 1px 1px rgb(0 0 0 / .13)`,overflow:`hidden`,fontSize:13,lineHeight:1.45,color:`#1f201e`},pad:{padding:`8px 10px 6px`},media:{height:92,background:`#f1efe9`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:3,fontSize:10,color:`#8a9183`,letterSpacing:`.04em`,textTransform:`uppercase`,textAlign:`center`,padding:`0 10px`,lineHeight:1.35},mediaSub:{textTransform:`none`,letterSpacing:0,fontSize:9.5},head:{fontWeight:700,marginBottom:4},foot:{fontSize:11,color:`#8a9183`,marginTop:6},time:{display:`block`,textAlign:`right`,fontSize:10,color:`#9aa093`,marginTop:2},btn:{borderTop:`1px solid #e7e9e3`,padding:`8px 10px`,textAlign:`center`,color:`#027eb5`,fontSize:12.5,fontWeight:500},chip:{display:`inline-block`,background:`#e3eed9`,color:`#477722`,borderRadius:5,padding:`2px 7px`,fontSize:11,fontWeight:700,marginBottom:6},invoice:{margin:`8px 0 2px`,padding:8,borderRadius:8,background:`#f6f5f1`,display:`flex`,flexDirection:`column`,gap:6},invoiceNote:{fontSize:9,color:`#9aa093`,textTransform:`uppercase`,letterSpacing:`.04em`},line:{display:`flex`,alignItems:`center`,gap:7},thumb:{width:26,height:26,borderRadius:5,flexShrink:0,background:`#fff`,border:`1px solid #e7e9e3`},lineName:{flex:1,minWidth:0,fontSize:10.5,lineHeight:1.3},lineQty:{display:`block`,fontSize:9,color:`#9aa093`},lineValue:{fontSize:10.5,flexShrink:0},totals:{display:`flex`,flexDirection:`column`,gap:3,paddingTop:5,borderTop:`1px solid #e7e9e3`},totalRow:{display:`flex`,justifyContent:`space-between`,fontSize:10.5},callCard:{display:`flex`,alignItems:`center`,gap:7,padding:`8px 10px`,fontSize:11.5,color:`#1f201e`},callIcon:{width:20,height:20,borderRadius:999,flexShrink:0,background:`#eef0ea`},row:{display:`flex`,gap:7,marginTop:7,maxWidth:252},card:{background:`#fff`,borderRadius:10,flex:1,minWidth:0,overflow:`hidden`,fontSize:12,boxShadow:`0 1px 1px rgb(0 0 0 / .13)`},cap:{fontSize:11.5,color:`var(--zp-ink-tertiary, #8a9183)`,width:320,maxWidth:`100%`,minHeight:34}};const ICON={catalog:`🛍`,product:`🛍`,location:`📍`,image:`🖼`,video:`▶`};const withVars=text=>String(text||``).split(/(\\{\\{[^}]+\\}\\})/g).map((part,i)=>part.startsWith(`{{`)?_jsx(`span`,{style:{background:`#e3eed9`,color:`#477722`,borderRadius:3,padding:`0 3px`},children:part},i):_jsx(`span`,{children:part},i));const mediaBlock=(label,sub,height)=>_jsxs(`div`,{style:height?{...S.media,height}:S.media,children:[headerIcon\u0026\u0026_jsx(`span`,{style:{fontSize:15},children:ICON[headerIcon]||``}),_jsx(`span`,{children:label}),sub\u0026\u0026_jsx(`span`,{style:S.mediaSub,children:sub})]});return _jsxs(`div`,{style:S.wrap,children:[_jsxs(`div`,{style:S.device,children:[_jsx(`span`,{\"aria-hidden\":`true`,style:S.speaker}),_jsxs(`div`,{style:S.screen,children:[_jsxs(`div`,{style:S.bar,children:[_jsx(`span`,{style:S.avatar}),_jsxs(`span`,{style:{minWidth:0},children:[_jsx(`span`,{style:S.name,children:L.contact}),_jsx(`span`,{style:S.sub,children:L.label})]})]}),_jsxs(`div`,{style:S.chat,children:[_jsxs(`div`,{style:S.bubble,children:[headerKind!==`text`\u0026\u0026headerKind!==`none`\u0026\u0026mediaBlock(headerKind,productLine===true?`${L.name} · ${L.price}`:productLine),_jsxs(`div`,{style:S.pad,children:[offer\u0026\u0026_jsx(`div`,{style:S.chip,children:offer}),header\u0026\u0026_jsx(`div`,{style:S.head,children:withVars(header)}),body\u0026\u0026_jsx(`div`,{style:{whiteSpace:`pre-wrap`},children:withVars(body)}),coupon\u0026\u0026_jsx(`div`,{style:{...S.chip,marginTop:8,marginBottom:0},children:coupon}),order\u0026\u0026_jsxs(`div`,{style:S.invoice,children:[_jsx(`span`,{style:S.invoiceNote,children:L.orderNote}),[1,2].map(i=>_jsxs(`span`,{style:S.line,children:[_jsx(`span`,{style:S.thumb}),_jsxs(`span`,{style:S.lineName,children:[L.item,` `,i,_jsx(`span`,{style:S.lineQty,children:L.qty})]}),_jsx(`span`,{style:S.lineValue,children:L.money})]},i)),_jsx(`span`,{style:S.totals,children:[[L.subtotal,false],[L.tax,false],[L.total,true]].map(([label,strong])=>_jsxs(`span`,{style:S.totalRow,children:[_jsx(`span`,{style:{fontWeight:strong?600:400,color:strong?`#1f201e`:`#6b7264`},children:label}),_jsx(`span`,{style:{fontWeight:strong?600:400},children:L.money})]},label))})]}),footer\u0026\u0026_jsx(`div`,{style:S.foot,children:footer}),_jsx(`span`,{style:S.time,children:`10:24`})]}),callPermission\u0026\u0026_jsxs(`div`,{style:{borderTop:`1px solid #e7e9e3`},children:[_jsxs(`div`,{style:S.callCard,children:[_jsx(`span`,{style:S.callIcon}),_jsx(`span`,{children:L.callAsk})]}),_jsx(`div`,{style:S.btn,children:L.callAllow}),_jsx(`div`,{style:S.btn,children:L.callAllowTemp})]}),buttons.map((b,i)=>_jsx(`div`,{style:S.btn,children:b},i))]}),cards.length>0\u0026\u0026_jsx(`div`,{style:S.row,children:cards.map((c,i)=>_jsxs(`div`,{style:S.card,children:[_jsxs(`div`,{style:{...S.media,height:64,gap:2},children:[_jsx(`span`,{children:c.media||`imagem`}),c.product\u0026\u0026_jsxs(`span`,{style:S.mediaSub,children:[L.name,` · `,L.price]})]}),c.text\u0026\u0026_jsx(`div`,{style:{padding:`6px 8px`},children:c.text}),(c.buttons||(c.button?[c.button]:[])).map((b,j)=>_jsx(`div`,{style:{...S.btn,padding:`6px 8px`,fontSize:11.5},children:b},j))]},i))})]})]})]}),caption\u0026\u0026_jsx(`div`,{style:S.cap,children:caption})]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:_jsx(_components.code,{children:`spm`})}),`\n`,_jsx(_components.p,{children:`Um produto do catálogo com foto, nome e preço, e o botão que o abre.`}),`\n`,_jsx(_MdxComponentBoundary,{name:`TemplatePreview`,children:_jsx(TemplatePreview,{headerKind:`imagem do produto, vem do catálogo`,headerIcon:`product`,productLine:true,body:`Este é o produto que você perguntou. Toque para ver os detalhes e comprar.`,footer:`Estoque limitado`,buttons:[`Ver`],caption:`Imagem, nome e preço vêm do catálogo no envio. O texto do botão é fixo da Meta.`})}),`\n`,_jsx(Heading,{level:`2`,id:`como-funciona`,children:`Como funciona`}),`\n`,_jsxs(_components.p,{children:[`O template é aprovado uma vez, sem produto nenhum: o cabeçalho vai com `,_jsx(_components.code,{children:`format: PRODUCT`}),`, que é um espaço reservado. O produto — foto, nome e preço — vem do catálogo `,_jsx(_components.strong,{children:`no envio`}),`, identificado por `,_jsx(_components.code,{children:`catalog_id`}),` e `,_jsx(_components.code,{children:`product_retailer_id`}),`.`]}),`\n`,_jsx(_components.p,{children:`É o modelo para responder sobre um item específico: o mesmo template aprovado serve para qualquer produto da conta.`}),`\n`,_jsx(Heading,{level:`2`,id:`na-criação-e-no-envio`,children:`Na criação e no envio`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Na criação`}),_jsx(_components.th,{children:`No envio`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`O texto da mensagem e do rodapé`}),_jsx(_components.td,{children:`O produto, com foto, nome e preço`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`O cabeçalho `,_jsx(_components.code,{children:`PRODUCT`}),`, vazio`]}),_jsx(_components.td,{})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`campos-deste-modelo`,children:`Campos deste modelo`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Para que serve`}),_jsx(_components.th,{children:`Regra`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`category`})}),_jsx(_components.td,{children:`Fixa`}),_jsxs(_components.td,{children:[`Sempre `,_jsx(_components.code,{children:`MARKETING`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`HEADER`})}),_jsx(_components.td,{children:`O espaço do produto`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`format: PRODUCT`}),`, sem mais nada`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BODY`})}),_jsx(_components.td,{children:`O texto ao lado do produto`}),_jsx(_components.td,{children:`Até 160 caracteres`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FOOTER`})}),_jsx(_components.td,{children:`Opcional`}),_jsx(_components.td,{children:`Até 60 caracteres`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Botão `,_jsx(_components.code,{children:`SPM`})]}),_jsx(_components.td,{children:`Abre o produto no catálogo`}),_jsxs(_components.td,{children:[`Rótulo fixo: `,_jsx(_components.code,{children:`Ver`}),` em template `,_jsx(_components.code,{children:`pt_BR`}),`, `,_jsx(_components.code,{children:`View`}),` nos outros`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`O rótulo do `,_jsx(_components.code,{children:`SPM`}),` é o caso que mais confunde: no `,_jsx(_components.strong,{children:`mesmo`}),` template `,_jsx(_components.code,{children:`pt_BR`}),`, a Meta exige `,_jsx(_components.code,{children:`Ver`}),` para o `,_jsx(_components.code,{children:`SPM`}),` e `,_jsx(_components.code,{children:`View items`}),`, em inglês, para o `,_jsx(_components.code,{children:`MPM`}),`. Não há regra de idioma; os dois foram medidos em recusa.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`json-completo`,children:`JSON completo`}),`\n`,_jsxs(_components.p,{children:[`São dois JSON: um `,_jsx(_components.strong,{children:`cria`}),` o template, e a Meta aprova uma vez. O outro `,_jsx(_components.strong,{children:`envia`}),` a mensagem, e vai a cada disparo, com os valores daquele envio nas variáveis marcadas com chaves.`]}),`\n`,_jsx(Heading,{level:`3`,id:`1-criar-o-template`,children:`1. Criar o template`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /whatsapp/businesses/{wabaId}/templates`}),` — ver em `,_jsx(_components.a,{href:`/templates/create-template`,children:`Referência da API`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`42`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`42`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"exemplo_spm\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MARKETING\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pt_BR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"allow_category_change\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parameter_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NAMED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"components\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"HEADER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PRODUCT\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BODY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Olá {{nome_do_cliente}}, o seu pedido {{numero_do_pedido}} foi confirmado e sai para entrega hoje.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"body_text_named_params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nome_do_cliente\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Marina\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"numero_do_pedido\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1042\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FOOTER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Responda SAIR para não receber mais\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BUTTONS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"buttons\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SPM\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ver\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`2-enviar-depois-de-aprovado`,children:`2. Enviar depois de aprovado`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /v1/channels/{channelId}/messages`}),` — ver em `,_jsx(_components.a,{href:`/messages/send-template`,children:`Enviar template`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`46`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`46`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"identifier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5511999999999\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEMPLATE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"attachments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"template\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"exemplo_spm\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"policy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"deterministic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pt_BR\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"components\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"body\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parameters\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{nome_do_cliente}}\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{numero_do_pedido}}\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"header\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parameters\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"catalog_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{catalog_id}}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product_retailer_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{product_retailer_id}}\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`o-que-a-meta-recusa-aqui`,children:`O que a Meta recusa aqui`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Rótulo diferente do exigido no botão, com o código `,_jsx(_components.code,{children:`2388153`}),`.`]}),`\n`,_jsx(_components.li,{children:`Corpo acima de 160 caracteres.`}),`\n`,_jsxs(_components.li,{children:[`Cabeçalho de texto ou de mídia no lugar do `,_jsx(_components.code,{children:`PRODUCT`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{TemplatePreview,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Produto único","description":"Um produto do catálogo, com foto, nome e preço vindos do envio","href":"/templates/models/spm"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[151,7549,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Como funciona","slug":"como-funciona","depth":2,"children":[]},{"title":"Na criação e no envio","slug":"na-criação-e-no-envio","depth":2,"children":[]},{"title":"Campos deste modelo","slug":"campos-deste-modelo","depth":2,"children":[]},{"title":"JSON completo","slug":"json-completo","depth":2,"children":[{"title":"1. Criar o template","slug":"1-criar-o-template","depth":3,"children":[]},{"title":"2. Enviar depois de aprovado","slug":"2-enviar-depois-de-aprovado","depth":3,"children":[]}]},{"title":"O que a Meta recusa aqui","slug":"o-que-a-meta-recusa-aqui","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/omni-z-api/81add35b00a03b20/gpt-maker.js"],"subdomain":"omni-z-api","siteName":"Omni Z-API","title":"Produto único - Omni Z-API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/templates/models/spm","matchLevel":0},"en":{"href":"/en/templates/models/spm","matchLevel":1},"es":{"href":"/es/templates/models/spm","matchLevel":1}}},"lastModified":"2026-09-18T13:11:26.340Z","originalFileLocation":"templates/models/spm.mdx","locale":"pt-BR"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Um produto do catálogo, com foto, nome e preço vindos do envio\">\u003cmeta data-mint-head name=\"application-name\" content=\"Omni Z-API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Produto único - Omni Z-API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Um produto do catálogo, com foto, nome e preço vindos do envio\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Omni Z-API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.omni.z-api.io/templates/models/spm\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://omni-z-api.mintlify.app/_mintlify/api/og/v2?division=Criar+template\u0026amp;title=Produto+%C3%BAnico\u0026amp;description=Um+produto+do+cat%C3%A1logo%2C+com+foto%2C+nome+e+pre%C3%A7o+vindos+do+envio\u0026amp;theme=94425b6c06be1ca83ec9b164\u0026amp;signature=2e902896addd325ed7b28d4369f390ecc7728dea562f6a7c89108772be97ca34\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Produto único - Omni Z-API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Um produto do catálogo, com foto, nome e preço vindos do envio\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omni-z-api.mintlify.app/_mintlify/api/og/v2?division=Criar+template\u0026amp;title=Produto+%C3%BAnico\u0026amp;description=Um+produto+do+cat%C3%A1logo%2C+com+foto%2C+nome+e+pre%C3%A7o+vindos+do+envio\u0026amp;theme=94425b6c06be1ca83ec9b164\u0026amp;signature=2e902896addd325ed7b28d4369f390ecc7728dea562f6a7c89108772be97ca34\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Omni Z-API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#477722\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.omni.z-api.io/templates/models/spm\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/templates/models/spm.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://developer.omni.z-api.io/templates/models/spm\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://developer.omni.z-api.io/en/templates/models/spm\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://developer.omni.z-api.io/es/templates/models/spm\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://developer.omni.z-api.io/templates/models/spm\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.omni.z-api.io/#organization\",\"name\":\"Omni Z-API\",\"url\":\"https://developer.omni.z-api.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/omni-z-api/pNLq09OUwDtXKuEM/logo/z-api-omni-light.svg?fit=max\u0026auto=format\u0026n=pNLq09OUwDtXKuEM\u0026q=85\u0026s=7aad26bd2103cc87f2c19ffc1848e641\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.omni.z-api.io#website\",\"name\":\"Omni Z-API\",\"url\":\"https://developer.omni.z-api.io\",\"publisher\":{\"@id\":\"https://developer.omni.z-api.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.omni.z-api.io/templates/models/spm#webpage\",\"url\":\"https://developer.omni.z-api.io/templates/models/spm\",\"name\":\"Produto único\",\"description\":\"Um produto do catálogo, com foto, nome e preço vindos do envio\",\"dateModified\":\"2026-09-18T13:11:26.340Z\",\"isPartOf\":{\"@id\":\"https://developer.omni.z-api.io#website\"},\"breadcrumb\":{\"@id\":\"https://developer.omni.z-api.io/templates/models/spm#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.omni.z-api.io/templates/models/spm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Templates (WhatsApp)\",\"item\":\"https://developer.omni.z-api.io/templates/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Criar template\",\"item\":\"https://developer.omni.z-api.io/templates/models/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Produto único\",\"item\":\"https://developer.omni.z-api.io/templates/models/spm\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.omni.z-api.io/templates/models/spm#article\",\"headline\":\"Produto único\",\"name\":\"Produto único\",\"description\":\"Um produto do catálogo, com foto, nome e preço vindos do envio\",\"url\":\"https://developer.omni.z-api.io/templates/models/spm\",\"mainEntityOfPage\":{\"@id\":\"https://developer.omni.z-api.io/templates/models/spm#webpage\"},\"dateModified\":\"2026-09-18T13:11:26.340Z\",\"publisher\":{\"@id\":\"https://developer.omni.z-api.io/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.omni.z-api.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Omni Z-API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Omni Z-API","nav":{"global":{"anchors":[]},"languages":[{"language":"pt-BR","tabs":[{"tab":"Guias","icon":"book-open","pages":[{"title":"Guias","href":""}]},{"tab":"Referência da API","icon":"code","groups":[{"group":"Canais","icon":"plug","pages":[{"title":"Criar canal","openapi":"pt/channels/openapi-create.json POST /v1/channels","href":"/channels/create-channel"},{"title":"Listar canais","openapi":"pt/channels/openapi-list.json GET /v1/channels","href":"/channels/list-channels"},{"title":"Consultar canal","openapi":"pt/channels/openapi-get.json GET /v1/channels/{channelId}","href":"/channels/get-channel"},{"title":"Conectar canal Meta WhatsApp","openapi":"pt/channels/openapi-connect.json POST /v1/channels/{channelId}/connect","href":"/channels/connect-channel"},{"title":"Origens do SDK","openapi":"pt/channels/openapi-sdk-info.json GET /instances/{channelId}/sdk-info","href":"/channels/sdk-info"},{"title":"Desconectar canal Meta WhatsApp","openapi":"pt/channels/openapi-disconnect.json PUT /v1/channels/{channelId}/disconnect","href":"/channels/disconnect"},{"title":"Assinar canal","openapi":"pt/channels/openapi-subscribe.json GET /v1/channels/{channelId}/subscribe","href":"/channels/subscribe-channel"},{"title":"Cancelar assinatura","openapi":"pt/channels/openapi-cancel.json DELETE /v1/channels/{channelId}/cancel","href":"/channels/cancel-subscription"},{"title":"Remover canal","openapi":"pt/channels/openapi-delete.json DELETE /v1/channels/{channelId}","href":"/channels/delete-channel"}]},{"group":"Mensagens","icon":"paper-plane","pages":[{"title":"Introdução","href":"/messages/introduction"},{"title":"Enviar texto","openapi":"pt/messages/openapi.json POST /v1/channels/{channelId}/messages","href":"/messages/send-text"},{"title":"Enviar imagem","openapi":"pt/messages/openapi-image.json POST /v1/channels/{channelId}/messages","href":"/messages/send-image"},{"title":"Enviar áudio","openapi":"pt/messages/openapi-audio.json POST /v1/channels/{channelId}/messages","href":"/messages/send-audio"},{"title":"Enviar vídeo","openapi":"pt/messages/openapi-video.json POST /v1/channels/{channelId}/messages","href":"/messages/send-video"},{"title":"Enviar documento","href":"/messages/send-document"},{"title":"Enviar sticker","openapi":"pt/messages/openapi-sticker.json POST /v1/channels/{channelId}/messages","href":"/messages/send-sticker"},{"title":"Enviar localização","openapi":"pt/messages/openapi-location.json POST /v1/channels/{channelId}/messages","href":"/messages/send-location"},{"title":"Pedir localização","href":"/messages/send-location-request"},{"title":"Enviar contato","openapi":"pt/messages/openapi-contact.json POST /v1/channels/{channelId}/messages","href":"/messages/send-contact"},{"title":"Enviar reação","href":"/messages/send-reaction"},{"title":"Enviar texto com botões","openapi":"pt/messages/openapi-interactive-button.json POST /v1/channels/{channelId}/messages","href":"/messages/send-interactive-button"},{"title":"Enviar botões de ação","openapi":"pt/messages/openapi-interactive-action.json POST /v1/channels/{channelId}/messages","href":"/messages/send-interactive-action"},{"title":"Enviar lista de opções","href":"/messages/send-interactive-list"},{"title":"Enviar formulário (Flow)","href":"/messages/send-flow"},{"title":"Enviar catálogo","href":"/messages/send-catalog"},{"title":"Enviar produto","href":"/messages/send-product"},{"title":"Enviar multi-produto","href":"/messages/send-product-list"},{"title":"Enviar detalhes do pedido","href":"/messages/send-order-details"},{"title":"Enviar status do pedido","href":"/messages/send-order-status"}]},{"group":"Templates (WhatsApp)","icon":"file-lines","pages":[{"title":"Introdução","href":"/templates/introduction"},{"title":"Campos do template","href":"/templates/anatomy"},{"title":"Validações","href":"/templates/validation"},{"group":"Criar template","pages":[{"title":"Escolher o modelo","href":"/templates/models/overview"},{"title":"Mensagem customizada","href":"/templates/models/custom"},{"title":"Código de acesso","href":"/templates/models/authentication"},{"title":"Catálogo","description":"Abre o catálogo completo da loja dentro do WhatsApp","href":"/templates/models/catalog"},{"title":"Produto único","href":"/templates/models/spm"},{"title":"Multi-produto","description":"Vitrine com seções e até 30 produtos, montada no envio","href":"/templates/models/mpm"},{"title":"Botão de checkout","href":"/templates/models/checkout-button"},{"title":"Detalhes do pedido","href":"/templates/models/order-details"},{"title":"Cupom","href":"/templates/models/coupon-code"},{"title":"Oferta por tempo limitado","href":"/templates/models/limited-time-offer"},{"title":"Carrossel de mídia","href":"/templates/models/media-card-carousel"},{"title":"Carrossel de produtos","href":"/templates/models/product-card-carousel"},{"title":"Template Library","href":"/templates/models/library"},{"title":"Permissão de chamada","href":"/templates/models/call-permission-request"},{"title":"Referência da API","openapi":"pt/templates/openapi.json POST /whatsapp/businesses/{wabaId}/templates","href":"/templates/create-template"}]},{"group":"Outros endpoints","pages":[{"title":"Enviar template","openapi":"pt/messages/openapi-template.json POST /v1/channels/{channelId}/messages","href":"/messages/send-template"},{"title":"Listar templates","openapi":"pt/templates/openapi.json GET /whatsapp/businesses/{wabaId}/templates","href":"/templates/list-templates"},{"title":"Atualizar template","openapi":"pt/templates/openapi.json PUT /whatsapp/businesses/{wabaId}/templates/{templateId}","href":"/templates/update-template"},{"title":"Remover template","openapi":"pt/templates/openapi.json DELETE /whatsapp/businesses/{wabaId}/templates/{templateId}","href":"/templates/delete-template"},{"title":"Sincronizar templates","openapi":"pt/templates/openapi.json POST /whatsapp/businesses/{wabaId}/templates/sync","href":"/templates/sync-templates"},{"title":"Listar WABAs","openapi":"pt/templates/openapi.json GET /whatsapp/businesses","href":"/templates/list-businesses"},{"title":"Upload de mídia","openapi":"pt/templates/openapi.json POST /whatsapp/businesses/{wabaId}/templates/media","href":"/templates/upload-media"},{"title":"Biblioteca de templates","openapi":"pt/templates/openapi.json GET /whatsapp/businesses/{wabaId}/template-library","href":"/templates/template-library"}]}]},{"group":"Flows (WhatsApp)","icon":"diagram-project","tag":"Novo","pages":[{"title":"Introdução","href":"/flows/introduction"},{"title":"Componentes e regras","href":"/flows/components"},{"title":"Listar flows","openapi":"pt/flows/openapi.json GET /whatsapp/businesses/{wabaId}/flows","href":"/flows/list-flows"},{"title":"Criar flow","openapi":"pt/flows/openapi.json POST /whatsapp/businesses/{wabaId}/flows","href":"/flows/create-flow"},{"title":"Detalhar flow","openapi":"pt/flows/openapi.json GET /whatsapp/businesses/{wabaId}/flows/{flowId}","href":"/flows/get-flow"},{"title":"Atualizar flow","openapi":"pt/flows/openapi.json PUT /whatsapp/businesses/{wabaId}/flows/{flowId}","href":"/flows/update-flow"},{"title":"Publicar flow","openapi":"pt/flows/openapi.json POST /whatsapp/businesses/{wabaId}/flows/{flowId}/publish","href":"/flows/publish-flow"},{"title":"Descontinuar flow","openapi":"pt/flows/openapi.json POST /whatsapp/businesses/{wabaId}/flows/{flowId}/deprecate","href":"/flows/deprecate-flow"},{"title":"Remover flow","openapi":"pt/flows/openapi.json DELETE /whatsapp/businesses/{wabaId}/flows/{flowId}","href":"/flows/delete-flow"},{"title":"Sincronizar flows","openapi":"pt/flows/openapi.json POST /whatsapp/businesses/{wabaId}/flows/sync","href":"/flows/sync-flows"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"Introdução","href":"/webhooks/introduction"},{"title":"Assinatura HMAC","href":"/webhooks/signature"},{"title":"Entrega e novas tentativas","href":"/webhooks/delivery"},{"group":"Canais","pages":[{"title":"Webhooks de canal","href":"/webhooks/channel-webhooks"},{"title":"Estrutura dos payloads","href":"/webhooks/payloads"},{"title":"Criar webhook","openapi":"pt/webhooks/openapi.json POST /v1/channels/{channelId}/webhooks","href":"/webhooks/create-webhook"},{"title":"Listar webhooks","openapi":"pt/webhooks/openapi.json GET /v1/channels/{channelId}/webhooks","href":"/webhooks/list-webhooks"},{"title":"Detalhar webhook","openapi":"pt/webhooks/openapi.json GET /v1/channels/{channelId}/webhooks/{webhookId}","href":"/webhooks/get-webhook"},{"title":"Atualizar webhook","openapi":"pt/webhooks/openapi.json PATCH /v1/channels/{channelId}/webhooks/{webhookId}","href":"/webhooks/update-webhook"},{"title":"Remover webhook","openapi":"pt/webhooks/openapi.json DELETE /v1/channels/{channelId}/webhooks/{webhookId}","href":"/webhooks/delete-webhook"}]},{"group":"Templates","pages":[{"title":"Webhooks de template","href":"/webhooks/template-webhooks"},{"title":"Estrutura dos payloads","href":"/webhooks/template-payloads"},{"title":"Aviso de desconexão de canal","href":"/webhooks/channel-disconnected"},{"title":"Eventos de cobrança e de restrição da conta","href":"/webhooks/account-events"},{"title":"Criar webhook de template","openapi":"pt/webhooks/openapi-template.json POST /v1/webhooks","href":"/webhooks/create-template-webhook"},{"title":"Listar webhooks de template","openapi":"pt/webhooks/openapi-template.json GET /v1/webhooks","href":"/webhooks/list-template-webhooks"},{"title":"Detalhar webhook de template","openapi":"pt/webhooks/openapi-template.json GET /v1/webhooks/{webhookId}","href":"/webhooks/get-template-webhook"},{"title":"Atualizar webhook de template","openapi":"pt/webhooks/openapi-template.json PATCH /v1/webhooks/{webhookId}","href":"/webhooks/update-template-webhook"},{"title":"Remover webhook de template","openapi":"pt/webhooks/openapi-template.json DELETE /v1/webhooks/{webhookId}","href":"/webhooks/delete-template-webhook"}]},{"group":"Webhook padrão","pages":[{"title":"Webhook padrão do workspace","href":"/webhooks/default-webhooks"},{"title":"Criar webhook padrão","openapi":"pt/webhooks/openapi-default.json POST /v1/default-instance-webhooks","href":"/webhooks/create-default-webhook"},{"title":"Listar webhooks padrão","openapi":"pt/webhooks/openapi-default.json GET /v1/default-instance-webhooks","href":"/webhooks/list-default-webhooks"},{"title":"Detalhar webhook padrão","openapi":"pt/webhooks/openapi-default.json GET /v1/default-instance-webhooks/{webhookId}","href":"/webhooks/get-default-webhook"},{"title":"Atualizar webhook padrão","openapi":"pt/webhooks/openapi-default.json PATCH /v1/default-instance-webhooks/{webhookId}","href":"/webhooks/update-default-webhook"},{"title":"Remover webhook padrão","openapi":"pt/webhooks/openapi-default.json DELETE /v1/default-instance-webhooks/{webhookId}","href":"/webhooks/delete-default-webhook"}]}]}]},{"tab":"Compatibilidade Z-API","icon":"arrow-right-arrow-left","pages":[{"title":"Compatibilidade Z-API","href":"/z-api/introduction"}]}]},{"language":"en","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=Hi!%20I%27d%20like%20to%20talk%20to%20Omni%20Z-API%20support.","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.omni.z-api.io"}},"pages":[{"title":"en","href":"/en/templates/models/spm"}]},{"language":"es","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=%C2%A1Hola!%20Me%20gustar%C3%ADa%20hablar%20con%20el%20soporte%20de%20Omni%20Z-API.","label":"Soporte"}],"primary":{"type":"button","label":"Panel","href":"https://app.omni.z-api.io"}},"pages":[{"title":"es","href":"/es/templates/models/spm"}]}]},"basePath":"","title":"Produto único - Omni Z-API","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}