EPiServer.ServiceApi.Commerce.5.4.5 GetOrganization endpoint does not return meta fields (properties)

Vote:
 

Hello.

We are using ServiceApi to get organization details through a http request (/episerverapi/commerce/customers/organization/). We added some fields on the Business object Organization but they are not present in the response.

We decompiled the endpoint and found that we do not have e field Properties on OrganizationModel class (like we have on OrderGroup for example on the episerverapi/commerce/orders/orderGroupId call).

We would like to get/set some custom fields on the OrganizationModel business object using the ServiceAPI  (and not a custom endpoint) like ExtOrganizationId field.

The serviceAPI response for /episerverapi/commerce/customers/organization/:

Is there a workaround to get and set those custom fields untill (if) this feature will be done?

Thank you!

#227534
Sep 07, 2020 11:19
Vote:
 

Reasonable request - I will file a bug to Commerce team. Thanks for bringing this into our attention.

#227546
Sep 07, 2020 15:40
Vote:
 

Thanks for the response Quan Mai!

Is there possible to to the same for ContactModel object on the /episerverapi/commerce/customers/contact/{contactId} call (the Contact Business object)? We are creating both Contacts and Organizations in epiServer and want to get/set some custom fields using the ServiceAPI so we can sync with external systems like ERPs (without using a custom implementation).

#227569
Sep 08, 2020 5:50
Vote:
 

Hi! 

Do you have a response for the latest question? Also an aproximative due date for the changes will be very helpful.

Thanks! 

#228193
Sep 21, 2020 8:12
Vote:
 

It will be looked into Commerce team so they will decide how to handle it. good chance that they will do the same.

No estimated date is given. As usual releases in ServiceAPI take a bit longer than Commerce packages.

#228235
Sep 21, 2020 21:54
Vote:
 

We've made our own endpoints for specific clients in the past, but it would be great if this was offered in base epi commerce.

#228277
Sep 22, 2020 16:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.