With product companyAttributeDefinitions resolvers, you can list all Company attributes
query ProductCompanyAttribute {
node (id: "<productId>") {
... on Product {
id
slug
companyAttributeDefinitions {
edges {
node {
__typename
... on AttributeSingleSelectDefinition {
id
name
valuesV2 {
edges {
node {
id
value
}
}
}
}
... on AttributeCheckboxDefinition {
id
name
}
... on AttributeNumberDefinition {
id
name
}
... on AttributeTextDefinition {
id
name
}
}
}
}
}
}
}