{"data":{"id":"ACSD-66434","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where customer ID was missing from company GraphQL queries.","categories":["B2B","GraphQL"],"components":["magento/module-company-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-67/acsd-66434-customer-id-missing-from-company-graphql-queries","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-67/acsd-66434-customer-id-missing-from-company-graphql-queries.md","blobSha":"b6536d996f4ba4aa2abd070b3a979af27c524225","description":"The GraphQL company query returns null for the Customer ID in the company structure.","stepsToReproduce":"1. Install Adobe Commerce 2.4-develop with B2B and Inventory modules. 1. From the Commerce Admin, enable B2B features and create a test company. 1. Generate a bearer token for the company admin using the following GraphQL mutation: mutation { generateCustomerToken(email: \"admin_email@example.com\", password: \"admin_password\") { token } } 1. Use the generated token to retrieve the customer's company structure with the following GraphQL query: query { company { id name legal_name structure { items { entity { __typename ... on Customer { firstname lastname email job_title id } } } } } }","introducedInQpt":"1.1.67","createdFor":["2.4.7-p5"],"documentedRange":"2.4.6-p10 - 2.4.6-p11, 2.4.7-p3 - 2.4.8-p1","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.5.0 <1.5.2-p2","path":"patches/commerce/ACSD-66434_2.4.7-p5_B2B_1.5.2.patch","blobSha":"8fa9926f799bfe7598195bdb24a8120a4b8409af","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-66434_2.4.7-p5_B2B_1.5.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company-graph-ql/Model/Resolver/Customer/CustomerId.php","change":"added","package":"magento/module-company-graph-ql"},{"path":"vendor/magento/module-company-graph-ql/etc/graphql/di.xml","change":"modified","package":"magento/module-company-graph-ql"},{"path":"vendor/magento/module-company-graph-ql/etc/schema.graphqls","change":"modified","package":"magento/module-company-graph-ql"}],"packages":["magento/module-company-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p1","2.4.8","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":"ACSD-66434-V2","deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p1","2.4.8","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-66434 details"}