Discussions
/api/Item - Financial Entity always shows blank for Dues products
over 3 years ago by Lee
Hello,
We have multiple financial entities. Some Commerce and some Dues products have different entities. However the Entity reported in the /api/Item/ endpoint always returns blank for Dues products.
The UI shows the correct entity in Membership -> Billing Products -> -> Accounting - Financial entity
Is this a bug? Or am I supposed to use another endpoint to get the actual financial entity of a membership product?
Example output of Commerce Item:
"ItemFinancialInformation": {
"$type": "Asi.Soa.Commerce.DataContracts.ItemFinancialInformationData, Asi.Contracts",
"FinancialEntity": {
"$type": "Asi.Soa.Commerce.DataContracts.FinancialEntityData, Asi.Contracts",
"EntityCode": "AAUS"
},
Example output of Dues Item:
"ItemFinancialInformation": {
"$type": "Asi.Soa.Commerce.DataContracts.ItemFinancialInformationData, Asi.Contracts",
"FinancialEntity": {
"$type": "Asi.Soa.Commerce.DataContracts.FinancialEntityData, Asi.Contracts"
},
Thanks.