Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing discountedPrice property on LineItem type #916

Open
williampsouza opened this issue Jan 22, 2025 · 0 comments
Open

Missing discountedPrice property on LineItem type #916

williampsouza opened this issue Jan 22, 2025 · 0 comments

Comments

@williampsouza
Copy link

williampsouza commented Jan 22, 2025

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
Image

Stack information (please complete the following information):

Node: v18.18.2
SDK: latest (v8.1.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant