createProductTypesStep - Medusa Core Workflows Reference
This documentation provides a reference to the createProductTypesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more product types.
Input#
CreateProductTypeDTO[]
CreateProductTypeDTO[]
CreateProductTypeDTO[]
CreateProductTypeDTO[]value
stringThe product type's value.
value
stringHolds custom data in key-value pairs.
Output#
ProductTypeDTO[]
ProductTypeDTO[]
ProductTypeDTO[]
ProductTypeDTO[]id
stringThe ID of the product type.
id
stringvalue
stringThe value of the product type.
value
stringcreated_at
string | DateWhen the product type was created.
created_at
string | Dateupdated_at
string | DateWhen the product type was updated.
updated_at
string | DateHolds custom data in key-value pairs.
deleted_at
string | DateOptionalWhen the product type was deleted.
deleted_at
string | DateOptionalWas this page helpful?