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
|
collection_id?: string
|
||||||
categories?: { id: string }[]
|
categories?: { id: string }[]
|
||||||
tags?: { id: string }[]
|
tags?: { id: string }[]
|
||||||
options?: AdminCreateProductOption[]
|
options: AdminCreateProductOption[]
|
||||||
variants?: AdminCreateProductVariant[]
|
variants?: AdminCreateProductVariant[]
|
||||||
sales_channels?: { id: string }[]
|
sales_channels?: { id: string }[]
|
||||||
weight?: number
|
weight?: number
|
||||||
|
|||||||
Reference in New Issue
Block a user