Skip to content

Commit 391abb1

Browse files
seynadiomichelle0927Afstklaclaude
authored
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

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 changed

components/shopify_developer_app/actions/add-product-to-custom-collection/add-product-to-custom-collection.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
1111
export default {
1212
...others,
1313
key: "shopify_developer_app-add-product-to-custom-collection",
14-
version: "0.0.7",
14+
version: "0.0.8",
1515
name,
1616
description,
1717
type,

components/shopify_developer_app/actions/add-tags/add-tags.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
1111
export default {
1212
...others,
1313
key: "shopify_developer_app-add-tags",
14-
version: "0.0.7",
14+
version: "0.0.8",
1515
name,
1616
description,
1717
type,

components/shopify_developer_app/actions/create-article/create-article.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
1111
export default {
1212
...others,
1313
key: "shopify_developer_app-create-article",
14-
version: "0.0.9",
14+
version: "0.0.10",
1515
name,
1616
description,
1717
type,

components/shopify_developer_app/actions/create-blog/create-blog.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
1111
export default {
1212
...others,
1313
key: "shopify_developer_app-create-blog",
14-
version: "0.0.9",
14+
version: "0.0.10",
1515
name,
1616
description,
1717
type,

components/shopify_developer_app/actions/create-custom-collection/create-custom-collection.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
1111
export default {
1212
...others,
1313
key: "shopify_developer_app-create-custom-collection",
14-
version: "0.0.7",
14+
version: "0.0.8",
1515
name,
1616
description,
1717
type,

components/shopify_developer_app/actions/create-customer/create-customer.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "shopify_developer_app-create-customer",
55
name: "Create Customer",
66
description: "Create a new customer. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/customercreate)",
7-
version: "0.0.7",
7+
version: "0.0.8",
88
type: "action",
99
props: {
1010
shopify,

components/shopify_developer_app/actions/create-metafield/create-metafield.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const {
1010
export default {
1111
...others,
1212
key: "shopify_developer_app-create-metafield",
13-
version: "0.0.8",
13+
version: "0.0.9",
1414
name,
1515
description,
1616
type,

components/shopify_developer_app/actions/create-metaobject/create-metaobject.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
1111
export default {
1212
...others,
1313
key: "shopify_developer_app-create-metaobject",
14-
version: "0.0.9",
14+
version: "0.0.10",
1515
name,
1616
description,
1717
type,

components/shopify_developer_app/actions/create-order/create-order.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "shopify_developer_app-create-order",
66
name: "Create Order",
77
description: "Creates a new order. For full order object details [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/ordercreate)",
8-
version: "0.0.7",
8+
version: "0.0.8",
99
type: "action",
1010
props: {
1111
shopify,

components/shopify_developer_app/actions/create-page/create-page.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
1111
export default {
1212
...others,
1313
key: "shopify_developer_app-create-page",
14-
version: "0.0.9",
14+
version: "0.0.10",
1515
name,
1616
description,
1717
type,

0 commit comments

Comments
 (0)