Everything you need to start integrating with the Buylo API.
Overview
The Buylo API gives you programmatic access to your retail management platform. Use it to register products, manage RFID tag assignments, sync inventory, and integrate Buylo into your existing systems and workflows.The API is built around standard HTTP conventions and returns JSON responses. It is designed to be predictable and easy to integrate — whether you are connecting a WMS, an ERP, or building a custom automation.Base URL
https://api.buylo.app/
What you can do with the API
Register and update products in your Buylo
Assign and manage RFID tags linked to specific products
Query inventory state and tag read history
Trigger and monitor antenna hooks and RFID events
Sync data with external ERP or WMS systems
Authentication
All API requests must be authenticated using an API token. Tokens are generated and managed from the Buylo administration panel under Settings → API Tokens. There is no OAuth flow — authentication is straightforward Bearer token auth.
Generating a token
Log in to your Buylo administration account.
Navigate to Settings → API Tokens.
Click Generate new token and give it a descriptive name (e.g. Production ERP, Staging test).
Copy the token immediately — it will not be shown again.
Set an expiration date and store the token securely.
Using your token
Include the token in the Authorization header of every request:
GET /v1/products HTTP/1.1Host: api.buylo.appAuthorization: Bearer YOUR_API_TOKENAccept: application/json
Token lifecycle
Tokens are scoped to your tenant — they cannot access data from other organizations.
Each token has a configurable expiration date. Expired tokens are rejected immediately.
You can create multiple tokens for different systems or environments.
Revoke a token at any time from the admin panel. Revocation takes effect instantly.
If you delete a token, any system still using it will receive a 401 Unauthorized response. Make sure to update all dependent systems before deleting.
Never commit API tokens to source control. Use environment variables or a secrets manager. Create separate tokens for production, staging, and development environments, and name them clearly so you can identify which system is using each one.
Errors
The Buylo API uses standard HTTP status codes. Errors always return a JSON body with a human-readable message to help you debug quickly.
Error response format
{ "message": "<string>"}
Status codes
Status
Code
Description
200
ok
Request was successful.
400
validation_error
Missing or invalid request parameters.
401
unauthorized
API token is missing, invalid, or expired.
403
forbidden
Token does not have permission for this resource.
404
not_found
The requested resource does not exist.
409
conflict
Resource already exists (e.g. tag already assigned).
422
unprocessable
Request is well-formed but cannot be processed.
500
server_error
Something went wrong on our end. Try again later.
Recommended error handling
Always check the HTTP status code before parsing the response body.
On 401 errors, verify your token has not expired in the admin panel.
On 409 conflicts for tag assignment, unassign the existing tag first.
On 5xx errors, implement exponential backoff with a retry limit of 3 attempts.
Log the full error response body — the message field often pinpoints the exact issue.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Buylo documentation","colors":{"primary":"#62C5C7","light":"#f3ffff","dark":"#4A9999"},"logo":{"light":"https://mintcdn.com/buylo-67b82834/tY0qEQ0MlqSg_ptg/logo/logo-buylo.svg?fit=max\u0026auto=format\u0026n=tY0qEQ0MlqSg_ptg\u0026q=85\u0026s=7c4aa0e4f0f2b0cfbade52769d1419a3","dark":"https://mintcdn.com/buylo-67b82834/tY0qEQ0MlqSg_ptg/logo/logo-buylo.svg?fit=max\u0026auto=format\u0026n=tY0qEQ0MlqSg_ptg\u0026q=85\u0026s=7c4aa0e4f0f2b0cfbade52769d1419a3"},"favicon":"https://mintcdn.com/buylo-67b82834/xAN8S_u7UMqE_ZrD/favicon.ico?fit=max\u0026auto=format\u0026n=xAN8S_u7UMqE_ZrD\u0026q=85\u0026s=0a32b2334efa6bf1bda9b522257a1435","navbar":{"links":[{"href":"mailto:support@buylo.ai","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"buylo-67b82834","hasAudioNarration":false,"actualSubdomain":"buylo-67b82834","customDomains":["docs.buylo.ai"],"gitSource":{"type":"github","owner":"industrial-it-s-r-o","repo":"buylo-mintlify-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9486f2b3cf0697cfe0a32:success","clientVersion":"0.0.4277","searchFilterCounts":[{"language":"default","tag":"Buylo API","count":18},{"language":"default","tag":"API","count":17},{"language":"default","tag":"Inventories","count":5},{"language":"default","tag":"Product EPC","count":4},{"language":"default","tag":"Products","count":4},{"language":"default","tag":"Buylo documentation","count":1},{"language":"default","tag":"Antennas","count":1},{"language":"default","tag":"EAN Registry","count":1},{"language":"default","tag":"Locations","count":1},{"language":"default","tag":"Packing Stations","count":1}]},"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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/introduction","slug":"/api-reference/introduction","pageMetadata":{"title":"Introduction","description":"Everything you need to start integrating with the Buylo API.","href":"/api-reference/introduction"},"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: \"Everything you need to start integrating with the Buylo API.\"\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`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`The Buylo API gives you programmatic access to your retail management platform. Use it to register products, manage RFID tag assignments, sync inventory, and integrate Buylo into your existing systems and workflows.`}),`\n`,_jsx(_components.p,{children:`The API is built around standard HTTP conventions and returns JSON responses. It is designed to be predictable and easy to integrate — whether you are connecting a WMS, an ERP, or building a custom automation.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Base URL`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.buylo.app/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`what-you-can-do-with-the-api`,children:`What you can do with the API`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Register and update products in your Buylo`}),`\n`,_jsx(_components.li,{children:`Assign and manage RFID tags linked to specific products`}),`\n`,_jsx(_components.li,{children:`Query inventory state and tag read history`}),`\n`,_jsx(_components.li,{children:`Trigger and monitor antenna hooks and RFID events`}),`\n`,_jsx(_components.li,{children:`Sync data with external ERP or WMS systems`}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`All API requests must be authenticated using an API token. Tokens are generated and managed from the Buylo administration panel under `,_jsx(_components.strong,{children:`Settings → API Tokens`}),`. There is no OAuth flow — authentication is straightforward Bearer token auth.`]}),`\n`,_jsx(Heading,{level:`3`,id:`generating-a-token`,children:`Generating a token`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Log in to your Buylo administration account.`}),`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`Settings → API Tokens`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Generate new token`}),` and give it a descriptive name (e.g. `,_jsx(_components.code,{children:`Production ERP`}),`, `,_jsx(_components.code,{children:`Staging test`}),`).`]}),`\n`,_jsx(_components.li,{children:`Copy the token immediately — it will not be shown again.`}),`\n`,_jsx(_components.li,{children:`Set an expiration date and store the token securely.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`using-your-token`,children:`Using your token`}),`\n`,_jsxs(_components.p,{children:[`Include the token in the `,_jsx(_components.code,{children:`Authorization`}),` header of every request:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/products `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Host`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` api.buylo.app`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer YOUR_API_TOKEN`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`token-lifecycle`,children:`Token lifecycle`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Tokens are scoped to your tenant — they cannot access data from other organizations.`}),`\n`,_jsx(_components.li,{children:`Each token has a configurable expiration date. Expired tokens are rejected immediately.`}),`\n`,_jsx(_components.li,{children:`You can create multiple tokens for different systems or environments.`}),`\n`,_jsx(_components.li,{children:`Revoke a token at any time from the admin panel. Revocation takes effect instantly.`}),`\n`,_jsxs(_components.li,{children:[`If you delete a token, any system still using it will receive a `,_jsx(_components.code,{children:`401 Unauthorized`}),` response. Make sure to update all dependent systems before deleting.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Never commit API tokens to source control. Use environment variables or a secrets manager. Create separate tokens for production, staging, and development environments, and name them clearly so you can identify which system is using each one.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`The Buylo API uses standard HTTP status codes. Errors always return a JSON body with a human-readable `,_jsx(_components.code,{children:`message`}),` to help you debug quickly.`]}),`\n`,_jsx(Heading,{level:`3`,id:`error-response-format`,children:`Error response format`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cstring>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ok`})}),_jsx(_components.td,{children:`Request was successful.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_error`})}),_jsx(_components.td,{children:`Missing or invalid request parameters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`unauthorized`})}),_jsx(_components.td,{children:`API token is missing, invalid, or expired.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`forbidden`})}),_jsx(_components.td,{children:`Token does not have permission for this resource.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{children:`The requested resource does not exist.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`conflict`})}),_jsx(_components.td,{children:`Resource already exists (e.g. tag already assigned).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`unprocessable`})}),_jsx(_components.td,{children:`Request is well-formed but cannot be processed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`server_error`})}),_jsx(_components.td,{children:`Something went wrong on our end. Try again later.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`recommended-error-handling`,children:`Recommended error handling`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Always check the HTTP status code before parsing the response body.`}),`\n`,_jsxs(_components.li,{children:[`On `,_jsx(_components.code,{children:`401`}),` errors, verify your token has not expired in the admin panel.`]}),`\n`,_jsxs(_components.li,{children:[`On `,_jsx(_components.code,{children:`409`}),` conflicts for tag assignment, unassign the existing tag first.`]}),`\n`,_jsxs(_components.li,{children:[`On `,_jsx(_components.code,{children:`5xx`}),` errors, implement exponential backoff with a retry limit of 3 attempts.`]}),`\n`,_jsxs(_components.li,{children:[`Log the full error response body — the `,_jsx(_components.code,{children:`message`}),` field often pinpoints the exact issue.`]}),`\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.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Introduction","description":"Everything you need to start integrating with the Buylo API.","href":"/api-reference/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[{"title":"What you can do with the API","slug":"what-you-can-do-with-the-api","depth":3,"children":[]}]},{"title":"Authentication","slug":"authentication","depth":2,"children":[{"title":"Generating a token","slug":"generating-a-token","depth":3,"children":[]},{"title":"Using your token","slug":"using-your-token","depth":3,"children":[]},{"title":"Token lifecycle","slug":"token-lifecycle","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[{"title":"Error response format","slug":"error-response-format","depth":3,"children":[]},{"title":"Status codes","slug":"status-codes","depth":3,"children":[]},{"title":"Recommended error handling","slug":"recommended-error-handling","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"buylo-67b82834","siteName":"Buylo documentation","title":"Introduction - Buylo documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-25T13:58:42.769Z","originalFileLocation":"api-reference/introduction.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=\"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=\"Everything you need to start integrating with the Buylo API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Buylo documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/buylo-67b82834/n9MgASwVGmyqyCBg/_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/buylo-67b82834/n9MgASwVGmyqyCBg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/buylo-67b82834/n9MgASwVGmyqyCBg/_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/buylo-67b82834/n9MgASwVGmyqyCBg/_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/buylo-67b82834/n9MgASwVGmyqyCBg/_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/buylo-67b82834/n9MgASwVGmyqyCBg/_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/buylo-67b82834/n9MgASwVGmyqyCBg/_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/buylo-67b82834/n9MgASwVGmyqyCBg/_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/buylo-67b82834/n9MgASwVGmyqyCBg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Introduction - Buylo documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Everything you need to start integrating with the Buylo API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Buylo documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.buylo.ai/api-reference/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://buylo-67b82834.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Introduction\u0026amp;description=Everything+you+need+to+start+integrating+with+the+Buylo+API.\u0026amp;theme=fe5ee8f1c1370ac717da28aa\u0026amp;signature=8456e414f05c994abe99946445a70f47aaccfb2324b0606384d8e1dde613be38\">\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=\"Introduction - Buylo documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Everything you need to start integrating with the Buylo API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://buylo-67b82834.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Introduction\u0026amp;description=Everything+you+need+to+start+integrating+with+the+Buylo+API.\u0026amp;theme=fe5ee8f1c1370ac717da28aa\u0026amp;signature=8456e414f05c994abe99946445a70f47aaccfb2324b0606384d8e1dde613be38\">\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/buylo-67b82834/n9MgASwVGmyqyCBg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Buylo documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#62C5C7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.buylo.ai/api-reference/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/introduction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.buylo.ai/#organization\",\"name\":\"Buylo documentation\",\"url\":\"https://docs.buylo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/buylo-67b82834/tY0qEQ0MlqSg_ptg/logo/logo-buylo.svg?fit=max\u0026auto=format\u0026n=tY0qEQ0MlqSg_ptg\u0026q=85\u0026s=7c4aa0e4f0f2b0cfbade52769d1419a3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.buylo.ai#website\",\"name\":\"Buylo documentation\",\"url\":\"https://docs.buylo.ai\",\"publisher\":{\"@id\":\"https://docs.buylo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.buylo.ai/api-reference/introduction#webpage\",\"url\":\"https://docs.buylo.ai/api-reference/introduction\",\"name\":\"Introduction\",\"description\":\"Everything you need to start integrating with the Buylo API.\",\"dateModified\":\"2026-02-25T13:58:42.769Z\",\"isPartOf\":{\"@id\":\"https://docs.buylo.ai#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.buylo.ai/api-reference/introduction#article\",\"headline\":\"Introduction\",\"name\":\"Introduction\",\"description\":\"Everything you need to start integrating with the Buylo API.\",\"url\":\"https://docs.buylo.ai/api-reference/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.buylo.ai/api-reference/introduction#webpage\"},\"dateModified\":\"2026-02-25T13:58:42.769Z\",\"publisher\":{\"@id\":\"https://docs.buylo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.buylo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Buylo documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Buylo documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/introduction.md","siteName":"Buylo documentation","nav":{"global":null,"tabs":[{"tab":"Guides","hidden":true,"pages":[{"title":"Guides","href":""}]},{"tab":"Buylo documentation","pages":[{"title":"Buylo documentation","href":"/buylo-database-synchronization-bridge-external-integration-guide"}]},{"tab":"Buylo API","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"API","expanded":true,"pages":[{"group":"Products","pages":[{"title":"List all products","description":"Returns all products with their EPC assignments and latest locations.","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/external/products","href":"/api-reference/products/list-all-products"},{"title":"Create product from EAN registry","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml post /api/products/create-from-ean-registry","href":"/api-reference/products/create-product-from-ean-registry"},{"title":"Create or update product with EPC IDs","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml post /api/products/create-with-epc","href":"/api-reference/products/create-or-update-product-with-epc-ids"},{"title":"Bulk-pack multiple identical units under a single group","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml post /api/products/bulk-pack","href":"/api-reference/products/bulk-pack-multiple-identical-units-under-a-single-group"}]},{"group":"Product EPC","pages":[{"title":"Get Product EPCs","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/product-epc","href":"/api-reference/product-epc/get-product-epcs"},{"title":"Get Product by EPC Hash","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/product-epc/{product_epc_hash}","href":"/api-reference/product-epc/get-product-by-epc-hash"},{"title":"Change Product EPC State","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml patch /api/product-epc/{product_epc_hash}/state","href":"/api-reference/product-epc/change-product-epc-state"},{"title":"Create or update product and assign EPC on an antenna","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml post /api/antennas/{antenna_uuid}/product-epc","href":"/api-reference/product-epc/create-or-update-product-and-assign-epc-on-an-antenna"}]},{"group":"Inventories","pages":[{"title":"List inventories","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/inventory","href":"/api-reference/inventories/list-inventories"},{"title":"Create inventory","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml post /api/inventory","href":"/api-reference/inventories/create-inventory"},{"title":"Get inventory by ID","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/inventory/{inventory}","href":"/api-reference/inventories/get-inventory-by-id"},{"title":"Get all product EPCs on a warehouse node","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/inventory/warehouse-nodes/{warehouse_node}/product-epc","href":"/api-reference/inventories/get-all-product-epcs-on-a-warehouse-node"},{"title":"Create manual inventory (bulk)","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml post /api/inventories/manual/create","href":"/api-reference/inventories/create-manual-inventory-bulk"}]},{"group":"Antennas","pages":[{"title":"Get aggregated product status for multiple antennas","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/antennas/status","href":"/api-reference/antennas/get-aggregated-product-status-for-multiple-antennas"}]},{"group":"Packing Stations","pages":[{"title":"Get aggregated product status for a packing station","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/packing-station/{packing_station_uuid}/status","href":"/api-reference/packing-stations/get-aggregated-product-status-for-a-packing-station"}]},{"group":"Locations","pages":[{"title":"List all locations","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/external/locations","href":"/api-reference/locations/list-all-locations"}]},{"group":"EAN Registry","pages":[{"title":"Download the EAN registry","deprecated":null,"version":null,"openapi":"https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/external/ean-registry","href":"/api-reference/ean-registry/download-the-ean-registry"}]}]}]}]},"basePath":"","title":"Introduction - Buylo documentation","deploymentId":"dpl_BzgRxZmUbhHRoPLkBx1DiVRSyQhV","buildId":"dpl_BzgRxZmUbhHRoPLkBx1DiVRSyQhV","dynamics":[],"chunks":[]}