GraphQL Schema Updates
Storefront GraphQL order details now expose a download page URL on physical line items that bundle a downloadable digital product, so headless storefronts can show shoppers where to get their files without inspecting child line items.
Storefront GraphQL
- Download page URL on physical line items: the
OrderPhysicalLineItemtype adds a nullabledownloadPageUrlstring. It returns the URL of the order’s downloads page when the physical item bundles a digital child product with downloadable files and the order’s digital products are available for download. Otherwise it returnsnull. This brings physical line items in line withOrderDigitalLineItem, which already exposesdownloadPageUrl, and matches the download link the hosted storefront shows on the order details page for bundled products.
For example queries, see the Orders guide. For schema details, see the field in the Storefront GraphQL API reference. The links open the response tree at the shipping consignment line items; the same field appears under pickups: