mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
25 lines
432 B
TypeScript
25 lines
432 B
TypeScript
export const setCustomerForOrderMutation = /* GraphQL */ `
|
|
mutation setCustomerForOrder($input: CreateCustomerInput!) {
|
|
setCustomerForOrder(input: $input) {
|
|
__typename
|
|
... on Order {
|
|
id
|
|
createdAt
|
|
updatedAt
|
|
code
|
|
customer {
|
|
id
|
|
firstName
|
|
lastName
|
|
emailAddress
|
|
phoneNumber
|
|
}
|
|
}
|
|
... on ErrorResult {
|
|
errorCode
|
|
message
|
|
}
|
|
}
|
|
}
|
|
`
|