Skip to content

ProductTypeField

Describes@ebitex/commerce-sdk 0.2.xSee the changelog:@ebitex/commerce-sdk

One field of a product type: id is the key of its value in Product.attributes, name the label to show.

optional allowedValues?: unknown[]

The values a choice field accepts. Absent (not null) when the field has none.


id: string


name: string


type: string

The field type: text, number, boolean or date.