🎨 styles: shipping method

:%s
This commit is contained in:
lytrankieio123
2021-10-20 17:46:03 +07:00
parent f959ac8ea2
commit aba0e43b93
13 changed files with 280 additions and 44 deletions

View File

@@ -0,0 +1,35 @@
export const setShippingMethodMutation = /* GraphQL */ `
mutation SetShippingMethod($id: ID!) {
setOrderShippingMethod(shippingMethodId: $id) {
...Cart
...ErrorResult
__typename
}
}
fragment Cart on Order {
id
code
state
active
shippingLines {
priceWithTax
shippingMethod {
id
code
name
description
__typename
}
__typename
}
__typename
}
fragment ErrorResult on ErrorResult {
errorCode
message
__typename
}
`