Imagine a situation that B2B Location has multiple product catalogs. Some of them are fixed prices, some of them are % discount and they partially overlap. Now the customer asks for his final product prices in excel (bigger companies wont login to discover their prices). Huh. Is it somewhere?
The only place I can imagine is to login as this customer and see final prices for him on front-end. But is this even possible to log in as particular customer?
Is there a way to ask API something like “Give me list of products with prices in context of company XY?”.
Have you looked into using PriceList which is part of the GraphQL Admin API and used in many B2B contexts for this use-case?
Another option might be to write a custom script where you would fetch all the products using a products query, then apply the discounts according to the rules for the specific company, and export these final prices to an Excel sheet.
Thank you so much! It looks very promising. One thing I dont quite understand yet is how to query only products specific company has in catalogs. I came across product_configuration_owner parameter in query sytax. However there is no info about it in documentation. Any clues what is this paremeter for? Thank you.