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