šØāš» Development version here.
ā
Production site here.
Everything you need to build the Svelte project, powered by sv
.
# run the project
npm run dev -- --open
mutation AddToCart{
addToCart(input: {productId: 131868, quantity: 10}) {
cart {
availableShippingMethods {
rates {
cost
id
label
}
}
contents {
nodes {
product {
node {
title
}
}
}
}
}
}
}
mutation UpdateGuestShippingAddress {
addToCart(input: {productId: 131868, quantity: 10}) {
cart {
availableShippingMethods {
rates {
cost
id
label
}
}
contents {
nodes {
product {
node {
title
}
}
}
}
}
}
updateCustomer(
input: {shipping: {postcode: "01222-001", country: BR, overwrite: true}}
) {
customer {
sessionToken
shipping {
firstName
address1
city
state
postcode
country
}
}
}
}
query GetCartShippingEstimates {
cart {
availableShippingMethods {
rates {
label
cost
id
}
}
shippingTotal
}
}