Hi,
I have custom app running on few stores now, Basic, Advanced, Shopify no issue on any of the stores but the recent one we have added.
We received an order and realised that no shipping data was fetched. Permissions are the same across all stores so I don’t have clue why this issue.
Query :
query GetFulfillmentAndOrderDetails($fulfillmentOrderId: ID!, $orderId: ID!) {
fulfillmentOrder(id: $fulfillmentOrderId) {
id
orderId
orderName
lineItems(first: 250) {
edges {
node {
id
productTitle
sku
totalQuantity
}
}
}
}
order(id: $orderId) {
id
name
createdAt
totalPrice
lineItems(first: 250) {
edges {
node {
id
sku
name
quantity
originalUnitPriceSet {
shopMoney {
amount
currencyCode
}
}
discountedUnitPriceSet {
shopMoney {
amount
currencyCode
}
}
}
}
}
subtotalPriceSet {
shopMoney {
amount
}
}
shippingAddress {
firstName
lastName
address1
address2
city
country
zip
province
phone
}
shippingLine {
code
originalPriceSet {
shopMoney {
amount
}
}
}
}
}
and part of response:
"errors": [
{
"message": "This app is not approved to access the Customer object. Access to personally identifiable information (PII) like customer names, addresses, emails, phone numbers is only available on Shopify, Advanced, and Plus plans. Learn more: (link)
"locations": [
{
"line": 99,
"column": 7
}
],
"path": [
"order",
"shippingAddress",
"firstName"
],
according to this error message I should not be able to fetch PII from other basic stores yet I’m doing it for nearly a year now without any issue. Shopify support will not help as it’s 3rd party app. Anyone ?
Thanks