How to identify order is placed from frontend or rest API ?
when we are trying to area code from any event after order placed
$this->_checkState->getAreaCode()
then we are getting always area code is "webapi_rest"
it must be frontend.
If checkout placed order is using REST API then how to identify order placed is from frontend or rest API or any other medium?