ambition / amazon-sp-api
Amazon Selling Partner API SDK
dev-master
2025-03-19 08:53 UTC
Requires
- php: >=7.0
- ext-json: *
- aws/aws-sdk-php: ^3.0
- firebase/php-jwt: ^5.0
- guzzlehttp/guzzle: 6.*
- phpoffice/phpspreadsheet: 1.25.2
Requires (Dev)
- php: >=7.3
- ext-json: *
- aws/aws-sdk-php: ^3.0
- firebase/php-jwt: ^5.0
- guzzlehttp/guzzle: 6.*
This package is not auto-updated.
Last update: 2025-04-02 09:09:22 UTC
README
介绍
amazon-sp-api
使用说明
$config = new Configuration([
'client_id' => 'client_id',
'client_secret' => 'client_secret',
'refresh_token' => 'refresh_token',
'access_key' => 'access_key',
'secret_key' => 'secret_key',
'region' => 'NA'
]);
// 获取订单示例 $ordersApi = new OrdersApi($config); $orders = $ordersApi->getOrders([
'MarketplaceIds' => ['ATVPDKIKX0DER'],
'CreatedAfter' => '2025-01-01T00:00:00Z',
'MaxResultsPerPage' => 50
]);
安装教程
composer require ambition/amazon-sp-api