Skip to content

Commit

Permalink
source-shopify-native: add some fields to products
Browse files Browse the repository at this point in the history
Some fields that seem like they'd be useful for troubleshooting or identifying Shopify resources are added to `products`.
  • Loading branch information
Alex-Bair committed Jan 16, 2025
1 parent 6b462d2 commit dacc97e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,12 @@ def build_query(start: datetime, end: datetime) -> str:
}}
inventoryItem {{
id
legacyResourceId
sku
requiresShipping
tracked
measurement {{
id
weight {{
value
unit
Expand All @@ -189,8 +192,10 @@ def build_query(start: datetime, end: datetime) -> str:
id
location {{
id
name
fulfillmentService {{
id
handle
serviceName
type
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,16 @@
"image": null,
"inventoryItem": {
"id": "gid://shopify/InventoryItem/45258934976557",
"legacyResourceId": "45258934976557",
"measurement": {
"id": "gid://shopify/InventoryItemMeasurement/44217186123821",
"weight": {
"unit": "POUNDS",
"value": 0.0
}
},
"requiresShipping": false,
"sku": null,
"tracked": false
},
"inventoryLevels": [
Expand All @@ -131,7 +134,8 @@
"id": "gid://shopify/InventoryLevel/108219858989?inventory_item_id=45258934976557",
"location": {
"fulfillmentService": null,
"id": "gid://shopify/Location/73871392813"
"id": "gid://shopify/Location/73871392813",
"name": "Shop location"
}
}
],
Expand Down Expand Up @@ -164,13 +168,16 @@
"image": null,
"inventoryItem": {
"id": "gid://shopify/InventoryItem/45258935009325",
"legacyResourceId": "45258935009325",
"measurement": {
"id": "gid://shopify/InventoryItemMeasurement/44217186156589",
"weight": {
"unit": "POUNDS",
"value": 0.0
}
},
"requiresShipping": false,
"sku": null,
"tracked": false
},
"inventoryLevels": [
Expand All @@ -179,7 +186,8 @@
"id": "gid://shopify/InventoryLevel/108219858989?inventory_item_id=45258935009325",
"location": {
"fulfillmentService": null,
"id": "gid://shopify/Location/73871392813"
"id": "gid://shopify/Location/73871392813",
"name": "Shop location"
}
}
],
Expand Down Expand Up @@ -212,13 +220,16 @@
"image": null,
"inventoryItem": {
"id": "gid://shopify/InventoryItem/45258935042093",
"legacyResourceId": "45258935042093",
"measurement": {
"id": "gid://shopify/InventoryItemMeasurement/44217186189357",
"weight": {
"unit": "POUNDS",
"value": 0.0
}
},
"requiresShipping": false,
"sku": null,
"tracked": false
},
"inventoryLevels": [
Expand All @@ -227,7 +238,8 @@
"id": "gid://shopify/InventoryLevel/108219858989?inventory_item_id=45258935042093",
"location": {
"fulfillmentService": null,
"id": "gid://shopify/Location/73871392813"
"id": "gid://shopify/Location/73871392813",
"name": "Shop location"
}
}
],
Expand Down Expand Up @@ -260,13 +272,16 @@
"image": null,
"inventoryItem": {
"id": "gid://shopify/InventoryItem/45258935074861",
"legacyResourceId": "45258935074861",
"measurement": {
"id": "gid://shopify/InventoryItemMeasurement/44217186222125",
"weight": {
"unit": "POUNDS",
"value": 0.0
}
},
"requiresShipping": false,
"sku": null,
"tracked": false
},
"inventoryLevels": [
Expand All @@ -275,7 +290,8 @@
"id": "gid://shopify/InventoryLevel/108219858989?inventory_item_id=45258935074861",
"location": {
"fulfillmentService": null,
"id": "gid://shopify/Location/73871392813"
"id": "gid://shopify/Location/73871392813",
"name": "Shop location"
}
}
],
Expand Down

0 comments on commit dacc97e

Please sign in to comment.