mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 22:11:22 +00:00
31 lines
591 B
TypeScript
31 lines
591 B
TypeScript
export const addPaymentToOrderMutation = /***/`
|
|
mutation addPaymentToOrder($input: PaymentInput!) {
|
|
addPaymentToOrder(input: $input) {
|
|
__typename
|
|
...on Order {
|
|
id
|
|
state
|
|
customer {
|
|
id
|
|
}
|
|
totalQuantity
|
|
lines {
|
|
id
|
|
}
|
|
}
|
|
...on OrderPaymentStateError {
|
|
errorCode
|
|
message
|
|
}
|
|
...on IneligiblePaymentMethodError {
|
|
errorCode
|
|
message
|
|
eligibilityCheckerMessage
|
|
}
|
|
...on ErrorResult {
|
|
errorCode
|
|
message
|
|
}
|
|
}
|
|
}
|
|
` |