mobly / sellercenter-sdk
SellerCenter PHP-SDK
Requires
- php: >=5.5
- doctrine/collections: 1.*
- guzzlehttp/command: 0.8.*
- guzzlehttp/guzzle: ~5.0
- guzzlehttp/guzzle-services: 0.*
- jms/serializer: ~1.0
- mtdowling/jmespath.php: ~2.0
- myclabs/php-enum: ~1.0
- zendframework/zend-uri: 2.*
Requires (Dev)
- pdepend/pdepend: ~2.0
- phplint/phplint: ~0.0
- phploc/phploc: ~2.0
- phpmd/phpmd: ~2.0
- phpunit/phpunit: ~4.0
- satooshi/php-coveralls: 0.6.*
- sebastian/phpcpd: ~2.0
- squizlabs/php_codesniffer: ~2.0
- symfony/console: ~2.6
- theseer/phpdox: 0.7.*
- zendframework/zend-code: ~2.0
- dev-master
- v1.413
- v1.412
- v1.50
- v1.42
- v1.41
- v1.40
- v1.30
- v1.20
- v1.19
- 1.18
- v1.17
- v1.16
- v1.15
- v1.14
- v1.12
- 1.11.4
- 1.11.3
- 1.11.2
- v1.11.1
- v1.11.0
- 1.10.9
- 1.10.8
- 1.10.7
- 1.10.6
- 1.10.5
- 1.10.4
- 1.10.3
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.0
- 1.8.9
- 1.8.8
- 1.8.7
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.15
- 1.4.14
- 1.4.13
- 1.4.12
- 1.4.11
- 1.4.10
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.0
- dev-feature/ds7
- dev-dev-new
- dev-hotfix/backlog-ponto-frio
- dev-hotfix/attributes-from-another-attribute-set
- dev-docker-test
This package is not auto-updated.
Last update: 2024-12-10 03:41:07 UTC
README
[](https://coveralls.io/r/mobly/sellercenter-sdk?branch= master)
Welcome to the SellerCenter SDK repository.
Installation
The recommended way to install this package is through composer.
composer require mobly/sellercenter-sdk
Quick examples
Here you can check sample usage of all SellerCenter API methods current available through this SDK.
Product
- GetProducts - Get all or a range of products
- ProductCreate - Create a new product
- ProductUpdate - Update the attributes of one or more existing products
- ProductRemove - Removes one or more products
- Image - Set the Images for a Product, by associating one or more URLs with it
- GetBrands - Get all or a range of product brands
- GetCategoryTree - Get the list of all product categories
- GetCategoryAttributes - Returns a list of attributes with options for a given category. It will also display attributes for TaxClass and ShipmentType, with their possible values listed as options
- GetCategoriesByAttributeSet - Returns a list of all attribute set categories
Feed
- FeedList - Returns all feeds created in the last 30 days
- FeedOffsetList - Returns all or a subset of all feeds created in the last 30 days
- FeedCount - Feed Statistics
- FeedCancel - Cancel all queued feeds
- GetFeedRawInput - For specified feeds, returns the XML requests originally passed in when the feed was created
- FeedStatus - Returns detailed information about a specified feed
Order
- GetOrders - Get the customer details for a range of orders
- GetOrder - Get the order items for a single order
- GetMultipleOrderItems - Returns the items for one or more orders
- SetStatusToCanceled - Cancel a single item
- SetStatusToReadyToShip - Mark an order item as being ready to ship
- SetStatusToShipped - Records that an order item has shipped
- SetStatusToFailedDelivery - Records that an order item could not be delivered to the customer
- SetStatusToDelivered - Records that an order item was delivered
- GetDocument - Retrieve order-related documents: Invoices, Shipping Labels and Shipping Parcels
- GetFailureReasons - Returns additional error context for SetToCancelled and SetToFailedDelivery
Shipment Provider
- GetShipmentProviders - Returns a list of all active shipping providers
Seller Endpoints
- GetMetrics - Returns sales and order metric for a specified period
- GetPayoutStatus - Returns sales and order metric for a specified period
- GetStatistics - Returns sales and orders metrics for a specified period
External reference
Contributing, support and issues
Please support this project send pull requests.
Follow PSR-2 rules, add the comments where needed, and provide sample explanation in the commit message.
Write unit tests for new features and grant that all existing tests passes before submiting a pull-request.
- To run unit tests just run
make test
or[vendor/bin/]phpunit
from root directory - To generate code coverage report run
make coverage
(and if you are using Mac OS runmake coverage-show
to open report in your browser)
Preferably before creating a pull request squash your commits into a single commit.
All contributors/authors are listed on contributors page.
If you found any issue during use please report it on issues page.