You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When retrieving a cart with a Cart Discount targeting Line Items from the Platform API, I can see a discountedPrice property being retrieved. However, it is not defined in the types nor present in the documentation. That cart discount is also not present elsewhere in the response other than discountedPrice and discountedPricePerQuantity inside the Line Item.
To Reproduce
Create a cart and apply a cart discount targeting one line item.
Expected behavior
The typing and documentation should exist or at least the cart discount should be present somewhere else like lineItem.price.discounted or at the cart level.
Screenshots/Code snippet
Stack information (please complete the following information):
Node: v18.18.2
SDK: latest (v8.1.0).
The text was updated successfully, but these errors were encountered:
Describe the bug
When retrieving a cart with a Cart Discount targeting Line Items from the Platform API, I can see a
discountedPrice
property being retrieved. However, it is not defined in the types nor present in the documentation. That cart discount is also not present elsewhere in the response other thandiscountedPrice
anddiscountedPricePerQuantity
inside the Line Item.To Reproduce
Create a cart and apply a cart discount targeting one line item.
Expected behavior
The typing and documentation should exist or at least the cart discount should be present somewhere else like
lineItem.price.discounted
or at the cart level.Screenshots/Code snippet
![Image](https://private-user-images.githubusercontent.com/47861808/405766050-3c982df0-0aa9-4b05-a2f4-7a18e2195fea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MzQ2NzAsIm5iZiI6MTczODgzNDM3MCwicGF0aCI6Ii80Nzg2MTgwOC80MDU3NjYwNTAtM2M5ODJkZjAtMGFhOS00YjA1LWEyZjQtN2ExOGUyMTk1ZmVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA5MzI1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA1ZmYyNGRmYTA4NWJlYTdmMDMyNWZkYzM1MjgyZDcwNzFlOGU3YWQ0ZDlkZWYwZmQzYjQ4NDZiNzJkNWNhZDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2VRgLw-Rtl4o-fARfAaW3ssepXmkGYt4t_9RfzF2DMQ)
Stack information (please complete the following information):
Node: v18.18.2
SDK: latest (v8.1.0).
The text was updated successfully, but these errors were encountered: