description:'The id of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.',
},
{
displayName:'Order source',
name:'source',
type:'number',
default:0,
required: true,
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'ecommerceOrder',
],
},
},
description:'The order source code (0 - will not trigger automations, 1 - will trigger automations).',
},
{
displayName:'Customer Email',
name:'email',
type:'string',
default:'',
required: true,
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'ecommerceOrder',
],
},
},
description:'The email address of the customer who placed the order.',
},
{
displayName:'Total price',
name:'totalPrice',
type:'number',
default:0,
required: true,
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'ecommerceOrder',
],
},
},
description:'The total price of the order in cents, including tax and shipping charges. (i.e. $456.78 => 45678). Must be greater than or equal to zero.',
},
{
displayName:'Order currency',
name:'currency',
type:'options',
default:'eur',
required: true,
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'ecommerceOrder',
],
},
},
options: allCurrencies,
description:'The currency of the order (3-digit ISO code, e.g., "USD").',
},
{
displayName:'Connection ID',
name:'connectionid',
type:'number',
default:0,
required: true,
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'ecommerceOrder',
],
},
},
description:'The id of the connection from which this order originated.',
},
{
displayName:'Customer ID',
name:'customerid',
type:'number',
default:0,
required: true,
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'ecommerceOrder',
],
},
},
description:'The id of the customer associated with this order.',
},
{
displayName:'Creation Date',
name:'externalCreatedDate',
type:'dateTime',
default:'',
required: true,
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'ecommerceOrder',
],
},
},
description:'The date the order was placed.',
},
{
displayName:'Abandoning Date',
name:'abandonedDate',
type:'dateTime',
default:'',
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'ecommerceOrder',
],
},
},
description:'The date the cart was abandoned. REQUIRED ONLY IF INCLUDING EXTERNALCHECKOUTID.',
description:'The id of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.',
},
{
displayName:'Order source',
name:'source',
type:'number',
default:0,
description:'The order source code (0 - will not trigger automations, 1 - will trigger automations).',
},
{
displayName:'Customer Email',
name:'email',
type:'string',
default:'',
description:'The email address of the customer who placed the order.',
},
{
displayName:'Total price',
name:'totalPrice',
type:'number',
default:0,
description:'The total price of the order in cents, including tax and shipping charges. (i.e. $456.78 => 45678). Must be greater than or equal to zero.',
},
{
displayName:'Order currency',
name:'currency',
type:'options',
default:'eur',
options: allCurrencies,
description:'The currency of the order (3-digit ISO code, e.g., "USD").',
},
{
displayName:'Connection ID',
name:'connectionid',
type:'number',
default:0,
description:'The id of the connection from which this order originated.',
},
{
displayName:'Customer ID',
name:'customerid',
type:'number',
default:0,
description:'The id of the customer associated with this order.',
},
{
displayName:'Creation Date',
name:'externalupdatedDate',
type:'dateTime',
default:'',
description:'The date the order was placed.',
},
{
displayName:'Abandoning Date',
name:'abandonedDate',
type:'dateTime',
default:'',
description:'The date the cart was abandoned. REQUIRED ONLY IF INCLUDING EXTERNALCHECKOUTID.',
},
{
displayName:'Shipping Amount',
name:'shippingAmount',
type:'number',
default:0,
description:'The total shipping amount for the order in cents .',