< Back

Get-PartnerCustomerOrder

Sat Jan 18, 2020 6:28 pm

NAME Get-PartnerCustomerOrder



SYNOPSIS

Gets either a specific order or a list of order for the specified customer.





SYNTAX

Get-PartnerCustomerOrder -BillingCycle {Annual | Monthly | None | OneTime | Unknown} -CustomerId <String>

[-IncludePrice] [<CommonParameters>]



Get-PartnerCustomerOrder -CustomerId <String> [-IncludePrice] -OrderId <String> [<CommonParameters>]





DESCRIPTION

Gets either a specific order or a list of order for the specified customer.





PARAMETERS

-BillingCycle <BillingCycleType>

Indicates the type of billing cycle.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-CustomerId <String>

Identifier for the customer.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-IncludePrice [<SwitchParameter>]

A flag indicating whether to include pricing details in the order information.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-OrderId <String>

Identifier for the order.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

Microsoft.Store.PartnerCenter.PowerShell.Models.Orders.PSOrder







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Get-PartnerCustomerOrder -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08 -BillingCycle Monthly



Gets the list of orders with a billing cycle type of monthly for the specified customer.





-------------------------- Example 1 --------------------------



PS C:\\> Get-PartnerCustomerOrder -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08



Gets the list of orders for the specified customer.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... tomerOrder