Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/VK/Actions/Market.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,21 @@ public function getComments($access_token, array $params = []) {
return $this->request->post('market.getComments', $access_token, $params);
}

/**
* Returns order by its identifier
*
* @param string $access_token
* @param array $params
* - @var integer user_id: identifier of customer
* - @var integer order_id: identifier of customer's order
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/
public function getOrderById($access_token, array $params = []) {
return $this->request->post('market.getOrderById', $access_token, $params);
}

/**
* Removes an item from one or multiple collections.
*
Expand Down