This module provides PowerShell commands for working with Pax8 partner API resources, including:
- 🏢 Companies
- 👤 Contacts
- 🧾 Invoices
- 🛒 Orders
- 📦 Products
- 🔁 Subscriptions
- 📊 Usage summaries
The module uses the Pax8 OAuth client credentials flow for authentication. For current API reference material, see the Pax8 developer documentation.
The Pax8 API requires a developer application with a client_id and client_secret.
Install-Module -Name 'Pax8-API'Create a credential where the username is your Pax8 client_id and the password is your Pax8 client_secret, then connect:
$credential = Get-Credential
Connect-Pax8 -credential $credentialExample read operations:
Get-Pax8Company -page 0 -size 10
Get-Pax8Product -search 'Microsoft' -page 0 -size 10
Get-Pax8Invoice -page 0 -size 10For a complete command list, see Pax8-API.md.
If you have a suggestion that would make this better, please fork the repo and create a pull request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/CoolFeature) - Commit your Changes (
git commit -m 'Add some CoolFeature') - Push to the Branch (
git push origin feature/CoolFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.