For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Playground
          • MUTproductUpload
          • MUTproductAnonUpload
          • MUTupdateAccountSettings
          • MUTupdateCustomerAccountSettings
          • MUTinvoicePdf
          • MUTinvoicesExport
          • MUTinvoiceCreateBcCart
          • MUTinvoiceFinishBcPayment
          • MUTcreateOrder
          • MUTshoppingListsCreate
          • MUTshoppingListsUpdate
          • MUTshoppingListsDelete
          • MUTshoppingListsDuplicate
          • MUTshoppingListsItemsCreate
          • MUTshoppingListsItemsUpdate
          • MUTshoppingListsItemsDelete
          • MUTcustomerShoppingListsCreate
          • MUTcustomerShoppingListsUpdate
          • MUTcustomerShoppingListsDelete
          • MUTcustomerShoppingListsDuplicate
          • MUTcustomerShoppingListsItemsCreate
          • MUTcustomerShoppingListsItemsUpdate
          • MUTcustomerShoppingListsItemsDelete
          • MUTquoteCreate
          • MUTquoteUpdate
          • MUTquoteCheckout
          • MUTquoteOrdered
          • MUTquoteEmail
          • MUTquotePdfExport
          • MUTquoteAttachFileDelete
          • MUTquoteAttachFileCreate
          • MUTquoteFrontendPdf
          • MUTsuperAdminBeginMasquerade
          • MUTsuperAdminEndMasquerade
          • MUTcompanyCreate
          • MUTlogin
          • MUTcheckoutLogin
          • MUTauthorization
          • MUTuserCreate
          • MUTuserUpdate
          • MUTuserDelete
          • MUTstoreFrontToken
          • MUTcustomerCreate
          • MUTcustomerSubscribersCreate
          • MUTuserMasqueradingCompanyBegin
          • MUTuserMasqueradingCompanyEnd
          • MUTaddressCreate
          • MUTaddressUpdate
          • MUTaddressDelete
          • MUTcustomerAddressCreate
          • MUTcustomerAddressUpdate
          • MUTcustomerAddressDelete
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLB2BMutations

userMasqueradingCompanyBegin

Example Query
1mutation ExampleMutation($companyId: Int) {
2 userMasqueradingCompanyBegin(companyId: $companyId) {
3 userMasqueradingCompanyBegin {
4 companyId
5 companyName
6 companyAddress
7 companyCountry
8 companyState
9 companyCity
10 companyZipCode
11 phoneNumber
12 bcId
13 }
14 }
15}
Variables
1{
2 "companyId": 0
3}
Example response
1{
2 "data": {
3 "userMasqueradingCompanyBegin": {
4 "userMasqueradingCompanyBegin": {
5 "companyId": "example",
6 "companyName": "example",
7 "companyAddress": "example",
8 "companyCountry": "example",
9 "companyState": "example",
10 "companyCity": "example",
11 "companyZipCode": "example",
12 "phoneNumber": "example",
13 "bcId": "example"
14 }
15 }
16 }
17}
Begin masquerading a company
Was this page helpful?
Previous

customerSubscribersCreate

Next

userMasqueradingCompanyEnd

Built with

Arguments

companyIdIntegerRequired
The company id. This field is required.

Returns

an optional UserMasqueradingCompanyBegin
userMasqueradingCompanyBeginCompanyInfoType