mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 21:51:21 +00:00
19 lines
407 B
TypeScript
19 lines
407 B
TypeScript
import { checkoutDetailsFragment } from '../queries/get-checkout-query'
|
|
|
|
const checkoutCreateMutation = /* GraphQL */ `
|
|
mutation createCheckout {
|
|
checkoutCreate(input: {}) {
|
|
checkoutUserErrors {
|
|
code
|
|
field
|
|
message
|
|
}
|
|
# Breaks GraphQL Codegen
|
|
# checkout {
|
|
# ${checkoutDetailsFragment}
|
|
# }
|
|
}
|
|
}
|
|
`
|
|
export default checkoutCreateMutation
|