Catalog Data Type

Catalog fields support the below field types. For Rezolve standard fields, field type is pre-assigned. For custom fields, you can assign field types accordingly.

Data TypeSupported Array formatDescriptionSample (in JSON format)
LongLong[]Whole numbers
Ranging from -2,147,483,648 to 2,147,483,647
"count": 10
"counts": [10, 20]
DoubleDouble[]Fractional numbers.
Sufficient for storing 15 decimal digits.
"rating": 4.5
"ratings": [4.5, 3.1]
StringString[]Text value."title": "blue t-shirt"
"comments": ["nice", "I like it"]
DateDate[]Datetime value
Stored in ISO8601 format: YYYY-MM-DDThh:mm:ss.sTZD
"onsale_date": "2021-06-11T00:00:00+08:00"
"promotion_days": ["2021-06-11T00:00:00+08:00"]
CurrencyCurrencyPrice value represented with corresponding currency ISO4217 Code.\
A decimal point (.) is the separator between the dollars and cents.

Currency is an array format by itself.
It can store price variation in different currencies or a single currency (by enclosing it inside an array).
"price": [{
      "currency": "USD",
      "value": 54.0
     }]
```\
or\
"price": [{
      "currency": "USD",
      "value": 54.0
     }, {
      "currency": "GBP",
      "value": 48.9
     }]
📘

NULL value

NULL value is allowed for all data types and all non-mandatory fields (all fields except for product_id and main_image_url). You can use NULL value (e.g additional_image_url: null) to represent an empty value in your data.


Did this page help you?