diff options
| -rw-r--r-- | 15.md | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -88,7 +88,7 @@ Fields that are not self-explanatory: | |||
| 88 | "images": <[String], array of image URLs, optional>, | 88 | "images": <[String], array of image URLs, optional>, |
| 89 | "currency": <String, currency used>, | 89 | "currency": <String, currency used>, |
| 90 | "price": <float, cost of product>, | 90 | "price": <float, cost of product>, |
| 91 | "quantity": <int, available items>, | 91 | "quantity": <int or null, available items>, |
| 92 | "specs": [ | 92 | "specs": [ |
| 93 | [<String, spec key>, <String, spec value>] | 93 | [<String, spec key>, <String, spec value>] |
| 94 | ], | 94 | ], |
| @@ -102,6 +102,7 @@ Fields that are not self-explanatory: | |||
| 102 | ``` | 102 | ``` |
| 103 | 103 | ||
| 104 | Fields that are not self-explanatory: | 104 | Fields that are not self-explanatory: |
| 105 | - `quantity` can be null in the case of items with unlimited abailability, like digital items, or services | ||
| 105 | - `specs`: | 106 | - `specs`: |
| 106 | - an optional array of key pair values. It allows for the Customer UI to present product specifications in a structure mode. It also allows comparison between products | 107 | - an optional array of key pair values. It allows for the Customer UI to present product specifications in a structure mode. It also allows comparison between products |
| 107 | - eg: `[["operating_system", "Android 12.0"], ["screen_size", "6.4 inches"], ["connector_type", "USB Type C"]]` | 108 | - eg: `[["operating_system", "Android 12.0"], ["screen_size", "6.4 inches"], ["connector_type", "USB Type C"]]` |