4
0
forked from crowetic/commerce
Files
assets
components
config
docs
framework
bigcommerce
commerce
shopify
api
auth
cart
common
customer
lib
product
utils
mutations
associate-customer-with-checkout.ts
checkout-create.ts
checkout-line-item-add.ts
checkout-line-item-remove.ts
checkout-line-item-update.ts
customer-access-token-create.ts
customer-access-token-delete.ts
customer-create.ts
index.ts
queries
customer-token.ts
get-categories.ts
get-checkout-id.ts
get-search-variables.ts
get-sort-variables.ts
get-vendors.ts
handle-fetch-response.ts
handle-login.ts
index.ts
wishlist
README.md
const.ts
index.tsx
provider.tsx
schema.d.ts
schema.graphql
types.ts
lib
pages
public
.editorconfig
.env.template
.gitignore
.prettierignore
CHANGELOG.md
README.md
codegen.json
global.d.ts
license.md
next-env.d.ts
next.config.js
package.json
postcss.config.js
tailwind.config.js
tsconfig.json
yarn.lock
commerce/framework/shopify/utils/mutations/checkout-create.ts
2021-02-04 16:18:01 +02:00

17 lines
332 B
TypeScript

import { checkoutDetailsFragment } from '../queries/get-checkout-query'
const checkoutCreateMutation = /* GraphQL */ `
mutation {
checkoutCreate(input: {}) {
userErrors {
message
field
}
checkout {
${checkoutDetailsFragment}
}
}
}
`
export default checkoutCreateMutation