How to get expiry date of product or variant?


How to get expiry date of product or variant programmetically?

Edited, Jul 12, 2019 9:34
Edited, Jul 12, 2019 10:04

I have checked this one but it only says whether a product is expired whereas I need expiry date.

Jul 12, 2019 10:23

If you are using content API (which you should), look for StopPublish property 

Jul 12, 2019 11:28
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.