# ProductUnit type


One alternate unit of a variant: a pack of its base unit.

## Fields

### code

`String!`

The unit's code, for example `BOX`.

### factor

[`Decimal!`](/chameleoon-max/type/decimal)

How many base units one of this unit holds.

### isSalesDefault

`Boolean!`

Whether a sale of the variant is proposed in this unit.

### isPurchaseDefault

`Boolean!`

Whether a purchase of the variant is proposed in this unit.

## Used by

- [`ProductUnitConnection`](/chameleoon-max/type/product-unit-connection)
- [`ProductUnitEdge`](/chameleoon-max/type/product-unit-edge)
