-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Финансовые отчеты #70
Comments
<?php
declare(strict_types=1);
namespace Gam6itko\OzonSeller\Service\V1;
use Gam6itko\OzonSeller\Enum\TransactionType;
use Gam6itko\OzonSeller\Service\AbstractService;
use Gam6itko\OzonSeller\Utils\ArrayHelper;
/**
* Allows to retrieve reports via API, that are also available in Seller Center.
*
* @see https://cb-api.ozonru.me/apiref/en/#t-title_seller_reports
*
* @author Alexander Strizhak <gam6itko@gmail.com>
*/
class FinanceService extends AbstractService
{
/**
* Returns a list of reports which were previously generated by Seller.
*
* @see https://docs.ozon.ru/api/seller/#tag/FinanceAPI
*
* @return array|string
*/
public function realization(array $query)
{
$query = ArrayHelper::pick($query, ['date']);
return $this->request('POST', '/v1/finance/realization', $query);
}
} |
Спасибо за предоставленный код. В следующий раз вы можете кидать PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Здравствуйте!
https://api-seller.ozon.ru/v1/finance/realization - такой отчет есть в планах?
The text was updated successfully, but these errors were encountered: