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

Add cart API methods #991

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/graphql/CartLineFragment.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@ fragment CartLineFragment on CartLine {
merchandise {
... on ProductVariant {
id
title
image {
id
src: url
altText
width
height
}
product {
id
handle
title
}
weight
available: availableForSale
sku
selectedOptions {
Copy link
Author

@juanpprieto juanpprieto Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check for any 2024-10 product options changes that may apply here.

name
value
}
unitPriceMeasurement {
measuredType
quantityUnit
quantityValue
referenceUnit
referenceValue
}
}
}
quantity
Expand Down
Loading