Get-PartnerCustomerOrder

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

Syntax

ByBillingCycle

Get-PartnerCustomerOrder
    -BillingCycle <BillingCycleType>
    -CustomerId <String>
    [-IncludePrice]
    [<CommonParameters>]

ByCustomerId

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

ByOrderId

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

Description

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

Examples

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.

Parameters

-BillingCycle

Indicates the type of billing cycle.

Parameter properties

Type:BillingCycleType
Default value:None
Accepted values:Annual, Monthly, None, OneTime, Unknown
Supports wildcards:False
DontShow:False

Parameter sets

ByBillingCycle
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CustomerId

Identifier for the customer.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IncludePrice

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-OrderId

Identifier for the order.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByOrderId
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

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