No content to show
User Activity
Hello, We are using the GraphQL API and rebuilding the "Total Sales by Order" report in Shopify's Admin Analytics dashboard. In this report the Order Line Items are grouped by month. Using the `processedAt` timestamp in the Order data, this works for...
Same problem I am having right now. We just want to get the monthly totals for the Gross Sales, Discounts, and Returns.Currently we have to use the Admin API to fetch individual Order data, then aggregate the numbers from there. It feels like doing o...
Unfortunately I wasn't able to solve this. I contacted Shopify support and they tried re-indexing the Shopify account, but that didn't fix this.
Hi, I'm using the Orders API (https://shopify.dev/docs/api/admin-rest/2024-04/resources/order#get-orders-order-id?fields=id,line-items,name,total-price) to get the order details and refunds. However, for some orders, the Refunds data is empty (`"refu...
Hello, Could someone please help me understand how to calculate the effective discount amount for this particular line item (with UK VAT). The line item data is below: {
"id": 13976006394078,
"current_quantity": 1,
"fulfillable_quantity": 0,
...
Confirmed that this was the issue, thanks again!
Hi Sam, You are a lifesaver! Reading the article you posted it seems to be exactly what is happening in our case. I'll implement the solution in there and will send an update, thanks again!
Hello, We are trying to figure out why there was a difference in the Discount value when you get the order details via the Orders API and when downloading the Total Sales report (in the shop admin reports). For the Total Sales report, it shows the Di...
Thanks @SBD_ !
Hello, The Shopify GraphQL API provides a way to query App purchases for a given store as described here: https://shopify.dev/docs/apps/billing/reporting#query-multiple-purchases. In the example query, it says to use currentAppInstallation if you wa...