<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6924],{1111:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/b2b-edition/apis/rest-storefront/company/user",function(){return t(89162)}])},8568:function(e,s,t){"use strict";t.d(s,{Z:function(){return d}});var n=t(52676);function d(e){let{title:s}=e;return(0,n.jsx)("h1",{className:"docsearch-ApiTitle-component pt-4 font-sans text-h3 font-bold",children:s})}},56486:function(e,s,t){"use strict";t.d(s,{Z:function(){return p}});var n=t(52676),d=t(52938),r=t(17494);function a(e){var s,t,d,r;let a=(null===(t=e.servers)||void 0===t?void 0:null===(s=t[0])||void 0===s?void 0:s.url)||"";return a=(a=a.replace("{store_domain}","yourstore.example.com")).replace("{app_domain}","your_app.example.com"),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"hidden font-normal opacity-50 md:inline",children:null===(d=a.split("/stores"))||void 0===d?void 0:d[0]}),(0,n.jsxs)("span",{className:"hidden sm:inline",children:[a.includes("/stores")&amp;&amp;"/stores",null==a?void 0:null===(r=a.split("/stores"))||void 0===r?void 0:r[1]]}),"".concat(e.path)]})}var i=t(50894),o=t(58699),c=t(2135);let l=t.n(c)()(()=&gt;Promise.all([t.e(32552),t.e(69999),t.e(57684)]).then(t.bind(t,57684)),{loadableGenerated:{webpack:()=&gt;[57684]}});function p(e){var s;let t=(0,o.U)(e.bundledSpec);return t?(0,n.jsxs)(n.Fragment,{children:[!!(null==e?void 0:e.operationId)&amp;&amp;(0,n.jsx)(l,{spec:t,operationId:e.operationId}),(0,n.jsxs)(r.Z,{children:[(0,n.jsx)(d.Z,{children:e.method.toUpperCase()})," ",(0,n.jsx)(a,{servers:null==e?void 0:null===(s=e.bundledSpec)||void 0===s?void 0:s.servers,path:e.path})]}),(0,n.jsx)(i.Z,{path:e.path,method:e.method,spec:t})]}):(0,n.jsx)("div",{children:"Loading..."})}},89162:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSG:function(){return o},__toc:function(){return c}});var n=t(52676),d=t(64008),r=t(9930),a=t(8568),i=t(56486),o=!0;let c=[{depth:2,value:"Get a Company by User ID",id:"get-a-company-by-user-id"},{depth:2,value:"Get a Company User List",id:"get-a-company-user-list"},{depth:2,value:"Create a Company User",id:"create-a-company-user"},{depth:2,value:"Check Existence of a Customer Email",id:"check-existence-of-a-customer-email"},{depth:2,value:"Get User List",id:"get-user-list"},{depth:2,value:"Create a User",id:"create-a-user"},{depth:2,value:"Get User Information",id:"get-user-information"},{depth:2,value:"Update User Information",id:"update-user-information"},{depth:2,value:"Delete a User",id:"delete-a-user"}];function l(e){let s=Object.assign({h2:"h2"},(0,r.a)(),e.components);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Z,{title:"User"}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"get-a-company-by-user-id",children:"Get a Company by User ID"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/customers/{userId}/companies",method:"get"})]}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"get-a-company-user-list",children:"Get a Company User List"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/companies/{companyId}/users",method:"get"})]}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"create-a-company-user",children:"Create a Company User"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/companies/{companyId}/users",method:"post"})]}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"check-existence-of-a-customer-email",children:"Check Existence of a Customer Email"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/users/validations/existence",method:"get"})]}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"get-user-list",children:"Get User List"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/users",method:"get"})]}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"create-a-user",children:"Create a User"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/users",method:"post"})]}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"get-user-information",children:"Get User Information"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/users/{userId}",method:"get"})]}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"update-user-information",children:"Update User Information"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/users/{userId}",method:"put"})]}),"\n",(0,n.jsxs)("div",{className:"docSearch-methodMDX pb-4",children:[(0,n.jsx)(s.h2,{id:"delete-a-user",children:"Delete a User"}),(0,n.jsx)(i.Z,{bundledSpec:e.bundledSpec,path:"/users/{userId}",method:"delete"})]})]})}s.default=(0,d.j)({MDXContent:function(){let e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},{wrapper:s}=Object.assign({},(0,r.a)(),e.components);return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(l,{...e})}):l(e)},pageOpts:{filePath:"pages/b2b-edition/apis/rest-storefront/company/user.mdx",route:"/b2b-edition/apis/rest-storefront/company/user",title:"User",headings:c},pageNextRoute:"/b2b-edition/apis/rest-storefront/company/user"})}},function(e){e.O(0,[11140,38536,57854,35554,12350,60355,57390,51641,52679,45764,92888,49774,40179],function(){return e(e.s=1111)}),_N_E=e.O()}]);</pre></body></html>