Chame este endpoint ao receber ORDER_CANCELLATION_REQUEST quando sua loja não puder aceitar o cancelamento solicitado pelo cliente. Informe o motivo exigido pelo payload.
ORDER_CANCELLATION_REQUEST exige uma resposta do seu PDV com denyCancellation ou acceptCancellation.Não use CANCELLATION_REQUESTED como gatilho. Esse evento apenas informa que o próprio PDV solicitou um cancelamento com POST /v1/orders/{orderId}/requestCancellation.
Parâmetros de rota
string (uuid)
required
Identificador único do pedido cuja solicitação de cancelamento você está negando. Gerado pela Onbeef e retornado no evento do pedido.
Corpo da requisição
string
required
Explicação em texto livre para a negativa do cancelamento. Pode ser compartilhada com o cliente ou com a parte solicitante.
string
required
Código padronizado descrevendo o motivo da negativa. Deve ser um dos valores a seguir:
Código
Descrição
SYSTEMIC_ISSUES
Motivo técnico ou de sistema.
DUPLICATE_APPLICATION
O pedido foi identificado como duplicado e ainda é válido.
UNAVAILABLE_ITEM
Negativa baseada em contexto de item.
RESTAURANT_WITHOUT_DELIVERY_PERSON
Contexto de ausência de entregador.
OUTDATED_MENU
Contexto de cardápio desatualizado.
ORDER_OUTSIDE_THE_DELIVERY_AREA
Contexto de área de entrega.
BLOCKED_CUSTOMER
Contexto de status do cliente.
OUTSIDE_DELIVERY_HOURS
Contexto de horário de operação.
INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT
Pedido já está avançado demais para cancelar.
RISK_AREA
Contexto de área de risco.
DELIVERY_PROBLEM
Motivo relacionado à entrega.
Resposta
204: Sem conteúdo
A negativa foi aceita. O pedido continua ativo e nenhum corpo de resposta é retornado.No polling, o evento do pedido passa a ser CANCELLED_DENIED. Pelo webhook chegam duas notificações para a mesma negativa: CANCELLED_DENIED e CANCELLATION_REQUEST_DENIED. Processe de forma idempotente.
401: Não autorizado
Retornado quando a requisição não inclui credenciais de autenticação válidas.
404: Não encontrado
Nenhum pedido foi encontrado com o orderId informado.
Exemplo de requisição
curl --request POST \ --url "https://api.dev.connect.onbeefapp.com.br/v1/orders/f47ac10b-58cc-4372-a567-0e02b2c3d479/denyCancellation" \ --header "Authorization: Bearer <token>" \ --header "Content-Type: application/json" \ --data '{ "reason": "O pedido já está embalado e pronto para retirada.", "code": "INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT" }'
curl --request POST \ --url "https://api.connect.onbeefapp.com.br/v1/orders/f47ac10b-58cc-4372-a567-0e02b2c3d479/denyCancellation" \ --header "Authorization: Bearer <token>" \ --header "Content-Type: application/json" \ --data '{ "reason": "O pedido já está embalado e pronto para retirada.", "code": "INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT" }'
Exemplo de corpo da requisição
{ "reason": "O pedido já está embalado e pronto para retirada.", "code": "INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT"}
Após negar um cancelamento, continue o ciclo de vida normal do pedido chamando Pronto para retirada, Despachar e, por fim, Entregue. Deixar o pedido paralisado após negar o cancelamento pode afetar negativamente as métricas da sua loja na plataforma.
Depois de negar a solicitação, acompanhe CANCELLED_DENIED no polling (ou CANCELLATION_REQUEST_DENIED no webhook). Processe e persista esse estado antes de enviar o acknowledgment. Informe um reason claro e preciso para manter transparência com o cliente e a Onbeef.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Onbeef Connect API","description":"API REST da Onbeef para integrar sistemas PDV de açougues e casas de carne: sincronização de catálogo, processamento de pedidos e operação de entregas, no padrão OpenDelivery.","colors":{"primary":"#C8102E","light":"#FF3B5C","dark":"#FF3B5C"},"logo":{"light":"https://www.onbeef.app.br/logo.png","dark":"https://www.onbeef.app.br/logo.png"},"favicon":"https://mintcdn.com/onbeef/oZWOfY3NZyzFPDI2/favicon.png?fit=max\u0026auto=format\u0026n=oZWOfY3NZyzFPDI2\u0026q=85\u0026s=115ee42f327cf7166ce8e4073cf2e3b0","api":{"playground":{"display":"simple"},"examples":{"defaults":"required","languages":["curl"],"autogenerate":true},"mdx":{"auth":{"method":"bearer"},"server":["https://api.dev.connect.onbeefapp.com.br","https://api.connect.onbeefapp.com.br"]}},"appearance":{"default":"dark"},"navbar":{"primary":{"type":"button","label":"Conheça a Onbeef","href":"https://www.onbeef.app.br"}},"footer":{"socials":{"website":"https://onbeefapp.com.br"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onbeef","hasAudioNarration":false,"actualSubdomain":"onbeef","customDomains":["docs.onbeef.app"],"gitSource":{"type":"github","owner":"onbeefapp","repo":"api-connect-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a8c44c3af46649bd4108aad","clientVersion":"0.0.4149","searchFilterCounts":[{"language":"default","tag":"Referência","count":21},{"language":"default","tag":"Pedidos","count":20},{"language":"default","tag":"Logística","count":6},{"language":"default","tag":"Comece aqui","count":5},{"language":"default","tag":"Merchant","count":4},{"language":"default","tag":"Catálogo","count":4},{"language":"default","tag":"Primeiros passos","count":3},{"language":"default","tag":"Visão geral","count":2},{"language":"default","tag":"Ambientes","count":2},{"language":"default","tag":"Autenticação","count":1}]},"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":"custom-rbac-roles","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":"rbac-expansion","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":"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":"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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/orders/deny-cancellation","slug":"/api-reference/orders/deny-cancellation","pageMetadata":{"title":"Negue um cancelamento","sidebarTitle":"Negar cancelamento","description":"Negue o cancelamento e mantenha o pedido ativo.","api":"POST /v1/orders/{orderId}/denyCancellation","href":"/api-reference/orders/deny-cancellation"},"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: \"Negue o cancelamento e mantenha o pedido ativo.\"\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];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,ParamField,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Chame este endpoint ao receber `,_jsx(_components.code,{children:`ORDER_CANCELLATION_REQUEST`}),` quando sua loja não puder aceitar o cancelamento solicitado pelo cliente. Informe o motivo exigido pelo payload.`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ORDER_CANCELLATION_REQUEST`}),` exige uma resposta do seu PDV com `,_jsx(_components.code,{children:`denyCancellation`}),` ou `,_jsx(_components.code,{children:`acceptCancellation`}),`.`]}),_jsxs(_components.p,{children:[`Não use `,_jsx(_components.code,{children:`CANCELLATION_REQUESTED`}),` como gatilho. Esse evento apenas informa que o próprio PDV solicitou um cancelamento com `,_jsx(_components.code,{children:`POST /v1/orders/{orderId}/requestCancellation`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`parâmetros-de-rota`,children:`Parâmetros de rota`}),`\n`,_jsx(ParamField,{path:`orderId`,type:`string (uuid)`,required:true,id:`param-order-id`,children:_jsx(_components.p,{children:`Identificador único do pedido cuja solicitação de cancelamento você está negando. Gerado pela Onbeef e retornado no evento do pedido.`})}),`\n`,_jsx(Heading,{level:`2`,id:`corpo-da-requisição`,children:`Corpo da requisição`}),`\n`,_jsx(ParamField,{body:`reason`,type:`string`,required:true,id:`param-reason`,children:_jsx(_components.p,{children:`Explicação em texto livre para a negativa do cancelamento. Pode ser compartilhada com o cliente ou com a parte solicitante.`})}),`\n`,_jsxs(ParamField,{body:`code`,type:`string`,required:true,id:`param-code`,children:[_jsx(_components.p,{children:`Código padronizado descrevendo o motivo da negativa. Deve ser um dos valores a seguir:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Código`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SYSTEMIC_ISSUES`})}),_jsx(_components.td,{children:`Motivo técnico ou de sistema.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DUPLICATE_APPLICATION`})}),_jsx(_components.td,{children:`O pedido foi identificado como duplicado e ainda é válido.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAVAILABLE_ITEM`})}),_jsx(_components.td,{children:`Negativa baseada em contexto de item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RESTAURANT_WITHOUT_DELIVERY_PERSON`})}),_jsx(_components.td,{children:`Contexto de ausência de entregador.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OUTDATED_MENU`})}),_jsx(_components.td,{children:`Contexto de cardápio desatualizado.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ORDER_OUTSIDE_THE_DELIVERY_AREA`})}),_jsx(_components.td,{children:`Contexto de área de entrega.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BLOCKED_CUSTOMER`})}),_jsx(_components.td,{children:`Contexto de status do cliente.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OUTSIDE_DELIVERY_HOURS`})}),_jsx(_components.td,{children:`Contexto de horário de operação.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT`})}),_jsx(_components.td,{children:`Pedido já está avançado demais para cancelar.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RISK_AREA`})}),_jsx(_components.td,{children:`Contexto de área de risco.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DELIVERY_PROBLEM`})}),_jsx(_components.td,{children:`Motivo relacionado à entrega.`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`resposta`,children:`Resposta`}),`\n`,_jsx(Heading,{level:`3`,id:`204-sem-conteúdo`,children:`204: Sem conteúdo`}),`\n`,_jsx(_components.p,{children:`A negativa foi aceita. O pedido continua ativo e nenhum corpo de resposta é retornado.`}),`\n`,_jsxs(_components.p,{children:[`No polling, o evento do pedido passa a ser `,_jsx(_components.code,{children:`CANCELLED_DENIED`}),`. Pelo webhook chegam duas notificações para a mesma negativa: `,_jsx(_components.code,{children:`CANCELLED_DENIED`}),` e `,_jsx(_components.code,{children:`CANCELLATION_REQUEST_DENIED`}),`. Processe de forma idempotente.`]}),`\n`,_jsx(Heading,{level:`3`,id:`401-não-autorizado`,children:`401: Não autorizado`}),`\n`,_jsx(_components.p,{children:`Retornado quando a requisição não inclui credenciais de autenticação válidas.`}),`\n`,_jsx(Heading,{level:`3`,id:`404-não-encontrado`,children:`404: Não encontrado`}),`\n`,_jsxs(_components.p,{children:[`Nenhum pedido foi encontrado com o `,_jsx(_components.code,{children:`orderId`}),` informado.`]}),`\n`,_jsx(Heading,{level:`2`,id:`exemplo-de-requisição`,children:`Exemplo de requisição`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Sandbox`,numberOfLines:`8`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.dev.connect.onbeefapp.com.br/v1/orders/f47ac10b-58cc-4372-a567-0e02b2c3d479/denyCancellation\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reason\": \"O pedido já está embalado e pronto para retirada.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"code\": \"INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Produção`,numberOfLines:`8`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.connect.onbeefapp.com.br/v1/orders/f47ac10b-58cc-4372-a567-0e02b2c3d479/denyCancellation\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reason\": \"O pedido já está embalado e pronto para retirada.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"code\": \"INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`exemplo-de-corpo-da-requisição`,children:`Exemplo de corpo da requisição`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"O pedido já está embalado e pronto para retirada.\"`}),_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:`\"INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Após negar um cancelamento, continue o ciclo de vida normal do pedido chamando `,_jsx(_components.a,{href:`/api-reference/orders/ready-for-pickup`,children:`Pronto para retirada`}),`, `,_jsx(_components.a,{href:`/api-reference/orders/dispatch`,children:`Despachar`}),` e, por fim, `,_jsx(_components.a,{href:`/api-reference/orders/delivered`,children:`Entregue`}),`. Deixar o pedido paralisado após negar o cancelamento pode afetar negativamente as métricas da sua loja na plataforma.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Depois de negar a solicitação, acompanhe `,_jsx(_components.code,{children:`CANCELLED_DENIED`}),` no polling (ou `,_jsx(_components.code,{children:`CANCELLATION_REQUEST_DENIED`}),` no webhook). Processe e persista esse estado antes de enviar o acknowledgment. Informe um `,_jsx(_components.code,{children:`reason`}),` claro e preciso para manter transparência com o cliente e a Onbeef.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{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":"Negue um cancelamento","sidebarTitle":"Negar cancelamento","description":"Negue o cancelamento e mantenha o pedido ativo.","api":"POST /v1/orders/{orderId}/denyCancellation","href":"/api-reference/orders/deny-cancellation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Parâmetros de rota","slug":"parâmetros-de-rota","depth":2,"children":[]},{"title":"Corpo da requisição","slug":"corpo-da-requisição","depth":2,"children":[]},{"title":"Resposta","slug":"resposta","depth":2,"children":[{"title":"204: Sem conteúdo","slug":"204-sem-conteúdo","depth":3,"children":[]},{"title":"401: Não autorizado","slug":"401-não-autorizado","depth":3,"children":[]},{"title":"404: Não encontrado","slug":"404-não-encontrado","depth":3,"children":[]}]},{"title":"Exemplo de requisição","slug":"exemplo-de-requisição","depth":2,"children":[]},{"title":"Exemplo de corpo da requisição","slug":"exemplo-de-corpo-da-requisição","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Negue um cancelamento","path":"/v1/orders/{orderId}/denyCancellation","servers":[{"url":"https://api.dev.connect.onbeefapp.com.br"},{"url":"https://api.connect.onbeefapp.com.br"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"orderId":{"schema":[{"type":"object","properties":{},"description":"Identificador único do pedido cuja solicitação de cancelamento você está negando. Gerado pela Onbeef e retornado no evento do pedido.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"reason":[{"type":"string","description":"Explicação em texto livre para a negativa do cancelamento. Pode ser compartilhada com o cliente ou com a parte solicitante.","required":true}],"code":[{"type":"string","description":"Código padronizado descrevendo o motivo da negativa. Deve ser um dos valores a seguir: Código Descrição `SYSTEMIC_ISSUES` Motivo técnico ou de sistema. `DUPLICATE_APPLICATION` O pedido foi identificado como duplicado e ainda é válido. `UNAVAILABLE_ITEM` Negativa baseada em contexto de item. `RESTAURANT_WITHOUT_DELIVERY_PERSON` Contexto de ausência de entregador. `OUTDATED_MENU` Contexto de cardápio desatualizado. `ORDER_OUTSIDE_THE_DELIVERY_AREA` Contexto de área de entrega. `BLOCKED_CUSTOMER` Contexto de status do cliente. `OUTSIDE_DELIVERY_HOURS` Contexto de horário de operação. `INTERNAL_DIFFICULTIES_OF_THE_RESTAURANT` Pedido já está avançado demais para cancelar. `RISK_AREA` Contexto de área de risco. `DELIVERY_PROBLEM` Motivo relacionado à entrega.","required":true}]}}],"examples":{"example":{"value":{"reason":"\u003cstring>","code":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"onbeef","siteName":"Onbeef Connect API","title":"Negue um cancelamento - Onbeef Connect API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-07T20:50:49.731Z","originalFileLocation":"api-reference/orders/deny-cancellation.mdx"},"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=\"dark\"}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=\"Negue o cancelamento e mantenha o pedido ativo.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Onbeef Connect 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/onbeef/WscjZRN3uA8giNWJ/_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/onbeef/WscjZRN3uA8giNWJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/onbeef/WscjZRN3uA8giNWJ/_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/onbeef/WscjZRN3uA8giNWJ/_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/onbeef/WscjZRN3uA8giNWJ/_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/onbeef/WscjZRN3uA8giNWJ/_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/onbeef/WscjZRN3uA8giNWJ/_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/onbeef/WscjZRN3uA8giNWJ/_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/onbeef/WscjZRN3uA8giNWJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Negue um cancelamento - Onbeef Connect API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Negue o cancelamento e mantenha o pedido ativo.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Onbeef Connect API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.onbeef.app/api-reference/orders/deny-cancellation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onbeef.mintlify.site/_mintlify/api/og/v2?division=Pedidos\u0026amp;title=Negue+um+cancelamento\u0026amp;description=Negue+o+cancelamento+e+mantenha+o+pedido+ativo.\u0026amp;theme=951f97d33c896d10e9698c59\u0026amp;signature=e99b6f91d5d9b6f1495579c85ca5dedb8bbb7c0b414e39b73c09ccbe559379f1\">\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=\"Negue um cancelamento - Onbeef Connect API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Negue o cancelamento e mantenha o pedido ativo.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onbeef.mintlify.site/_mintlify/api/og/v2?division=Pedidos\u0026amp;title=Negue+um+cancelamento\u0026amp;description=Negue+o+cancelamento+e+mantenha+o+pedido+ativo.\u0026amp;theme=951f97d33c896d10e9698c59\u0026amp;signature=e99b6f91d5d9b6f1495579c85ca5dedb8bbb7c0b414e39b73c09ccbe559379f1\">\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/onbeef/WscjZRN3uA8giNWJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Onbeef Connect API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#C8102E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.onbeef.app/api-reference/orders/deny-cancellation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/orders/deny-cancellation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.onbeef.app/#organization\",\"name\":\"Onbeef Connect API\",\"url\":\"https://docs.onbeef.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.onbeef.app.br/logo.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.onbeef.app#website\",\"name\":\"Onbeef Connect API\",\"url\":\"https://docs.onbeef.app\",\"publisher\":{\"@id\":\"https://docs.onbeef.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.onbeef.app/api-reference/orders/deny-cancellation#webpage\",\"url\":\"https://docs.onbeef.app/api-reference/orders/deny-cancellation\",\"name\":\"Negue um cancelamento\",\"description\":\"Negue o cancelamento e mantenha o pedido ativo.\",\"dateModified\":\"2026-08-07T20:50:49.731Z\",\"isPartOf\":{\"@id\":\"https://docs.onbeef.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.onbeef.app/api-reference/orders/deny-cancellation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.onbeef.app/api-reference/orders/deny-cancellation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pedidos\",\"item\":\"https://docs.onbeef.app/api-reference/orders/get-events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Negue um cancelamento\",\"item\":\"https://docs.onbeef.app/api-reference/orders/deny-cancellation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.onbeef.app/api-reference/orders/deny-cancellation#apireference\",\"headline\":\"Negue um cancelamento\",\"name\":\"Negue um cancelamento\",\"description\":\"Negue o cancelamento e mantenha o pedido ativo.\",\"url\":\"https://docs.onbeef.app/api-reference/orders/deny-cancellation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.onbeef.app/api-reference/orders/deny-cancellation#webpage\"},\"dateModified\":\"2026-08-07T20:50:49.731Z\",\"publisher\":{\"@id\":\"https://docs.onbeef.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.onbeef.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Onbeef Connect API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Onbeef Connect API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/orders/deny-cancellation.md","siteName":"Onbeef Connect API","nav":{"global":null,"tabs":[{"tab":"Comece aqui","pages":[{"title":"Comece aqui","href":""}]},{"tab":"Catálogo","pages":[{"title":"Catálogo","href":"/concepts/merchant"}]},{"tab":"Pedidos","pages":[{"title":"Pedidos","href":"/concepts/orders"}]},{"tab":"Logística","pages":[{"title":"Logística","href":"/concepts/logistics"}]},{"tab":"Referência","groups":[{"group":"Visão geral","pages":[{"title":"Referência da API","sidebarTitle":"Visão geral","href":"/api-reference/overview"},{"title":"Trate erros da API","sidebarTitle":"Erros","href":"/api-reference/errors"}]},{"group":"Autenticação","pages":[{"title":"Obtenha um token de acesso","sidebarTitle":"Obter token de acesso","api":"POST /oauth/token","href":"/api-reference/auth/token"}]},{"group":"Merchant","pages":[{"title":"Consulte o merchant","sidebarTitle":"Obter merchant","api":"GET /v1/merchant","href":"/api-reference/merchant/get-merchant"},{"title":"Consulte a sincronização","sidebarTitle":"Status da sincronização","api":"GET /v1/merchantStatus","href":"/api-reference/merchant/get-status"},{"title":"Configure o webhook de pedidos","sidebarTitle":"Configurar webhook","api":"PUT /v1/merchantOnboarding","href":"/api-reference/merchant/update-merchant"},{"title":"Sincronize o catálogo","sidebarTitle":"Sincronizar catálogo","api":"PUT /v1/merchantUpdate","href":"/api-reference/merchant/sync-catalog"}]},{"group":"Pedidos","pages":[{"title":"Consulte eventos","sidebarTitle":"Consultar eventos","api":"GET /v1/events:polling","href":"/api-reference/orders/get-events"},{"title":"Confirme eventos","sidebarTitle":"Confirmar eventos","api":"POST /v1/events/acknowledgment","href":"/api-reference/orders/confirm-events"},{"title":"Consulte um pedido","sidebarTitle":"Consultar pedido","api":"GET /v1/orders/{orderId}","href":"/api-reference/orders/get-order"},{"title":"Confirme um pedido","sidebarTitle":"Confirmar pedido","api":"POST /v1/orders/{orderId}/confirm","href":"/api-reference/orders/confirm"},{"title":"Marque o pedido como pronto","sidebarTitle":"Pronto para retirada","api":"POST /v1/orders/{orderId}/readyForPickup","href":"/api-reference/orders/ready-for-pickup"},{"title":"Despache um pedido","sidebarTitle":"Despachar pedido","api":"POST /v1/orders/{orderId}/dispatch","href":"/api-reference/orders/dispatch"},{"title":"Conclua um pedido","sidebarTitle":"Marcar como entregue","api":"POST /v1/orders/{orderId}/delivered","href":"/api-reference/orders/delivered"},{"title":"Valide o código de entrega","sidebarTitle":"Validar código de entrega","api":"POST /v1/orders/{orderId}/validateCode","href":"/api-reference/orders/validate-delivery-code"},{"title":"Cancele um pedido","sidebarTitle":"Cancelar pedido","api":"POST /v1/orders/{orderId}/requestCancellation","href":"/api-reference/orders/request-cancellation"},{"title":"Aceite um cancelamento","sidebarTitle":"Aceitar cancelamento","description":"Aceite o cancelamento de um pedido.","api":"POST /v1/orders/{orderId}/acceptCancellation","href":"/api-reference/orders/accept-cancellation"},{"title":"Negue um cancelamento","sidebarTitle":"Negar cancelamento","api":"POST /v1/orders/{orderId}/denyCancellation","href":"/api-reference/orders/deny-cancellation"},{"title":"Atualize o rastreamento","sidebarTitle":"Atualizar rastreamento","description":"Envie o estado de uma entrega.","api":"POST /v1/orders/{orderId}/tracking","href":"/api-reference/orders/delivery-updates"}]},{"group":"Logística","pages":[{"title":"Envie um evento de entrega","sidebarTitle":"Enviar evento","api":"POST /v1/logistics/deliveryUpdate","href":"/api-reference/logistics/order-event-notification"},{"title":"Confirme o código de entrega","sidebarTitle":"Confirmar código","api":"POST /v1/logistics/confirmationCode","href":"/api-reference/logistics/delivery-confirmation-code"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Negue um cancelamento - Onbeef Connect API","buildId":"dpl_4D8r1dHg6bQcRuBgQyL3z9waJJtn","deploymentId":"dpl_4D8r1dHg6bQcRuBgQyL3z9waJJtn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-dD8DedlW.js","utils-BgJ6PauS.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-m4sNRkou.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dg97LVEU.js","snippetPresets-C6CxWGOo.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CKiRf67B.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CDY0tBIx.js","shallow-BHHaYlmm.js","getApiPlaygroundDisplay-D6K3-cVX.js","CodeSnippet-BrS3fDep.js","CodeSnippets-Dkf1llUu.js","Page-DOwQSAHT.js","getPastedJson-3JcMsaes.js","icon-CWSTKRsN.js","MethodPill-t_TXGK5I.js","DuplicateIcon-DcjhdAbh.js","createIcon-2JHmGxKn.js","DynamicMarkdown-DMUWO-az.js","SectionHeading-DxvGHAss.js","axios-vUo_bRtp.js"]}