Fixed list of custodian account in Zapier

This commit is contained in:
Wouter Samaey 2022-08-29 21:30:43 +02:00
parent d1e841f660
commit f4e206145f

View File

@ -2,7 +2,7 @@ module.exports = {
noun: 'Custodian Account',
outputFields: [
{key: 'accountId', label: 'Store ID', type: 'string'},
{key: 'id', label: 'Custodian Account ID', type: 'string'},
{key: 'storeId', label: 'Store ID', type: 'string'},
{key: 'name', label: 'Custodian Account Name', type: 'string'},
{key: 'custodianCode', label: 'Custodian Code', type: 'string'},
@ -18,7 +18,7 @@ module.exports = {
helpText: 'The custodian account ID.',
required: true,
altersDynamicFields: false,
dynamic: 'custodian_account.accountId.name' // Meaning: resource "custodianAccount" with method "list". The value is in the "accountId" field and the label is in the "name" field.
dynamic: 'custodian_account.id.name' // Meaning: resource "custodianAccount" with method "list". The value is in the "accountId" field and the label is in the "name" field.
}
},