Hi, I'm trying to query for all past orders but I noticed that the POS orders which appear on shopify admin doesn't appear on the response from the bulk operation. Does anybody know how can I get the POS orders as well?
Here is my query:
mutation {
bulkOperationRunQuery(
query: """
{
orders(query: "created_at:>=2024-04-14 AND created_at:<2024-04-15") {
edges {
node {
email
createdAt
cancelReason
cancelledAt
displayFulfillmentStatus
displayFinancialStatus
id
name
sourceIdentifier
paymentGatewayNames
discountCodes
location
note
currentTotalDiscountsSet {
shopMoney {
amount
}
}
currentTotalPriceSet {
shopMoney {
amount
}
}
lineItems(first: 100) {
edges {
node {
id
originalTotal
sku
discountedTotal
name
}
}
}
shippingAddress {
name
address1
address2
city
company
country
countryCodeV2
zip
firstName
lastName
phone
}
shippingLines(first: 10) {
edges {
node {
carrierIdentifier
title
source
id
originalPriceSet {
shopMoney {
amount
}
}
discountedPriceSet {
shopMoney {
amount
}
}
code
}
}
}
publication {
name
}
}
}
}
}
"""
) {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}