mirror of
https://github.com/vercel/commerce.git
synced 2025-05-21 00:46:59 +00:00
18 lines
378 B
TypeScript
18 lines
378 B
TypeScript
import * as fragment from '../fragments'
|
|
|
|
export const CheckoutCreate = /* GraphQL */ `
|
|
mutation CheckoutCreate {
|
|
checkoutCreate(input: { email: "customer@example.com", lines: [], channel: "default-channel" }) {
|
|
errors {
|
|
code
|
|
field
|
|
message
|
|
}
|
|
checkout {
|
|
...CheckoutDetails
|
|
}
|
|
}
|
|
}
|
|
${fragment.CheckoutDetails}
|
|
`
|