fix(types): change options to be required in http type (#9642)

`options` is now required when creating a product. This PR updates the http type
This commit is contained in:
Shahed Nasser
2024-10-17 19:13:17 +03:00
committed by GitHub
parent 31900239b7
commit 4ca5510da9

View File

@@ -72,7 +72,7 @@ export interface AdminCreateProduct {
collection_id?: string
categories?: { id: string }[]
tags?: { id: string }[]
options?: AdminCreateProductOption[]
options: AdminCreateProductOption[]
variants?: AdminCreateProductVariant[]
sales_channels?: { id: string }[]
weight?: number