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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user