ambition/amazon-sp-api

Amazon Selling Partner API SDK

dev-master 2025-03-19 08:53 UTC

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

使用说明