import { axiosClient } from '@/api/axiosClient'
import type { ProductPrice } from '../types'

export async function getProductPrices(productId: number): Promise<ProductPrice[]> {
  const res = await axiosClient.get<ProductPrice[]>(`/api/v1/products/${productId}/prices`)
  return res.data
}
