Closed adminoren closed 5 years ago
@adminoren This is logic by design to merge Contact and User properties for API methods that return User. This logic is left for backward compatibility with old themes. You might disable this Json converter in your solution if this behavior is not desired. https://github.com/VirtoCommerce/vc-storefront-core/blob/master/VirtoCommerce.Storefront/JsonConverters/BackwardCompatibilityJsonConverter.cs#L83
Please close this issue if it will help you.
Version info:
Expected behavior
User has one address stored in the database. Request to URL /storefrontapi/account?t=... should return one address in fields addresses and contact.addresses of response.
Actual behavior