Discussing APIs and development related to customers, discounts, and order management.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hey guys, I've been searching this forum for this question or something similar but couldn't find any so here I am.
On my website customers can upload a photo on the product page. This is enabled by an app called UploadKit (Uploadery provides the same functionality). Now I want to fetch all orders INCLUDING this uploaded photo.
The desired result is an api call (graphQL preferred) that will give me all the orders details and per order also the uploaded photo. Does anyone have any experience with this? or any suggestions?
Thanks in advance! All help is appreciated!
Hey @jamahlmd,
It would depend on how they store the image URL. I suspect they store it as a line item property, which you can access through LineItem.customAttributes:
query { orders { edges { node { id lineItems { edges { node { id customAttributes { key value } } } } } } } }
Scott | Developer Advocate @ Shopify