I am trying to use last: 10 to get the last 10 orders.
customer(customerAccessToken: "${customerAccessToken}") { orders(last: 10) {...} }
{ orders(first: 10, reverse:true, sortKey:CREATED_AT) { edges { node { id createdAt } } } }
Also experiencing the same bug with the below query:
{
orders(last: 10) {
edges {
node {
id
email
name
phone
}
}
}
}
But, the same query works in the GraphQL explorer Shopify app.
I'm getting the same issue for the following query which according to the documentation I can use:
query {
currentAppInstallation {
allSubscriptions(last: 2) {
edges {
node {
lineItems {
plan {
pricingDetails {
__typename
... on AppRecurringPricing {
price {
amount
currencyCode
}
}
... on AppUsagePricing {
balanceUsed {
amount
currencyCode
}
cappedAmount {
amount
currencyCode
}
}
}
}
}
createdAt
id
name
status
test
}
}
}
}
}
User | RANK |
---|---|
25 | |
17 | |
14 | |
13 | |
12 |