Get Customer Company extension attributes B2B magento 2.

In B2B, Magento 2 You can fetch a list of customer company extension attributes by customer id.

Company module contains customer extension attributes that are mapped to the Customer module in Magento core code.

List of Customer company extension attributes,

  • company_id
  • job_title
  • status
  • telephone

Check the Magento code to get customer company extension attributes,

Now you can fetch any customer company extension attribute using below code,

You can fetch telephone, status and company id using the above way.