Expose “Price Books” via the API

Allow us to extract price book information - mainly so we can spot discrepancies before they cause us a problem.

2 Likes

I’m surprised this isn’t there, it would give us the option to solve a few feature requests ourselves. Particularly https://community.breww.com/t/cost-price-price-book-calculate-selling-price-based-on-recipe-expected-cost/ in my case.

While I would expect /price-book/{id} to tell me about the price book details, I would expect to see a list of prices in the product. Maybe this fits with your schema?

{
  id: {product_id}
  …
  prices: [
    {      
      price_book_id: {price_book_id},
      price: {price}
    }
  ]
}
1 Like