Commit 391abb1
Enhance Shopify order queries with complete order data including line items (#17611)
* Enhance Shopify order queries with complete order data including line items
- Updated GET_ORDER query to include comprehensive order information:
- Complete line items with product and variant details
- Shipping and billing addresses
- Fulfillment tracking information
- Payment transactions and refunds
- Tax lines and discount allocations
- All financial breakdowns (subtotal, shipping, tax, discounts)
- Updated LIST_ORDERS query to include:
- Line items with product information
- Order status and fulfillment details
- Customer and shipping information
- Essential financial data
This provides complete order data including all items, customer info, shipping details, and fulfillment tracking when retrieving orders.
* versions
* pnpm-lock.yaml
* Fix Shopify GraphQL query field errors
- Replace deprecated acceptsMarketing with emailMarketingConsent in Customer object
- Update ProductVariant weight fields to use inventoryItem.measurement.weight structure
- Replace requestedFulfillmentServiceId with requestedFulfillmentService object
- Update fulfillment service object to include correct fields (id, serviceName, handle)
These changes align with the current Shopify GraphQL API schema and fix the "Field doesn't exist" errors.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove emailMarketingConsent field causing GraphQL errors
Fix selectionMismatch error by removing emailMarketingConsent from customer queries in GET_ORDER and LIST_ORDERS.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* update queries
* update queries
---------
Co-authored-by: Michelle Bergeron <michelle.bergeron@gmail.com>
Co-authored-by: Job Nijenhuis <job@neople.io>
Co-authored-by: Claude <noreply@anthropic.com>1 parent bdd5ea4 commit 391abb1
File tree
54 files changed
+610
-85
lines changed- components/shopify_developer_app
- actions
- add-product-to-custom-collection
- add-tags
- create-article
- create-blog
- create-custom-collection
- create-customer
- create-metafield
- create-metaobject
- create-order
- create-page
- create-product-variant
- create-product
- create-smart-collection
- delete-article
- delete-blog
- delete-metafield
- delete-page
- get-articles
- get-metafields
- get-metaobjects
- get-order
- get-pages
- search-custom-collection-by-name
- search-customers
- search-orders
- search-product-variant
- search-products
- update-article
- update-customer
- update-inventory-level
- update-metafield
- update-metaobject
- update-page
- update-product-variant
- update-product
- common
- sources
- new-abandoned-cart
- new-article
- new-cancelled-order
- new-customer-created
- new-draft-order
- new-event-emitted
- new-fulfillment-event
- new-order-created
- new-order-fulfilled
- new-page
- new-paid-order
- new-product-created
- new-product-updated
- new-refund-created
- new-updated-customer
- new-updated-order
- product-added-to-custom-collection
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
54 files changed
+610
-85
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments