Hello Shopify-Admin-API-GraphiQL version 2021-01 is used.
We are attempting to fetch data of orders for one of our clients and are experiencing difficulties. the request failed and the status is INTERNAL_SERVER_ERROR.
There is a lot of data for this client, and even when we tried to fetch the client data only for one day, we got the same error.
Query:
mutation {
bulkOperationRunQuery(
query: “”"
{
orders(query:“(created_at:>‘2021-01-06T08:00:00Z’ created_at:<‘2021-01-06T08:00:00Z’) OR (updated_at:>‘2021-01-06T08:00:00Z’ updated_at:<‘2021-01-06T08:00:00Z’)”)
{
edges
{
node
{
id
createdAt
tags
physicalLocation {
name
}
cancelledAt
cancelReason
paymentGatewayNames
shippingLine
{
title
}
billingAddress
{
address1
address2
city
zip
provinceCode
province
phone
name
formattedArea
countryCodeV2
countryCode
country
company
}
billingAddressMatchesShippingAddress
shippingAddress
{
address1
address2
city
zip
provinceCode
province
phone
name
formattedArea
countryCodeV2
countryCode
country
company
}
cartDiscountAmountSet
{
shopMoney
{
amount
}
}
totalDiscountsSet
{
shopMoney
{
amount
}
}
publication
{
name
}
customer
{
id
lastName
firstName
email
tags
}
tags
currencyCode
confirmed
closedAt
customerAcceptsMarketing
closed
clientIp
discountCode
customerJourneySummary
{
customerOrderIndex
firstVisit
{
source
sourceType
utmParameters
{
campaign
content
medium
source
term
}
referrerUrl
referralCode
landingPage
}
lastVisit
{
source
sourceType
utmParameters
{
campaign
content
medium
source
term
}
referrerUrl
referralCode
landingPage
}
}
displayFinancialStatus
displayFulfillmentStatus
fulfillable
hasTimelineComment
fullyPaid
name
note
riskLevel
restockable
requiresShipping
refundable
presentmentCurrencyCode
unpaid
updatedAt
subtotalLineItemsQuantity
totalPriceSet
{
shopMoney
{
amount
}
}
totalShippingPriceSet
{
shopMoney
{
amount
}
}
totalTaxSet
{
shopMoney
{
amount
}
}
refunds
{
id
createdAt
totalRefundedSet
{
shopMoney
{
amount
}
}
}
}
}
}
}
“”"
) {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}
The client shop id: heydudeshoes
How can we get his data?