You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documents/learn-shopify/shopify-integration/inventory/inventory-sync.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,18 @@ However, if a sale occurs in-store at 12:59:59 PM and HotWax Commerce receives a
41
41
42
42
To prevent this issue, merchants can use `Hard Sync` job once a day to synchronize the inventory counts of all products from HotWax Commerce to Shopify. The synchronization is achieved through the GraphQL file, similar to how inventory synchronization is performed for products with recent updates.
43
43
44
+
This job supports two parameters to control how inventory is synchronized:
45
+
46
+
- The facilityGroupId parameter defines which facilities’ inventory is accumulated to calculate the total available quantity.
47
+
48
+
- The shopifyFacilityGroupId parameter specifies which store facilities’ inventories should be pushed to Shopify. If not specified, inventory will be pushed for all locations mapped in ShopifyShopLocation.
49
+
50
+
**Example:** A retailer has 50 stores, with 25 in Zone 1 and 25 in Zone 2. He wants to push the total inventory of all 50 stores while mapping inventory to the stores in Zone 2.
51
+
52
+
- Calculate Inventory: They create a facility group for Zone 1 and Zone 2 and provide its ID in the `facilityGroupId` parameter. This ensures that stock from these stores is included in the total inventory calculation.
53
+
54
+
- Zone 2 Inventory Sync to Shopify: They create another facility group for the Zone 2 stores and provide its ID in the `shopifyFacilityGroupId` parameter. This directs inventory updates only to the stores included in that facility group.
55
+
44
56
<figure><imgsrc="../../.gitbook/assets/11.png"alt=""><figcaption><p><em>Fig. 2: Hard Sync inventory to remove any discrepancy</em></p></figcaption></figure>
45
57
46
58
## Push Updated Inventory Deltas to Shopify
@@ -53,4 +65,4 @@ For example, Product A has 5 units listed in both Shopify and HotWax Commerce. S
53
65
54
66
In another example, if a store receives a transfer order for Product B with 2 units, which originally had 10 units, then a variance of 2 will be pushed on Shopify to update the Shopify ATP to 12.
Copy file name to clipboardExpand all lines: documents/retail-operations/workflow/job-workflows/inventory.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,14 @@ description: Discover how Inventory job works in HotWax Commerce.
8
8
9
9
### Hard Sync
10
10
11
-
Job Name: `Upload Inventory`
12
-
Job Enum ID: `JOB_UL_INV`
13
-
Service Name: `bulkResetShopifyInventoryLevel`
11
+
Job Name: `Upload Inventory`\
12
+
Job Enum ID: `JOB_UL_INV`\
13
+
Service Name: `bulkResetShopifyInventoryLevel`\
14
14
Flow: Inventory Sync from HotWax to Shopify.
15
15
16
16
**The `Hard Sync` job is used to synchronize the inventory of all the products from HotWax to Shopify once a day.** This job fetches the inventory counts of all products in Shopify and compares them with the inventory counts of all products in HotWax Commerce. Then it prepares the delta file in GraphQL format for all the products where there is a difference in inventory counts in HotWax compared to Shopify. This delta file is then sent to Shopify, and Shopify updates the inventory counts by recording deltas.
17
17
18
-
Note: The `ShopifyFacilityGroupId`' parameter allows retailers to not to push inventory of specific facilities included in that group.
18
+
Note: The `ShopifyFacilityGroupId` parameter allows retailers to push inventory of specific facilities included in that group.
19
19
20
20
**Custom Parameters**
21
21
- This job has no required parameters.
@@ -186,9 +186,9 @@ The HotWax Commerce Import App simplifies this process by allowing retailers to
186
186
187
187
### Sync Invnetory from Shopify
188
188
189
-
Job Name: `Sync Inventory from Shopify`
190
-
Job Enum Id : `JOB_SYNC_INV_FRM_SHPY`
191
-
Service Name: `bulkInventorySyncFromShopify`
189
+
Job Name: `Sync Inventory from Shopify`\
190
+
Job Enum Id : `JOB_SYNC_INV_FRM_SHPY`\
191
+
Service Name: `bulkInventorySyncFromShopify`\
192
192
Flow: Inventory Synchronization from Shopify
193
193
194
194
In cases where HotWax is not used as the source of truth for inventory availability—meaning retailers do not use HotWax for fulfillment and do not have an ERP system for inventory management—HotWax relies on Shopify for inventory updates. To ensure accurate inventory data, this job runs once a day to reset inventory updates for all products.
0 commit comments