With Insomnia REST Client
We will use Insomnia REST Client. (https://insomnia.rest
)
In Shopware admin (http://localhost:8000/admin
) go to Settings -> System -> Integrations
and Add integration
.
Authentication
In Insomnia create new POST request:
After running this request copy generated access_token
.
Get Orders
Get Order
Get Order Line Items
https://docs.shopware.com/en/shopware-platform-dev-en/api/filter-search-limit?category=shopware-platform-dev-en/api
With Guzzle
Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.