{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Alguna Docs","colors":{"primary":"#00BA61","light":"#FFFFFF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/alguna-20/hip-SL42XieIK0Ru/logo/light.svg?fit=max\u0026auto=format\u0026n=hip-SL42XieIK0Ru\u0026q=85\u0026s=71436010713272c2db3828c5275207a3","dark":"https://mintcdn.com/alguna-20/hip-SL42XieIK0Ru/logo/dark.svg?fit=max\u0026auto=format\u0026n=hip-SL42XieIK0Ru\u0026q=85\u0026s=9e7341031c0b41384603cf6dcc500e70"},"favicon":"https://mintcdn.com/alguna-20/vTO84Dvkxt4l7dcX/logo/favicon.png?fit=max\u0026auto=format\u0026n=vTO84Dvkxt4l7dcX\u0026q=85\u0026s=e8976e8afe662327a08b9cff93c75acc","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","python","javascript"],"prefill":true},"mdx":{"auth":{"method":"bearer"}}},"appearance":{"default":"dark","strict":false},"background":{"decoration":"windows"},"navbar":{"links":[{"href":"mailto:support@alguna.io","label":"Support"},{"href":"https://app.alguna.io","label":"Login"}],"primary":{"type":"button","label":"Get Started","href":"https://cal.com/alguna/demo"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/algunahq","x":"https://x.com/algunahq"}},"seo":{"metatags":{"canonical":"https://alguna.com/docs"},"organization":{"id":"https://alguna.com/#organization","name":"Alguna","legalName":"Alguna Inc","url":"https://alguna.com/","logo":"https://alguna.com/alguna-logo-black.svg"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alguna-20","hasAudioNarration":false,"actualSubdomain":"alguna-20","customDomains":["alguna.com"],"gitSource":{"type":"github","owner":"alguna-io","repo":"monorepo","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae8d82d0eaa9b5a32aa4cfc","collectionId":"fee99b0d-13b8-42bd-ba91-498c6b14c598","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae8d82d0eaa9b5a32aa4cfc"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae90402069fd935d923e764","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API References","count":182},{"language":"default","tag":"API Reference","count":148},{"language":"default","tag":"Documentation","count":82},{"language":"default","tag":"Subscriptions","count":34},{"language":"default","tag":"Webhooks","count":26},{"language":"default","tag":"Invoices","count":23},{"language":"default","tag":"Integrations","count":21},{"language":"default","tag":"Quotes","count":16},{"language":"default","tag":"Insights","count":15},{"language":"default","tag":"Customers","count":14}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@alguna.io"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/customers/getByID","slug":"/api-reference/customers/getByID","pageMetadata":{"noindex":true,"title":"Get Customer","api":"GET https://api.alguna.io/accounts/{id}","description":null,"href":"/api-reference/customers/getByID"},"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`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;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:`params`,children:`Params`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the account to fetch.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The Alguna ID of the account.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the account.`})}),`\n`,_jsx(ResponseField,{name:`aliases`,type:`[]string`,id:`param-aliases`,children:_jsxs(_components.p,{children:[`The list of alternative or external IDs for the account. These can be used to\nidentify the account in place of the Alguna `,_jsx(_components.code,{children:`id`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`contacts`,type:`[]Contact`,id:`param-contacts`,children:[_jsx(_components.p,{children:`The contacts associated with the account.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`The Alguna ID of the contact.`})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`The email address of the contact.`})}),_jsx(ResponseField,{name:`firstName`,type:`string`,id:`param-first-name`,children:_jsx(_components.p,{children:`The first name of the contact.`})}),_jsx(ResponseField,{name:`lastName`,type:`string`,id:`param-last-name`,children:_jsx(_components.p,{children:`The last name of the contact.`})}),_jsx(ResponseField,{name:`isPrimary`,type:`string`,id:`param-is-primary`,children:_jsx(_components.p,{children:`Whether the contact is the primary contact for the account.`})}),_jsx(ResponseField,{name:`emailPreferences`,type:`[]string`,id:`param-email-preferences`,children:_jsxs(_components.p,{children:[`The email preferences for the contact. Valid values are `,_jsx(_components.code,{children:`updates`}),` and\n`,_jsx(_components.code,{children:`billing`}),`.`]})})]})]}),`\n`,_jsxs(ResponseField,{name:`billingAddress`,type:`Address`,id:`param-billing-address`,children:[_jsx(_components.p,{children:`The billing address for the account.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`line1`,type:`string`,id:`param-line1`,children:_jsx(_components.p,{children:`The first line of the address.`})}),_jsx(ResponseField,{name:`line2`,type:`string`,id:`param-line2`,children:_jsx(_components.p,{children:`The second line of the address.`})}),_jsx(ResponseField,{name:`city`,type:`string`,id:`param-city`,children:_jsx(_components.p,{children:`The city of the address.`})}),_jsx(ResponseField,{name:`state`,type:`string`,id:`param-state`,children:_jsx(_components.p,{children:`The state of the address.`})}),_jsx(ResponseField,{name:`postalCode`,type:`string`,id:`param-postal-code`,children:_jsx(_components.p,{children:`The postal code / zip code of the address.`})}),_jsx(ResponseField,{name:`country`,type:`string`,id:`param-country`,children:_jsx(_components.p,{children:`The country of the address.`})})]})]}),`\n`,_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`The ISO 4217 currency in which the account is billed.`})}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`datetime`,id:`param-created-at`,children:_jsx(_components.p,{children:`The date and time at which the account was created.`})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`datetime`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The date and time at which the account was last updated.`})})]})}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":{"noindex":true,"title":"Get Customer","api":"GET https://api.alguna.io/accounts/{id}","description":null,"href":"/api-reference/customers/getByID"}}},"mdxSourceWithNoJs":{"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,Expandable,Heading,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`params`,children:`Params`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the account to fetch.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`33`,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:`33`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ywgWhtGp\"`}),_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:`\"GoJo\"`}),_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:` \"aliases\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"JoGo\"`}),_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:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_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:` \"billingAddress\"`}),_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:` \"line1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123 Main St\"`}),_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:` \"line2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Suite 100\"`}),_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:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"New York\"`}),_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:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NY\"`}),_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:` \"postalCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contacts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OLgPyqFF\"`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sales@gojo.com\"`}),_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:` \"firstName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Henry\"`}),_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:` \"lastName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sules\"`}),_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:` \"isPrimary\"`}),_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:` \"emailPreferences\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"updates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FdqPzqFG\"`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"finance@gojo.com\"`}),_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:` \"firstName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Accounts\"`}),_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:` \"lastName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Receivable\"`}),_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:` \"isPrimary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"emailPreferences\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"billing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-09-05T21:54:54.609688Z\"`}),_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:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-09-05T21:54:54.609689Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The Alguna ID of the account.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the account.`})}),`\n`,_jsx(ResponseField,{name:`aliases`,type:`[]string`,id:`param-aliases`,children:_jsxs(_components.p,{children:[`The list of alternative or external IDs for the account. These can be used to\nidentify the account in place of the Alguna `,_jsx(_components.code,{children:`id`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`contacts`,type:`[]Contact`,id:`param-contacts`,children:[_jsx(_components.p,{children:`The contacts associated with the account.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`The Alguna ID of the contact.`})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`The email address of the contact.`})}),_jsx(ResponseField,{name:`firstName`,type:`string`,id:`param-first-name`,children:_jsx(_components.p,{children:`The first name of the contact.`})}),_jsx(ResponseField,{name:`lastName`,type:`string`,id:`param-last-name`,children:_jsx(_components.p,{children:`The last name of the contact.`})}),_jsx(ResponseField,{name:`isPrimary`,type:`string`,id:`param-is-primary`,children:_jsx(_components.p,{children:`Whether the contact is the primary contact for the account.`})}),_jsx(ResponseField,{name:`emailPreferences`,type:`[]string`,id:`param-email-preferences`,children:_jsxs(_components.p,{children:[`The email preferences for the contact. Valid values are `,_jsx(_components.code,{children:`updates`}),` and\n`,_jsx(_components.code,{children:`billing`}),`.`]})})]})]}),`\n`,_jsxs(ResponseField,{name:`billingAddress`,type:`Address`,id:`param-billing-address`,children:[_jsx(_components.p,{children:`The billing address for the account.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`line1`,type:`string`,id:`param-line1`,children:_jsx(_components.p,{children:`The first line of the address.`})}),_jsx(ResponseField,{name:`line2`,type:`string`,id:`param-line2`,children:_jsx(_components.p,{children:`The second line of the address.`})}),_jsx(ResponseField,{name:`city`,type:`string`,id:`param-city`,children:_jsx(_components.p,{children:`The city of the address.`})}),_jsx(ResponseField,{name:`state`,type:`string`,id:`param-state`,children:_jsx(_components.p,{children:`The state of the address.`})}),_jsx(ResponseField,{name:`postalCode`,type:`string`,id:`param-postal-code`,children:_jsx(_components.p,{children:`The postal code / zip code of the address.`})}),_jsx(ResponseField,{name:`country`,type:`string`,id:`param-country`,children:_jsx(_components.p,{children:`The country of the address.`})})]})]}),`\n`,_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`The ISO 4217 currency in which the account is billed.`})}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`datetime`,id:`param-created-at`,children:_jsx(_components.p,{children:`The date and time at which the account was created.`})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`datetime`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The date and time at which the account was last updated.`})})]})}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":{"noindex":true,"title":"Get Customer","api":"GET https://api.alguna.io/accounts/{id}","description":null,"href":"/api-reference/customers/getByID"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Params","slug":"params","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Response","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=\"33\">\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\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ywgWhtGp\"\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\">\"GoJo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"aliases\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"JoGo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingAddress\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"line1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"123 Main St\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"line2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Suite 100\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"city\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"New York\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"state\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"postalCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"10001\"\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:#116329;--shiki-dark:#9CDCFE\"> \"contacts\"\u003c/span>\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\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\">\"OLgPyqFF\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"sales@gojo.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"firstName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Henry\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lastName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Sules\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isPrimary\"\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\"> \"emailPreferences\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"updates\"\u003c/span>\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\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\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FdqPzqFG\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"finance@gojo.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"firstName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Accounts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lastName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Receivable\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isPrimary\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"emailPreferences\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"billing\"\u003c/span>\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\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\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-09-05T21:54:54.609688Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-09-05T21:54:54.609689Z\"\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":"Get Customer","path":"/accounts/{id}","servers":[{"url":"https://api.alguna.io"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The ID of the account to fetch."}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"The Alguna ID of the account."}],"name":[{"type":"string","description":"The name of the account."}],"aliases":[{"type":"object","properties":{},"description":"The list of alternative or external IDs for the account. These can be used to identify the account in place of the Alguna `id` ."}],"contacts":[{"type":"object","properties":{"id":[{"type":"string","description":"The Alguna ID of the contact."}],"email":[{"type":"string","description":"The email address of the contact."}],"firstName":[{"type":"string","description":"The first name of the contact."}],"lastName":[{"type":"string","description":"The last name of the contact."}],"isPrimary":[{"type":"string","description":"Whether the contact is the primary contact for the account."}],"emailPreferences":[{"type":"object","properties":{},"description":"The email preferences for the contact. Valid values are `updates` and `billing` ."}]},"description":"The contacts associated with the account."}],"billingAddress":[{"type":"object","properties":{"line1":[{"type":"string","description":"The first line of the address."}],"line2":[{"type":"string","description":"The second line of the address."}],"city":[{"type":"string","description":"The city of the address."}],"state":[{"type":"string","description":"The state of the address."}],"postalCode":[{"type":"string","description":"The postal code / zip code of the address."}],"country":[{"type":"string","description":"The country of the address."}]},"description":"The billing address for the account."}],"currency":[{"type":"string","description":"The ISO 4217 currency in which the account is billed."}],"createdAt":[{"type":"object","properties":{},"description":"The date and time at which the account was created."}],"updatedAt":[{"type":"object","properties":{},"description":"The date and time at which the account was last updated."}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","name":"\u003cstring>","aliases":{},"contacts":{"id":"\u003cstring>","email":"\u003cstring>","firstName":"\u003cstring>","lastName":"\u003cstring>","isPrimary":"\u003cstring>","emailPreferences":{}},"billingAddress":{"line1":"\u003cstring>","line2":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","postalCode":"\u003cstring>","country":"\u003cstring>"},"currency":"\u003cstring>","createdAt":{},"updatedAt":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"alguna-20","siteName":"Alguna Docs","title":"Get Customer - Alguna Docs","navMaps":{"firstHrefInVersion":{"2026-04-01":{"href":"/api-reference/v2/overview","matchLevel":3},"v1":{"href":"/api-reference/customers/getByID","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T18:37:09.192Z","originalFileLocation":"api-reference/customers/getByID.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Alguna Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_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=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Customer - Alguna Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Alguna Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://alguna.com/docs/api-reference/customers/getByID\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alguna-20.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Get+Customer\u0026amp;theme=f6c1ec92a0e2bfb7a1fcd8d8\u0026amp;signature=f43a8b2eeb89c78d8c9709e9992aa971ec145fcf87b185e3056bbe4fd0a5ea7f\">\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=\"Get Customer - Alguna Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alguna-20.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Get+Customer\u0026amp;theme=f6c1ec92a0e2bfb7a1fcd8d8\u0026amp;signature=f43a8b2eeb89c78d8c9709e9992aa971ec145fcf87b185e3056bbe4fd0a5ea7f\">\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=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Alguna Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00BA61\">\u003clink data-mint-head rel=\"canonical\" href=\"https://alguna.com/docs/api-reference/customers/getByID\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/customers/getByID.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Alguna Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Alguna Docs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/overview"}]},{"anchor":"Quick Starts","icon":"rocket","pages":[{"title":"Quick Starts","href":"/quickstarts/overview"}]},{"anchor":"API References","icon":"code","versions":[{"version":"2026-04-01","pages":[{"title":"2026-04-01","href":"/api-reference/v2/overview"}]},{"version":"v1","tag":"Deprecated","groups":[{"group":"API Reference","pages":[{"title":"Overview","icon":"plug","href":"/api-reference/overview"}]},{"group":"Billing Events \u0026 Usage Metering","pages":[{"title":"Ingest Billable Events","api":"POST https://api.alguna.io/events","href":"/api-reference/events/ingest"},{"title":"Create Billable Metric","api":"POST https://api.alguna.io/metrics","href":"/api-reference/events/createMetric"},{"title":"Get Billable Metric","api":"GET https://api.alguna.io/metrics/{id}","href":"/api-reference/events/getMetric"},{"title":"List Billable Metrics","api":"GET https://api.alguna.io/metrics","href":"/api-reference/events/listMetrics"},{"title":"Update Billable Metric","api":"PUT https://api.alguna.io/metrics/{id}","href":"/api-reference/events/updateMetric"}]},{"group":"Bundles","pages":[{"title":"Create Bundle","api":"POST https://api.alguna.io/price-bundles","href":"/api-reference/bundles/createBundles"},{"title":"Update Bundle","api":"PUT https://api.alguna.io/price-bundles/{id}","href":"/api-reference/bundles/updateBundles"},{"title":"Get Bundle","api":"GET https://api.alguna.io/price-bundles/{id}","href":"/api-reference/bundles/getBundles"},{"title":"List Bundles","api":"GET https://api.alguna.io/price-bundles","href":"/api-reference/bundles/listBundles"}]},{"group":"Credit Grants","pages":[{"title":"Create Credit Grant","api":"POST https://api.alguna.io/credit-grants","href":"/api-reference/credit-grants/create"},{"title":"Get Credit Grant","api":"GET https://api.alguna.io/credit-grants/{id}","href":"/api-reference/credit-grants/get"},{"title":"List Credit Grants","api":"GET https://api.alguna.io/credit-grants","href":"/api-reference/credit-grants/list"},{"title":"List Grants by Wallet","api":"GET https://api.alguna.io/wallets/{id}/credit-grants","href":"/api-reference/credit-grants/list-by-wallet"}]},{"group":"Credit Notes","pages":[{"title":"Create Credit Note","api":"POST https://api.alguna.io/credit-notes","href":"/api-reference/credit-notes/create"},{"title":"Get Credit Note","api":"GET https://api.alguna.io/credit-notes/{id}","href":"/api-reference/credit-notes/get"},{"title":"List Credit Notes by Account","api":"GET https://api.alguna.io/account/{id}/credit-notes","href":"/api-reference/credit-notes/list"}]},{"group":"Customers","pages":[{"title":"Create Account","api":"POST https://api.alguna.io/accounts","description":null,"href":"/api-reference/customers/create"},{"title":"Get Customer","api":"GET https://api.alguna.io/accounts/{id}","href":"/api-reference/customers/getByID"},{"title":"Lookup Customer by Alias","api":"GET https://api.alguna.io/account-lookup","description":null,"href":"/api-reference/customers/accountLookup"},{"title":"List Customers","api":"GET https://api.alguna.io/accounts","href":"/api-reference/customers/list"},{"title":"Update Customers","api":"PATCH https://api.alguna.io/accounts/{id}","href":"/api-reference/customers/update"}]},{"group":"Invoices","pages":[{"title":"List Invoices","api":"GET https://api.alguna.io/invoices","href":"/api-reference/invoices/list"},{"title":"Get Invoice","api":"GET https://api.alguna.io/invoices/{id}","href":"/api-reference/invoices/getByID"},{"title":"Lookup Invoice by Reference","api":"GET https://api.alguna.io/invoice-lookup","href":"/api-reference/invoices/invoiceLookup"},{"title":"Mark Invoice as Paid","api":"PUT https://api.alguna.io/invoices/{id}/mark-as-paid","href":"/api-reference/invoices/markAsPaid"},{"title":"Create invoice","api":"POST https://api.alguna.io/invoices","href":"/api-reference/invoices/create"},{"title":"Create Invoice Line Item","api":"POST https://api.alguna.io/invoices/{id}/line-items","href":"/api-reference/invoices/createLineItem"},{"title":"Update Invoice Line Item","api":"PUT https://api.alguna.io/invoices/{id}/line-items/{itemID}","href":"/api-reference/invoices/updateLineItem"},{"title":"Delete Invoice Line Item","api":"DELETE https://api.alguna.io/invoices/{id}/line-items/{itemID}","href":"/api-reference/invoices/deleteLineItem"},{"title":"Generate PDF","api":"GET https://api.alguna.io/dashboard/invoices/{id}/pdf","href":"/api-reference/invoices/generatePDFs"}]},{"group":"Plans","pages":[{"title":"Get Plan","api":"GET https://api.alguna.io/plans/{id}","href":"/api-reference/plans/getPlan"},{"title":"List Plans","api":"GET https://api.alguna.io/plans/","href":"/api-reference/plans/listPlans"}]},{"group":"Products","pages":[{"title":"Create Product","api":"POST https://api.alguna.io/products","href":"/api-reference/products/createProduct"},{"title":"Get Product","api":"GET https://api.alguna.io/products/{id}","href":"/api-reference/products/getProduct"},{"title":"Update Product","api":"PATCH https://api.alguna.io/products/{id}","href":"/api-reference/products/updateProduct"},{"title":"List Products","api":"GET https://api.alguna.io/products","href":"/api-reference/products/listProducts"}]},{"group":"Refunds","pages":[{"title":"Get Refund","api":"GET https://api.alguna.io/refunds/{id}","href":"/api-reference/refunds/get"}]},{"group":"Subscriptions","pages":[{"title":"List Subscriptions","api":"GET https://api.alguna.io/subscriptions","href":"/api-reference/subscriptions/getSubscriptions"},{"title":"Get Subscription","api":"GET https://api.alguna.io/subscriptions/{id}","href":"/api-reference/subscriptions/getSubscription"},{"title":"Create Subscription","api":"POST https://api.alguna.io/subscriptions","href":"/api-reference/subscriptions/createSubscription"},{"title":"Activate Subscription","api":"POST https://api.alguna.io/subscriptions/{id}/activate","href":"/api-reference/subscriptions/activateSubscription"},{"title":"Update Subscription","api":"PATCH https://api.alguna.io/subscriptions/{id}","href":"/api-reference/subscriptions/updateSubscription"},{"title":"Cancel Subscription","api":"POST https://api.alguna.io/subscriptions/{id}/cancel","href":"/api-reference/subscriptions/cancelSubscription"},{"title":"Delete Subscription","api":"DELETE https://api.alguna.io/subscriptions/{id}","href":"/api-reference/subscriptions/deleteSubscription"}]},{"group":"Subscription Versions","pages":[{"title":"Get Subscription Version","api":"GET https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/getSubscriptionVersion"},{"title":"List Subscription Versions","api":"GET https://api.alguna.io/subscriptions/{id}/versions","href":"/api-reference/subscription-versions/getSubscriptionVersions"},{"title":"Create Subscription Version","api":"POST https://api.alguna.io/subscriptions/{id}/versions","href":"/api-reference/subscription-versions/createSubscriptionVersion"},{"title":"Update Subscription Version","api":"PATCH https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/updateSubscriptionVersion"},{"title":"Publish Subscription Version","api":"POST https://api.alguna.io/subscriptions/{id}/versions/{versionId}/publish","href":"/api-reference/subscription-versions/publishSubscriptionVersion"},{"title":"Delete Subscription Version","api":"DELETE https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/deleteSubscriptionVersion"},{"title":"Pricing Models API Reference","href":"/api-reference/subscription-versions/pricingModels"}]},{"group":"Wallets","pages":[{"title":"Create Wallet","api":"POST https://api.alguna.io/wallets","href":"/api-reference/wallets/create"},{"title":"Get Wallet","api":"GET https://api.alguna.io/wallets/{id}","href":"/api-reference/wallets/get"},{"title":"List Wallets","api":"GET https://api.alguna.io/wallets","href":"/api-reference/wallets/list"},{"title":"Get Wallet Balance","api":"GET https://api.alguna.io/wallets/{id}/balance","href":"/api-reference/wallets/get-balance"},{"title":"Credit Wallet","api":"POST https://api.alguna.io/wallets/{id}/credit","href":"/api-reference/wallets/credit"}]}]}]},{"anchor":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/marketplace"}]},{"anchor":"Migrations","icon":"plane","pages":[{"title":"Migrations","href":"/migrations/migrations"}]},{"anchor":"Contact us","icon":"envelope","href":"https://alguna.io"}]},"basePath":"","title":"Get Customer - Alguna Docs","buildId":"dpl_Acry4NrQAgjcikyFgVE2eJ7XQCAv","deploymentId":"dpl_Acry4NrQAgjcikyFgVE2eJ7XQCAv","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-C2Ap4tLG.js","utils-DOQ4WuIX.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-PBLA84v6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BSX8gB2N.js","snippetPresets-DEKVfaPa.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CFXBIa-t.js","ApiExamples-BSZ21_fK.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Bd7Ye-9k.js","shallow-Yd0HfeLO.js","getApiPlaygroundDisplay-CLdBbHLF.js","CodeSnippet-BJnsDPfe.js","CodeSnippets-CdAH7YRl.js","getPastedJson-Wsal3Fw6.js","icon-WwS_mnlk.js","MethodPill-CYxxzIKu.js","DuplicateIcon-CejZ8LQc.js","createIcon-DKEFCi_0.js","DynamicMarkdown-BCpKo5ib.js","SectionHeading-ClsMcgQm.js","axios-vUo_bRtp.js"]}