Download the PHP package sellerlegend/sellerlegend-sdk-php without Composer
On this page you can find all versions of the php package sellerlegend/sellerlegend-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sellerlegend/sellerlegend-sdk-php
More information about sellerlegend/sellerlegend-sdk-php
Files in sellerlegend/sellerlegend-sdk-php
Package sellerlegend-sdk-php
Short Description Official SellerLegend SDK for Laravel applications
License MIT
Homepage https://sellerlegend.com/
Informations about the package sellerlegend-sdk-php
SellerLegend SDK
Synopsis
Official SellerLegend SDK for Laravel applications.
Requirements
php: ^7.1
ext-curl:
ext-json:
ext-zlib: *
Documentation
Postman
Access Request
Getting Started
License
The MIT License (MIT). Please see License File for more information.
Installation
The recommended way to install sellerlegend-sdk-php is through Composer:
Service Provider
Publish Assets
And that's it!
Quick Start
Get Authorization Code
To get an authorization code you only need client id and redirect path.
Get Access Token
To get access token you need to send the received auth code. The auth code is for one time use only.
Instantiate the Client
Once you have your access_token
or the refresh_token
you only need one of these along with client credentials to instantiate the client.
Refresh Access Token
You can refresh your access token when it expires by using the following method. The new access token will be in the request response.
Check Service Status
Get User Details
Get Accounts List
This method fetches list of all marketplaces connected on SellerLegend against the provided access_token
Get Connections List
This method returns a list of Amazon connections between SellerLegend and the Amazon Selling Partner API and the Amazon Advertising API. With connection token status and details about all connected marketplaces.
Once you've your account id you can start making report requests using that account id.
Example API Calls
Request Report
Request report method can accept product_sku
, dps_date
and/or last_updated_at
parameters. See documentation for details.
The request report method returns report_id
in response, which is a required parameter of other report calls.
Get Report Status
This method is supposed to return a status from the list of possible statuses. See documentation for details.
Get Report
Retrieves ,
delimited csv report content.
Get Notifications List
This method accepts one of the SellerLegend registered notification types and responds with the list of notifications sent during the last 24 hours using zapier notification channel. See documentation for details.
All versions of sellerlegend-sdk-php with dependencies
ext-curl Version *
ext-json Version *
ext-zlib Version *