Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 685 Bytes

catalog-custom-attribute-definition-number-config.md

File metadata and controls

21 lines (13 loc) · 685 Bytes

Catalog Custom Attribute Definition Number Config

Structure

Catalog Custom Attribute Definition Number Config

Fields

Name Type Tags Description
precision int Optional An integer between 0 and 5 that represents the maximum number of
positions allowed after the decimal in number custom attribute values
For example:

- if the precision is 0, the quantity can be 1, 2, 3, etc.
- if the precision is 1, the quantity can be 0.1, 0.2, etc.
- if the precision is 2, the quantity can be 0.01, 0.12, etc.

Default: 5
Constraints: <= 5

Example (as JSON)

{
  "precision": 208
}