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 Type | Supported Array format | Description | Sample (in JSON format) |
|---|---|---|---|
| Long | Long[] | Whole numbers Ranging from -2,147,483,648 to 2,147,483,647 | "count": 10"counts": [10, 20] |
| Double | Double[] | Fractional numbers. Sufficient for storing 15 decimal digits. | "rating": 4.5"ratings": [4.5, 3.1] |
| String | String[] | Text value. | "title": "blue t-shirt""comments": ["nice", "I like it"] |
| Date | Date[] | 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"] |
| Currency | Currency | Price 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). | |
NULL value
NULL value is allowed for all data types and all non-mandatory fields (all fields except for
product_idandmain_image_url). You can use NULL value (e.gadditional_image_url: null) to represent an empty value in your data.
Updated 12 months ago
Did this page help you?