mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
36 lines
494 B
TypeScript
36 lines
494 B
TypeScript
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
|
|
}
|
|
`
|