Skip to content

Commit

Permalink
a.m. added sales origin object to order JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
amillerExtend committed Jan 28, 2024
1 parent 026d14d commit bf7595b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/FileCabinet/SuiteScripts/lib/customscript_ext_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,11 @@ define([

}
},
'saleOrigin': {
'integratorId': 'NetSuite',
'channel': 'NetSuite',
'platform': 'NetSuite'
},
'storeId': objExtendConfig.storeId,
'lineItems': objValues.lineItems,
'total': parseInt(objValues.total_amount * 100),
Expand Down

0 comments on commit bf7595b

Please sign in to comment.