TypeAlias.OrderItem
type OrderItem = {
id: number;
itemId: number;
name: string;
price: number;
};
Individual item within a loyalty order.
Represents a line item from a customer purchase, stored as JSON in the indexer database and returned as part of the order response.
Type Declaration
| Name | Type |
|---|---|
id | number |
itemId | number |
name | string |
price | number |