Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History
128 lines (96 loc) · 2.94 KB

Get-PartnerCustomerOrder.md

File metadata and controls

128 lines (96 loc) · 2.94 KB
content_git_url external help file Module Name online version original_content_git_url schema
Microsoft.Store.PartnerCenter.PowerShell.dll-Help.xml
PartnerCenter
2.0.0

Get-PartnerCustomerOrder

SYNOPSIS

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> [-IncludePrice] -OrderId <String> [<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.

Type: BillingCycleType
Parameter Sets: ByBillingCycle
Aliases:
Accepted values: Annual, Monthly, None, OneTime, Unknown

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CustomerId

Identifier for the customer.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludePrice

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OrderId

Identifier for the order.

Type: String
Parameter Sets: ByOrderId
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

None

OUTPUTS

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

NOTES

RELATED LINKS