Identifiant API unique (snake_case). Ne peut contenir que des lettres minuscules,
des chiffres et des underscores. Ne peut pas commencer ni se terminer par un underscore.
{ "error": "Validation error", "details": [ "Field 'api_name' can only contain lowercase letters, numbers and underscores (cannot start or end with underscore)" ]}
Last modified on October 22, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Qwoty","description":"Qwoty Knowledge base \u0026 Documentation","colors":{"primary":"#005FFF","light":"#ffffff","dark":"#005FFF"},"logo":{"light":"https://mintcdn.com/qwoty-45352a33/gk4Fp4-ULydfpJ9J/images/Logo-dark3.png?fit=max\u0026auto=format\u0026n=gk4Fp4-ULydfpJ9J\u0026q=85\u0026s=86d23e4573b59d0930fddeb9216fbcd2","dark":"https://mintcdn.com/qwoty-45352a33/gk4Fp4-ULydfpJ9J/images/Logo-white3.png?fit=max\u0026auto=format\u0026n=gk4Fp4-ULydfpJ9J\u0026q=85\u0026s=ab63813d7128796cde279797159f75cd","href":"https://qwoty.io"},"favicon":{"light":"https://mintcdn.com/qwoty-45352a33/gdFxQ5lvFHEHmvTF/images/favi2.png?fit=max\u0026auto=format\u0026n=gdFxQ5lvFHEHmvTF\u0026q=85\u0026s=02759adcd66f76f310693066c41baec5","dark":"https://mintcdn.com/qwoty-45352a33/CurQTwLZ6gkIdZZ6/images/Favi-4.png?fit=max\u0026auto=format\u0026n=CurQTwLZ6gkIdZZ6\u0026q=85\u0026s=1bd7725be84a501b30af97faa66d8463"},"background":{"color":{"light":"#ffffff","dark":"#030303"}},"navbar":{"links":[{"href":"https://docs.qwoty.io/contact-support","label":"Contact support"},{"href":"https://qwoty.app/signin","label":"Sign in"}]},"fonts":{"family":"Inter"},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","default":true,"href":"getting-started/introduction"},{"language":"fr","href":"fr/getting-started/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"qwoty-45352a33","hasAudioNarration":false,"actualSubdomain":"qwoty-45352a33","customDomains":["docs.qwoty.io"],"gitSource":{"type":"github","owner":"qwoty-io","repo":"qwoty-v2","deployBranch":"docs/mintlify","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae086c101e51dac894ef7d0","collectionId":"89e68dbe-bf8e-4eab-81b9-8551a8efe59b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae086c101e51dac894ef7d0"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae0abc2898aa086d1dd6b7d","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"en","tag":"Help Center","count":102},{"language":"fr","tag":"Guide utilisateur","count":102},{"language":"en","tag":"API Reference","count":76},{"language":"fr","tag":"Développeurs","count":66},{"language":"en","tag":"How-Tos","count":40},{"language":"fr","tag":"Guides pratiques","count":40},{"language":"fr","tag":"Référence API","count":38},{"language":"fr","tag":"Démarrage","count":36},{"language":"en","tag":"Getting Started","count":33},{"language":"en","tag":"Reference","count":30},{"language":"fr","tag":"Référence","count":30},{"language":"en","tag":"Developer Docs","count":28},{"language":"en","tag":"Settings (Admin)","count":21},{"language":"fr","tag":"Paramètres (Admin)","count":21},{"language":"en","tag":"Quotes","count":20},{"language":"fr","tag":"Devis","count":20},{"language":"en","tag":"Catalog \u0026 Products","count":14},{"language":"fr","tag":"Catalogue \u0026 Produits","count":14},{"language":"en","tag":"Integrations","count":13},{"language":"fr","tag":"Intégrations","count":13},{"language":"default","tag":"API Reference","count":10},{"language":"default","tag":"Categories","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"fr/api-reference/categories/create","slug":"/fr/api-reference/categories/create","pageMetadata":{"title":"Créer une catégorie","api":"POST https://qwoty.app/api/categories","description":"Créer une nouvelle catégorie de produits dans votre espace de travail","auth":"bearer","href":"/fr/api-reference/categories/create"},"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: \"Créer une nouvelle catégorie de produits dans votre espace de travail\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`autorisation`,children:`Autorisation`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Jeton Bearer pour l’authentification. Format : `,_jsx(_components.code,{children:`Bearer qwoty_your_token`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`corps-de-la-requête`,children:`Corps de la requête`}),`\n`,_jsx(ParamField,{body:`api_name`,type:`string`,required:true,id:`param-api-name`,children:_jsx(_components.p,{children:`Identifiant API unique (snake_case). Ne peut contenir que des lettres minuscules,\ndes chiffres et des underscores. Ne peut pas commencer ni se terminer par un underscore.`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Nom de la catégorie`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Description de la catégorie`})}),`\n`,_jsx(ParamField,{body:`is_active`,type:`boolean`,default:`true`,id:`param-is-active`,children:_jsx(_components.p,{children:`Statut actif`})}),`\n`,_jsx(ParamField,{body:`parent_category_id`,type:`string`,id:`param-parent-category-id`,children:_jsx(_components.p,{children:`UUID de la catégorie parente, pour une organisation hiérarchique`})}),`\n`,_jsx(Heading,{level:`2`,id:`exemples`,children:`Exemples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,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:`9`,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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://qwoty.app/api/categories`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer qwoty_your_token\"`}),_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:` -H`}),_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:` -d`}),_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:` \"api_name\": \"electronics\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Electronics\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Electronic products and accessories\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_active\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Avec une catégorie parente`,numberOfLines:`10`,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:`10`,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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://qwoty.app/api/categories`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer qwoty_your_token\"`}),_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:` -H`}),_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:` -d`}),_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:` \"api_name\": \"smartphones\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Smartphones\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Mobile phones and accessories\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_active\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parent_category_id\": \"550e8400-e29b-41d4-a716-446655440001\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`15`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://qwoty.app/api/categories'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer qwoty_your_token'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` api_name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'electronics'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Electronics'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Electronic products and accessories'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` is_active:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_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`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`17`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://qwoty.app/api/categories'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer qwoty_your_token'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'application/json'`})]}),`\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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'api_name'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'electronics'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'name'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Electronics'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'description'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Electronic products and accessories'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'is_active'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`})]}),`\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`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`réponse`,children:`Réponse`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Indique si la requête a réussi`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Objet catégorie créé`}),_jsxs(Expandable,{title:`Objet catégorie`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Identifiant unique (UUID)`})}),_jsx(ResponseField,{name:`workspace_id`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`ID de l’espace de travail (UUID)`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Nom de la catégorie`})}),_jsx(ResponseField,{name:`api_name`,type:`string`,id:`param-api-name-1`,children:_jsx(_components.p,{children:`Identifiant API`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Description de la catégorie`})}),_jsx(ResponseField,{name:`is_active`,type:`boolean`,id:`param-is-active-1`,children:_jsx(_components.p,{children:`Statut actif`})}),_jsx(ResponseField,{name:`parent_category_id`,type:`string | null`,id:`param-parent-category-id-1`,children:_jsx(_components.p,{children:`ID de la catégorie parente (UUID)`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Date de création (ISO 8601)`})}),_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Date de dernière modification (ISO 8601)`})})]})]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`réponses-d’erreur`,children:`Réponses d’erreur`})]})}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":"Créer une catégorie","api":"POST https://qwoty.app/api/categories","description":"Créer une nouvelle catégorie de produits dans votre espace de travail","auth":"bearer","href":"/fr/api-reference/categories/create"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[325,329,"Example,ResponseFiel"],[621,636,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[20486,20995,"_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`201 Created`,numberOfLines:`14`,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:`14`,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:` \"success\"`}),_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:` \"data\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"550e8400-e29b-41d4-a716-446655440001\"`}),_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:` \"workspace_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"660e8400-e29b-41d4-a716-446655440000\"`}),_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:`\"Electronics\"`}),_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:` \"api_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"electronics\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Electronic products and accessories\"`}),_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:` \"is_active\"`}),_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:` \"parent_category_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T10:00:00Z\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T10:00:00Z\"`})]}),`\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:`réponses-d’erreur`,children:`Réponses d’erreur`}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`400 Erreur de validation`,numberOfLines:`6`,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:`6`,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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation error\"`}),_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:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Field 'api_name' is required\"`})}),`\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(CodeBlock,{filename:`400 api_name invalide`,numberOfLines:`6`,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:`6`,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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation error\"`}),_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:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Field 'api_name' can only contain lowercase letters, numbers and underscores (cannot start or end with underscore)\"`})}),`\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`]})})})]})]})}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.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Autorisation","slug":"autorisation","depth":2,"children":[]},{"title":"Corps de la requête","slug":"corps-de-la-requête","depth":2,"children":[]},{"title":"Exemples","slug":"exemples","depth":2,"children":[]},{"title":"Réponse","slug":"réponse","depth":2,"children":[]},{"title":"Réponses d’erreur","slug":"réponses-d’erreur","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"201 Created","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"550e8400-e29b-41d4-a716-446655440001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workspace_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"660e8400-e29b-41d4-a716-446655440000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Electronics\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"api_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"electronics\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Electronic products and accessories\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"parent_category_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-15T10:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-15T10:00:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Créer une catégorie","path":"/api/categories","servers":[{"url":"https://qwoty.app"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Jeton Bearer pour l’authentification. Format : `Bearer qwoty_your_token`","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"api_name":[{"type":"string","description":"Identifiant API unique (snake_case). Ne peut contenir que des lettres minuscules, des chiffres et des underscores. Ne peut pas commencer ni se terminer par un underscore.","required":true}],"name":[{"type":"string","description":"Nom de la catégorie","required":true}],"description":[{"type":"string","description":"Description de la catégorie"}],"is_active":[{"type":"boolean","description":"Statut actif"}],"parent_category_id":[{"type":"string","description":"UUID de la catégorie parente, pour une organisation hiérarchique"}]}}],"examples":{"example":{"value":{"api_name":"\u003cstring>","name":"\u003cstring>","description":"\u003cstring>","is_active":true,"parent_category_id":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Indique si la requête a réussi"}],"data":[{"type":"object","properties":{"id":[{"type":"string","description":"Identifiant unique (UUID)"}],"workspace_id":[{"type":"string","description":"ID de l’espace de travail (UUID)"}],"name":[{"type":"string","description":"Nom de la catégorie"}],"api_name":[{"type":"string","description":"Identifiant API"}],"description":[{"type":"string","description":"Description de la catégorie"}],"is_active":[{"type":"boolean","description":"Statut actif"}],"parent_category_id":[{"type":"object","properties":{},"description":"ID de la catégorie parente (UUID)"}],"created_at":[{"type":"string","description":"Date de création (ISO 8601)"}],"updated_at":[{"type":"string","description":"Date de dernière modification (ISO 8601)"}]},"description":"Objet catégorie créé"}]}}],"examples":{"example":{"value":{"success":true,"data":{"id":"\u003cstring>","workspace_id":"\u003cstring>","name":"\u003cstring>","api_name":"\u003cstring>","description":"\u003cstring>","is_active":true,"parent_category_id":{},"created_at":"\u003cstring>","updated_at":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/qwoty-45352a33/617cb85cf3308d35/plain-chat.js"],"subdomain":"qwoty-45352a33","siteName":"Qwoty","title":"Créer une catégorie - Qwoty","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/fr/api-reference/categories/create","matchLevel":0},"fr":{"href":"/api-reference/categories/create","matchLevel":1}}},"lastModified":"2026-10-22T19:51:29.577Z","gitLastModified":"2026-10-22T15:58:43.000Z","originalFileLocation":"fr/api-reference/categories/create.mdx","locale":"en"},"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=\"Créer une nouvelle catégorie de produits dans votre espace de travail\">\u003cmeta data-mint-head name=\"application-name\" content=\"Qwoty\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/qwoty-45352a33/1j3WJiLJddhEThQe/_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/qwoty-45352a33/1j3WJiLJddhEThQe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/qwoty-45352a33/1j3WJiLJddhEThQe/_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/qwoty-45352a33/1j3WJiLJddhEThQe/_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/qwoty-45352a33/1j3WJiLJddhEThQe/_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/qwoty-45352a33/1j3WJiLJddhEThQe/_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/qwoty-45352a33/1j3WJiLJddhEThQe/_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/qwoty-45352a33/1j3WJiLJddhEThQe/_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/qwoty-45352a33/1j3WJiLJddhEThQe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Créer une catégorie - Qwoty\">\u003cmeta data-mint-head property=\"og:description\" content=\"Créer une nouvelle catégorie de produits dans votre espace de travail\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Qwoty\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.qwoty.io/fr/api-reference/categories/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://qwoty-45352a33.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Cr%C3%A9er+une+cat%C3%A9gorie\u0026amp;description=Cr%C3%A9er+une+nouvelle+cat%C3%A9gorie+de+produits+dans+votre+espace+de+travail\u0026amp;theme=479ea95918077de376b56582\u0026amp;signature=95b9c039bdeefb53548ab7e7c9ed4326bc1f2fb665adae14b9908ef4377acb0d\">\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=\"Créer une catégorie - Qwoty\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Créer une nouvelle catégorie de produits dans votre espace de travail\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://qwoty-45352a33.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Cr%C3%A9er+une+cat%C3%A9gorie\u0026amp;description=Cr%C3%A9er+une+nouvelle+cat%C3%A9gorie+de+produits+dans+votre+espace+de+travail\u0026amp;theme=479ea95918077de376b56582\u0026amp;signature=95b9c039bdeefb53548ab7e7c9ed4326bc1f2fb665adae14b9908ef4377acb0d\">\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/qwoty-45352a33/1j3WJiLJddhEThQe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Qwoty\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#005FFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.qwoty.io/fr/api-reference/categories/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fr/api-reference/categories/create.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.qwoty.io/fr/api-reference/categories/create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.qwoty.io/api-reference/categories/create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.qwoty.io/fr/api-reference/categories/create\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Qwoty\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Qwoty","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Getting Started","icon":"rocket","pages":[{"group":"Welcome to Qwoty","icon":"hand-wave","pages":[{"title":"Introduction","href":"/getting-started/introduction"},{"title":"Why Qwoty","icon":"lightbulb","href":"/getting-started/why-qwoty"},{"title":"Key CPQ concepts","sidebarTitle":"Key concepts","icon":"book","href":"/getting-started/cpq-key-concepts"}]},{"group":"Quickstart","icon":"rocket-launch","pages":[{"title":"Create your account","sidebarTitle":"Create account","icon":"user-plus","href":"/getting-started/setup/create-account"},{"title":"Invite your team","sidebarTitle":"Invite team","icon":"people-group","href":"/getting-started/setup/invite-team"},{"title":"Configure your workspace","icon":"gear","href":"/getting-started/setup/workspace"},{"title":"Connect your CRM","sidebarTitle":"Connect CRM","icon":"plug","href":"/getting-started/setup/connect-crm"},{"title":"Customize your brand kit","sidebarTitle":"Brand kit","icon":"palette","href":"/getting-started/setup/brand-kit"},{"title":"Create your first catalog","sidebarTitle":"First catalog","icon":"box","href":"/getting-started/setup/first-catalog"},{"title":"Configure your first pricebook","icon":"tag","href":"/getting-started/setup/first-pricebook"},{"title":"Create your first template","sidebarTitle":"First template","icon":"clone","href":"/getting-started/setup/first-template"},{"title":"Send your first quote","sidebarTitle":"First quote","icon":"file-invoice-dollar","href":"/getting-started/setup/first-quote"},{"title":"Import your data","sidebarTitle":"Import data","icon":"upload","href":"/getting-started/setup/import-data"},{"title":"Set up integrations","sidebarTitle":"Integrations","icon":"puzzle-piece","href":"/getting-started/setup/integrations"}]},{"group":"Architecture","icon":"diagram-project","pages":[{"title":"Qwoty data model","sidebarTitle":"Data model","href":"/getting-started/data-model"}]},{"title":"Contact support","href":"/contact-support"}]},{"tab":"Help Center","icon":"life-ring","pages":[{"title":"Welcome to help center","icon":"house","href":"/user-guide"},{"group":"Quotes","icon":"file-invoice-dollar","pages":[{"title":"Quotes","sidebarTitle":"Quotes","href":"/user-guide/quotes/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"Quote lifecycle","href":"/user-guide/quotes/reference/lifecycle"},{"title":"Quote anatomy","sidebarTitle":"Quote anatomy","href":"/user-guide/quotes/reference/quote-anatomy"},{"title":"Quote sections","sidebarTitle":"Quote sections","href":"/user-guide/quotes/reference/quote-sections"},{"title":"Quote list and analytics","sidebarTitle":"Quote list and analytics","href":"/user-guide/quotes/reference/quote-list-and-analytics"},{"title":"Gross margin","sidebarTitle":"Gross margin","href":"/user-guide/quotes/reference/margin"}]},{"group":"How-Tos","icon":"list-check","pages":[{"title":"Create a quote","sidebarTitle":"Create a quote","href":"/user-guide/quotes/how-tos/create-quote"},{"title":"Add products and options","href":"/user-guide/quotes/how-tos/add-products-and-options"},{"title":"Apply a discount","href":"/user-guide/quotes/how-tos/apply-discount"},{"title":"Duplicate a quote","sidebarTitle":"Duplicate a quote","href":"/user-guide/quotes/how-tos/duplicate-quote"},{"title":"Submit a quote for approval","sidebarTitle":"Submit for approval","href":"/user-guide/quotes/how-tos/submit-for-approval"},{"title":"Publish to Dealroom","href":"/user-guide/quotes/how-tos/publish-to-dealroom"},{"title":"Import line items with AI","sidebarTitle":"Build with AI","href":"/user-guide/quotes/how-tos/import-line-items-with-ai"},{"title":"Build quote sections","sidebarTitle":"Build quote sections","href":"/user-guide/quotes/how-tos/build-quote-sections"},{"title":"Configure line items","sidebarTitle":"Configure line items","href":"/user-guide/quotes/how-tos/configure-line-items"},{"title":"Change a quote status","sidebarTitle":"Change quote status","href":"/user-guide/quotes/how-tos/change-quote-status"},{"title":"Set taxes and payment terms","sidebarTitle":"Taxes and payment terms","href":"/user-guide/quotes/how-tos/taxes-and-payment-terms"}]}]},{"group":"Catalog \u0026 Products","icon":"box","pages":[{"title":"Catalog and Products","href":"/user-guide/catalog/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"Catalog vs Pricebook vs Bundle","href":"/user-guide/catalog/reference/catalog-vs-pricebook-vs-bundle"},{"title":"Variants and options","href":"/user-guide/catalog/reference/variants-and-options"},{"title":"Pricing types","href":"/user-guide/catalog/reference/pricing-types"},{"title":"Product configurator","sidebarTitle":"Product configurator","href":"/user-guide/catalog/reference/product-configurator"},{"title":"Product performance and relations","sidebarTitle":"Performance and relations","href":"/user-guide/catalog/reference/product-performance-and-relations"}]},{"group":"How-Tos","icon":"list-check","pages":[{"title":"Create a product","href":"/user-guide/catalog/how-tos/create-product"},{"title":"Manage variants","href":"/user-guide/catalog/how-tos/manage-variants"},{"title":"Create a bundle","href":"/user-guide/catalog/how-tos/create-bundle"},{"title":"Build a product configuration","sidebarTitle":"Build a configuration","href":"/user-guide/catalog/how-tos/product-configurator"},{"title":"Create a pricebook","href":"/user-guide/catalog/how-tos/create-pricebook"},{"title":"Configure discounts","href":"/user-guide/catalog/how-tos/configure-discounts"},{"title":"Manage product options","href":"/user-guide/catalog/how-tos/manage-product-options"},{"title":"Configure Buy X get Y","href":"/user-guide/catalog/how-tos/configure-buy-x-get-y"}]}]},{"group":"Customers","icon":"users","pages":[{"title":"Customers","href":"/user-guide/customers/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"The customer record","sidebarTitle":"Customer record","href":"/user-guide/customers/reference/customer-record"},{"title":"Segments","href":"/user-guide/customers/reference/segments"}]},{"group":"How-Tos","icon":"list-check","pages":[{"title":"Create a customer","sidebarTitle":"Create a customer","href":"/user-guide/customers/how-tos/create-customer"},{"title":"Create a segment","href":"/user-guide/customers/how-tos/create-segment"}]}]},{"group":"Templates","icon":"clone","pages":[{"title":"Templates","sidebarTitle":"Introduction","href":"/user-guide/templates/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"What is a template","sidebarTitle":"What is a template","href":"/user-guide/templates/reference/what-is-a-template"},{"title":"Quote, contract section and order numbering","sidebarTitle":"Quote, contract and order","href":"/user-guide/templates/reference/quote-vs-order-vs-contract"},{"title":"Template settings","sidebarTitle":"Template settings","href":"/user-guide/templates/reference/template-settings"}]},{"group":"How-Tos","icon":"list-check","pages":[{"title":"Create a quote template","href":"/user-guide/templates/how-tos/create-quote-template"},{"title":"Link a contract model","href":"/user-guide/templates/how-tos/link-contract-model"},{"title":"Duplicate a template","sidebarTitle":"Duplicate a template","href":"/user-guide/templates/how-tos/duplicate-template"}]}]},{"group":"Approvals \u0026 Workflows","icon":"circle-check","pages":[{"title":"Approvals and Workflows","sidebarTitle":"Introduction","href":"/user-guide/workflows/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"How approvals work","sidebarTitle":"How approvals work","href":"/user-guide/workflows/reference/how-approvals-work"}]},{"group":"How-Tos","icon":"list-check","pages":[{"title":"Create an approval workflow","sidebarTitle":"Create workflow","href":"/user-guide/workflows/how-tos/create-approval-workflow"},{"title":"Approve or reject a quote","href":"/user-guide/workflows/how-tos/approve-or-reject-quote"}]}]},{"group":"Dealroom","icon":"handshake","pages":[{"title":"Dealroom","href":"/user-guide/dealroom/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"What is Dealroom","sidebarTitle":"What is Dealroom","href":"/user-guide/dealroom/reference/what-is-dealroom"},{"title":"The client view","sidebarTitle":"Client view","href":"/user-guide/dealroom/reference/client-view"},{"title":"Email tracking","sidebarTitle":"Email tracking","href":"/user-guide/dealroom/reference/email-tracking"}]},{"group":"How-Tos","icon":"list-check","pages":[{"title":"Publish a quote to Dealroom","href":"/user-guide/dealroom/how-tos/publish-quote"},{"title":"Configure the signature","sidebarTitle":"Configure the signature","href":"/user-guide/dealroom/how-tos/configure-signature"}]}]},{"group":"Documents \u0026 Models","icon":"folder","pages":[{"title":"Documents and Models","sidebarTitle":"Introduction","href":"/user-guide/documents/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"Contract model and variables","sidebarTitle":"Contract models","href":"/user-guide/documents/reference/contract-model-and-variables"},{"title":"Content blocks","href":"/user-guide/documents/reference/content-blocks"}]},{"group":"How-Tos","icon":"list-check","pages":[{"title":"Create a contract model","href":"/user-guide/documents/how-tos/create-contract-model"},{"title":"Use dynamic variables","href":"/user-guide/documents/how-tos/use-dynamic-variables"},{"title":"Manage the media library","sidebarTitle":"Manage media library","href":"/user-guide/documents/how-tos/manage-media-library"},{"title":"Add a contract to a quote","sidebarTitle":"Add a contract to a quote","href":"/user-guide/documents/how-tos/add-contract-to-quote"},{"title":"Create a content block","sidebarTitle":"Create a content block","href":"/user-guide/documents/how-tos/create-content-block"}]}]},{"group":"Settings (Admin)","icon":"sliders","pages":[{"title":"Settings","href":"/user-guide/settings/introduction"},{"group":"Workspace","icon":"building","pages":[{"title":"General workspace settings","sidebarTitle":"General","href":"/user-guide/settings/workspace/general"},{"title":"Business units","href":"/user-guide/settings/workspace/business-units"},{"title":"Quote settings","sidebarTitle":"Quote settings","href":"/user-guide/settings/workspace/quote-settings"},{"title":"Currencies and taxes","href":"/user-guide/settings/workspace/currencies-and-taxes"},{"title":"Payment terms","href":"/user-guide/settings/workspace/payment-terms"},{"title":"Payment methods","sidebarTitle":"Payment methods","href":"/user-guide/settings/workspace/payment-methods"},{"title":"Forms","href":"/user-guide/settings/workspace/forms"}]},{"group":"Users, Teams \u0026 Roles","icon":"user-shield","pages":[{"title":"Manage users","href":"/user-guide/settings/users/manage-users"},{"title":"Manage teams","sidebarTitle":"Manage teams","href":"/user-guide/settings/users/manage-teams"},{"title":"Manage roles","href":"/user-guide/settings/users/manage-roles"},{"title":"Permissions reference","sidebarTitle":"Permissions","href":"/user-guide/settings/users/reference/permissions"}]},{"group":"Languages","icon":"wrench","pages":[{"title":"Languages and localization","href":"/user-guide/settings/customization/translations"}]},{"group":"Developer","pages":[{"title":"API tokens","href":"/user-guide/settings/developer/api-tokens"},{"title":"Webhooks","href":"/user-guide/settings/developer/webhooks"}]},{"group":"Organisation","pages":[{"title":"Organisation and workspaces","sidebarTitle":"Introduction","href":"/user-guide/settings/organisation/introduction"},{"title":"Subscription and seats","href":"/user-guide/settings/organisation/subscription-and-seats"},{"title":"Create a workspace","href":"/user-guide/settings/organisation/how-tos/create-workspace"},{"title":"Switch workspace","href":"/user-guide/settings/organisation/how-tos/switch-workspace"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/user-guide/settings/integrations/introduction"},{"title":"CRM integrations","sidebarTitle":"CRM","href":"/user-guide/settings/integrations/crm"}]}]},{"group":"Data migration","icon":"database","pages":[{"title":"Data migration","sidebarTitle":"Overview","href":"/user-guide/data-migration/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"Supported file formats","sidebarTitle":"File formats","href":"/user-guide/data-migration/reference/file-formats"},{"title":"Field mapping","sidebarTitle":"Field mapping","href":"/user-guide/data-migration/reference/field-mapping"},{"title":"Uniqueness constraints","sidebarTitle":"Uniqueness constraints","href":"/user-guide/data-migration/reference/uniqueness-constraints"},{"title":"Import relations between objects","sidebarTitle":"Import relations","href":"/user-guide/data-migration/reference/import-relations"},{"title":"Error handling and validation","sidebarTitle":"Error handling","href":"/user-guide/data-migration/reference/error-handling"}]},{"group":"How-Tos","icon":"list-check","pages":[{"title":"Prepare your CSV files","sidebarTitle":"Prepare your CSV","href":"/user-guide/data-migration/how-tos/prepare-csv-files"},{"title":"Import products","sidebarTitle":"Import products","href":"/user-guide/data-migration/how-tos/import-products"},{"title":"Import and export prices","sidebarTitle":"Import \u0026 export prices","href":"/user-guide/data-migration/how-tos/import-prices"}]}]},{"group":"Data Model","icon":"diagram-project","pages":[{"title":"Data model","sidebarTitle":"Overview","href":"/user-guide/data-model/introduction"},{"group":"Reference","icon":"book-open","pages":[{"title":"Objects","sidebarTitle":"Objects","href":"/user-guide/data-model/reference/objects"},{"title":"Field types","sidebarTitle":"Field types","href":"/user-guide/data-model/reference/field-types"},{"title":"Field properties","sidebarTitle":"Field properties","href":"/user-guide/data-model/reference/field-properties"},{"title":"CRM mapping","sidebarTitle":"CRM mapping","href":"/user-guide/data-model/reference/crm-mapping"}]},{"group":"How-Tos","pages":[{"title":"Create a Quote custom field","sidebarTitle":"Quote custom field","href":"/user-guide/data-model/how-tos/create-quote-custom-field"},{"title":"Create a Product custom field","sidebarTitle":"Product custom field","href":"/user-guide/data-model/how-tos/create-product-custom-field"},{"title":"Create a Customer custom field","sidebarTitle":"Customer custom field","href":"/user-guide/data-model/how-tos/create-customer-custom-field"},{"title":"Create a Contract custom field","sidebarTitle":"Contract custom field","href":"/user-guide/data-model/how-tos/create-contract-custom-field"}]}]},{"group":"Troubleshooting","icon":"question-circle","pages":[{"title":"Why am I or my client not receiving Qwoty email notifications?","sidebarTitle":"Email notifications","icon":"envelope","href":"/user-guide/troubleshooting/email-notifications"}]}]},{"tab":"Developer Docs","icon":"books","anchors":[{"anchor":"Getting Started","icon":"book","pages":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/developers/introduction"},{"title":"Quickstart","href":"/developers/quickstart"},{"title":"Authentication","href":"/developers/authentication"}]},{"group":"Core concepts","pages":[{"title":"Rate limits and retries","href":"/developers/core-concepts/rate-limiting"},{"title":"Error handling","href":"/developers/core-concepts/error-handling"},{"title":"Webhooks","href":"/developers/core-concepts/webhooks"},{"title":"Build with LLMs","href":"/developers/core-concepts/build-with-llms"},{"title":"Permissions","href":"/developers/core-concepts/permissions"}]},{"group":"Resources","pages":[{"title":"Glossary","icon":"book-open","href":"/developers/resources/glossary"}]},{"group":"Compliance","pages":[{"title":"E-Sign Compliance","href":"/developers/compliance/e-sign-compliance"},{"title":"Signature levels","href":"/developers/compliance/signature-levels"},{"title":"Certifications \u0026 Regulatory Compliance","sidebarTitle":"Certifications \u0026 Compliance","href":"/developers/compliance/certifications-and-regulatory-compliance"},{"title":"GDPR","href":"/developers/compliance/gdpr"}]},{"group":"Policies","pages":[{"title":"Security","href":"/developers/policies/security"},{"title":"Terms of Service","href":"/developers/policies/terms-of-service"},{"title":"Privacy Policy","href":"/developers/policies/privacy-policy"},{"title":"Fair Use Policy","href":"/developers/policies/fair-use-policy"}]}]},{"anchor":"Integrations","icon":"link","pages":[{"group":"CRM","pages":[{"title":"Salesforce","icon":"salesforce","href":"/developers/integrations/crm/salesforce"},{"title":"HubSpot","icon":"hubspot","href":"/developers/integrations/crm/hubspot"},{"title":"Pipedrive","icon":"people-group","href":"/developers/integrations/crm/pipedrive"},{"title":"CRM sync fields","sidebarTitle":"Sync fields","icon":"table-list","href":"/developers/integrations/crm/crm-sync-fields"}]},{"group":"Billing","pages":[{"title":"Pennylane","icon":"dollar-circle","href":"/developers/integrations/billing/pennylane"},{"title":"Stripe - Invoice","icon":"stripe","href":"/developers/integrations/billing/stripe-invoice"},{"title":"Stripe Billing","icon":"stripe","href":"/developers/integrations/billing/stripe-billing"}]},{"group":"Messaging","pages":[{"title":"Slack","icon":"slack","href":"/developers/integrations/messaging/slack"},{"title":"Google Chat","icon":"google","href":"/developers/integrations/messaging/google-chat"},{"title":"Microsoft Teams","icon":"microsoft","href":"/developers/integrations/messaging/microsoft-teams"}]},{"group":"Payment link","pages":[{"title":"Stripe - Payment link","icon":"stripe","href":"/developers/integrations/payment-link/stripe-payment-link"}]}]},{"anchor":"Roadmap","icon":"map","hidden":true,"pages":[{"title":"Roadmap","icon":"map","href":"/developers/roadmap"}]}]},{"tab":"API Reference","icon":"code","anchors":[{"anchor":"API Reference","icon":"code","pages":[{"group":"Catalogs","expanded":true,"pages":[{"title":"Create Catalog","api":"POST https://qwoty.app/api/catalogs","href":"/api-reference/catalogs/create"},{"title":"List Catalogs","api":"GET https://qwoty.app/api/catalogs","href":"/api-reference/catalogs/list"},{"title":"Get Catalog","api":"GET https://qwoty.app/api/catalogs/{id}","href":"/api-reference/catalogs/get"},{"title":"Update Catalog","api":"PATCH https://qwoty.app/api/catalogs/{id}","href":"/api-reference/catalogs/update"}]},{"group":"Categories","expanded":true,"pages":[{"title":"Create Category","api":"POST https://qwoty.app/api/categories","href":"/api-reference/categories/create"},{"title":"List Categories","api":"GET https://qwoty.app/api/categories","href":"/api-reference/categories/list"},{"title":"Get Category","api":"GET https://qwoty.app/api/categories/{id}","href":"/api-reference/categories/get"},{"title":"Update Category","api":"PATCH https://qwoty.app/api/categories/{id}","href":"/api-reference/categories/update"},{"title":"Delete Category","api":"DELETE https://qwoty.app/api/categories/{id}","href":"/api-reference/categories/delete"}]},{"group":"Product Parents","expanded":true,"pages":[{"title":"Create Product Parent","api":"POST https://qwoty.app/api/product-parents","href":"/api-reference/product-parents/create"},{"title":"List Product Parents","api":"GET https://qwoty.app/api/product-parents","href":"/api-reference/product-parents/list"},{"title":"Get Product Parent","api":"GET https://qwoty.app/api/product-parents/{id}","href":"/api-reference/product-parents/get"},{"title":"Update Product Parent","api":"PATCH https://qwoty.app/api/product-parents/{id}","href":"/api-reference/product-parents/update"}]},{"group":"Products","expanded":true,"pages":[{"title":"Create Product","api":"POST https://qwoty.app/api/products","href":"/api-reference/products/create"},{"title":"List Products","api":"GET https://qwoty.app/api/products","href":"/api-reference/products/list"},{"title":"Get Product","api":"GET https://qwoty.app/api/products/{id}","href":"/api-reference/products/get"},{"title":"Update Product","api":"PATCH https://qwoty.app/api/products/{id}","href":"/api-reference/products/update"}]},{"group":"Prices","expanded":true,"pages":[{"title":"List All Prices","api":"GET https://qwoty.app/api/prices","href":"/api-reference/prices/list"},{"title":"Get Price","api":"GET https://qwoty.app/api/prices/{id}","href":"/api-reference/prices/get"},{"title":"Update Price","api":"PATCH https://qwoty.app/api/prices/{id}","href":"/api-reference/prices/update"}]},{"group":"Payment Terms","expanded":true,"pages":[{"title":"Create Payment Term","api":"POST https://qwoty.app/api/payment-terms","href":"/api-reference/payment-terms/create"},{"title":"List Payment Terms","api":"GET https://qwoty.app/api/payment-terms","href":"/api-reference/payment-terms/list"},{"title":"Get Payment Term","api":"GET https://qwoty.app/api/payment-terms/{id}","href":"/api-reference/payment-terms/get"},{"title":"Update Payment Term","api":"PATCH https://qwoty.app/api/payment-terms/{id}","href":"/api-reference/payment-terms/update"},{"title":"Delete","href":"/api-reference/payment-terms/delete"}]},{"group":"Customers","expanded":true,"pages":[{"title":"Create Customer","api":"POST https://qwoty.app/api/customers","href":"/api-reference/customers/create"},{"title":"List Customers","api":"GET https://qwoty.app/api/customers","href":"/api-reference/customers/list"},{"title":"Get Customer","api":"GET https://qwoty.app/api/customers/{id}","href":"/api-reference/customers/get"},{"title":"Update Customer","api":"PATCH https://qwoty.app/api/customers/{id}","href":"/api-reference/customers/update"}]},{"group":"Contacts","expanded":true,"pages":[{"title":"Create Contact","api":"POST https://qwoty.app/api/contacts","href":"/api-reference/contacts/create"},{"title":"List Contacts","api":"GET https://qwoty.app/api/contacts","href":"/api-reference/contacts/list"},{"title":"Get Contact","api":"GET https://qwoty.app/api/contacts/{id}","href":"/api-reference/contacts/get"},{"title":"Update Contact","api":"PATCH https://qwoty.app/api/contacts/{id}","href":"/api-reference/contacts/update"}]},{"group":"Addresses","expanded":true,"pages":[{"title":"Create Address","api":"POST https://qwoty.app/api/addresses","href":"/api-reference/addresses/create"},{"title":"List Addresses","api":"GET https://qwoty.app/api/addresses","href":"/api-reference/addresses/list"},{"title":"Get Address","api":"GET https://qwoty.app/api/addresses/{id}","href":"/api-reference/addresses/get"},{"title":"Update Address","api":"PATCH https://qwoty.app/api/addresses/{id}","href":"/api-reference/addresses/update"}]},{"group":"Quotes","expanded":true,"pages":[{"title":"List Quotes","api":"GET https://qwoty.app/api/quote","href":"/api-reference/quotes/list"},{"title":"Get Quote","api":"GET https://qwoty.app/api/quote/{id}","href":"/api-reference/quotes/get"},{"title":"Get Quote PDF","api":"GET https://qwoty.app/api/projects/{id}/pdf","href":"/api-reference/quotes/get-pdf"}]},{"group":"Media","expanded":true,"pages":[{"title":"Get Media","api":"GET https://qwoty.app/api/medias/{id}","href":"/api-reference/media/get"}]},{"group":"Tokens","expanded":true,"pages":[{"title":"Create API Token","api":"POST https://qwoty.app/api/tokens","href":"/api-reference/tokens/create"},{"title":"List API Tokens","api":"GET https://qwoty.app/api/tokens","href":"/api-reference/tokens/list"},{"title":"Delete API Token","api":"DELETE https://qwoty.app/api/tokens/{id}","href":"/api-reference/tokens/delete"}]}]},{"anchor":"Roadmap","icon":"map","hidden":true,"pages":[{"title":"Roadmap","icon":"map","href":"/developers/roadmap"}]}]},{"tab":"Changelog","icon":"bolt-lightning","pages":[{"title":"Changelog","mode":"wide","href":"/changelog"},{"title":" API Breaking changes the 26/10 at 08h00","hidden":true,"href":"/changelog/26-10-api-breaking-changes"}]}]},{"language":"fr","pages":[{"title":"fr","href":"/api-reference/categories/create"}]}]},"title":"Créer une catégorie - Qwoty","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js"]}