orderByCustomerEmail #
orderByCustomerEmail(hash: String, email: String) POrder
Example #
query orderByCustomerEmail($hash: String!, $email: String!){
orderByCustomerEmail(hash: $hash, email: $email) {
id
hash
shippingCharge
paymentProcessingFee
subtotal
grandTotal
discountedAmount
status
paymentStatus
createdAt
updatedAt
billingAddress {
id
street
streetTwo
city
state
postcode
email
phone
location {
id
name
shortCode
}
}
shippingAddress {
id
street
streetTwo
city
state
postcode
email
phone
location {
id
name
shortCode
}
}
cart {
id
isShippingRequired
cartItems {
id
product {
id
name
slug
description
sku
stock
maxItemPerOrder
price
images
fullImages
isDigitalProduct
views
productUnit
createdAt
updatedAt
category {
id
name
slug
description
image
fullImage
productCount
position
}
attributes {
id
name
values
isRequired
createdAt
updateAt
}
variations {
id
name
price
sku
stock
}
digitalItems {
id
title
description
position
contents {
id
title
contentType
isTrialAllowed
contentText
contentUrl
updatedAt
position
}
}
feedbacks {
rating
comment
createdAt
}
productSpecificDiscount
}
quantity
purchasePrice
attributes {
name
selectedValue
}
variation {
id
name
price
sku
stock
}
}
}
customer {
email
phone
firstName
lastName
profilePicture
profilePictureFull
}
shop {
name
title
description
tags
metaName
metaDescription
metaTags
logo
logoPath
favicon
faviconPath
bannerImage
bannerImagePath
isOpen
currency
website
supportEmail
supportPhone
createdAt
updatedAt
street
streetOptional
city
state
postcode
location {
id
name
shortCode
}
}
paymentMethod {
id
displayName
currencyName
currencySymbol
isDigitalPayment
}
shippingMethod {
id
displayName
deliveryCharge
deliveryTimeInDays
WeightUnit
isFlat
isActive
}
couponCode {
code
amount
minOrderAmount
maxDiscountAmount
isFlatDiscount
isForNewUsersOnly
maxUsagePerUser
discountType
description
image
startAt
endAt
}
payments {
isPaid
payableAmount
gatewayName
}
feedback {
rating
comment
createdAt
}
}
}