Item structure
Order's item structure
This is minimal amount of product information that have been stored in the system
Item structure
| Field name | Types | Required/Optional | Description |
|---|---|---|---|
| productCode | string(30) | R | User’s selected product’s code |
| price | number(10) | R | User’s selected product’s price |
| amount | number(5) | R | User’s selected product’s amount |
| digitalContents | List of digital content | O | Digital content's information from item |
| weight | number(10) | O | Product's weight |
Digital content structure
| Field name | Types | Required/Optional | Description |
|---|---|---|---|
| content | string(1000) | R | Digital content |
| refId | string(255) | R | Digital content reference id |
Example of order's item structure
{
"productCode": "VA-4017",
"price": 250,
"amount": 4,
"digitalContents": [
{
"content": "__CONTENT__",
"refId": "AABNC01"
}
],
"weight": 10
}