fix: add product

This commit is contained in:
ferdiansyah783
2025-08-05 21:31:53 +07:00
parent 0fde122ac4
commit 799837e82e
14 changed files with 393 additions and 68 deletions
+19
View File
@@ -35,3 +35,22 @@ export type Products = {
limit: number
total_pages: number
}
export type ProductVariantRequest = {
name: string
price_modifier: number
cost: number
}
export type ProductRequest = {
category_id: string
sku: string
name: string
description: string
barcode: string
price: number
cost: number
printer_type: string
image_url: string
variants: ProductVariantRequest[]
}