4.3.1 • Published 2 months ago
microsoft-partnercenter v4.3.1
Microsoft PartnerCenter RestAPI SDK for NodeJS
Getting Started
You can install the package with the following command:
npm install microsoft-partnercenter
yarn add microsoft-partnercenter
Import the package
import { MicrosoftPartnerCenter } from 'microsoft-partnercenter'
Initialize with Client ID and Client Secret Auth & Partner Domain:
const msPartnerCenter = new MicrosoftPartnerCenter ({
partnerDomain: 'partner.onmicrosoft.com',
authentication: {
clientId: '1',
clientSecret: '1',
},
})
Example Usage
Get all Customers
await msPartnerCenter.getAllCustomers()
Create Order
const customerId = '123'
const billingCycle = 'monthly'
const lineItems = [
{
offerId: '1',
quantity: 16,
termDuration: 'P1M',
},
]
await msPartnerCenter.createOrder(customerId, billingCycle, lineItems)
4.3.1
2 months ago
4.3.0
5 months ago
4.1.0
6 months ago
4.2.0
6 months ago
4.0.1
1 year ago
4.0.0
1 year ago
4.0.2
1 year ago
2.0.0
1 year ago
1.0.1
3 years ago
1.0.0
3 years ago
3.1.0
3 years ago
3.0.2
3 years ago
3.0.1
3 years ago
3.0.0
3 years ago
2.0.1
4 years ago
1.0.5
5 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago