Skip to content

Commit ee151b1

Browse files
algolia-botkai687
andcommitted
fix(specs): value/price clarifications in the Insights API (generated)
algolia/api-clients-automation#5154 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent 45f9f0e commit ee151b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

algoliasearch/insights/models/price.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
class Price(BaseModel):
2222
"""
23-
Total price of a product, including any discounts, in units of `currency`.
23+
Final price of a single product, including any discounts, in units of `currency`.
2424
"""
2525

2626
oneof_schema_1_validator: Optional[float] = Field(default=None)

algoliasearch/insights/models/value.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
class Value(BaseModel):
2222
"""
23-
Total monetary value of this event in units of `currency`.
23+
Total monetary value of this event in units of `currency`. This should be equal to the sum of `price` times `quantity`.
2424
"""
2525

2626
oneof_schema_1_validator: Optional[float] = Field(default=None)

0 commit comments

Comments
 (0)