Skip to content

Commit f25e156

Browse files
authored
fix(specs): value/price clarifications in the Insights API (#5154)
1 parent 9a6dd5f commit f25e156

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

specs/insights/common/schemas/EventAttributes.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ positions:
9797
example: [1, 2, 5]
9898

9999
price:
100-
description: Total price of a product, including any discounts, in units of `currency`.
100+
description: Final price of a single product, including any discounts, in units of `currency`.
101101
oneOf:
102102
- type: number
103103
format: double
@@ -179,7 +179,9 @@ currency:
179179
example: EUR
180180

181181
value:
182-
description: Total monetary value of this event in units of `currency`.
182+
description: |
183+
Total monetary value of this event in units of `currency`.
184+
This should be equal to the sum of `price` times `quantity`.
183185
oneOf:
184186
- type: number
185187
format: double

0 commit comments

Comments
 (0)