mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
Implement Shopify Provider
This commit is contained in:
15
framework/shopify/utils/mutations/checkout-create.ts
Normal file
15
framework/shopify/utils/mutations/checkout-create.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
const checkoutCreateMutation = /* GraphQL */ `
|
||||
mutation {
|
||||
checkoutCreate(input: {}) {
|
||||
userErrors {
|
||||
message
|
||||
field
|
||||
}
|
||||
checkout {
|
||||
id
|
||||
webUrl
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
export default checkoutCreateMutation
|
Reference in New Issue
Block a user