I'm required to get the field Company ID through any of your APIs:
However I'm having a hard time trying to figure out if that field is somehow related to Purchase Orders.
My understanding is that, in the B2B related queries (https://shopify.dev/api/admin-graphql/2022-10/queries/companies) that field should be accessible.
Is there any correlation between Company ID and Purchase Orders that would make simple getting the Company ID we need?
did you ever get an answer here? Can't get it from the Rest API. It's not in a Shopify Flow to add a note. How do we access and use this as a B2B and get this information into our ERP if it doesn't exists?
I think we figured it out (our problem is we use REST and it doesn't have the value)
Change to the newest API. REST API pulls back the Company ID.
GraphQL has company.externalID field