Skip to content

Commit

Permalink
Merge pull request #532 from ShoppinPal/desire-re-order-point
Browse files Browse the repository at this point in the history
Added changes in npm shrinkwrap.json. Updated desire reorder point issue
  • Loading branch information
surajmandal04 authored Oct 25, 2024
2 parents de9392d + e2f3fb7 commit ca77541
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 deletions common/utils/vend.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,14 @@ var setDesiredStockLevelForVend = function (orgModelId, outletId, productId, des
id: productId //'3aab7379-15a2-11e3-a415-bc764e10976c'
};
var updateData = {
id: product.id,
inventory: [
{
'outlet_id': outletId, //'aea67e1a-b85c-11e2-a415-bc764e10976c',
'reorder_point': desiredStockLevel
}
]
details: {
inventory: [
{
'outlet_id': outletId, //'aea67e1a-b85c-11e2-a415-bc764e10976c',
'reorder_point': desiredStockLevel
}
]
}
};
return vendSdk.products.update({apiId: {value: product.id}, body: {value: updateData}}, connectionInfo);
})
Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion workers/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca77541

Please sign in to comment.