Поделиться через


Get-PartnerCustomerOrder

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

Синтаксис

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>]

Описание

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

Примеры

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.

Параметры

-BillingCycle

Indicates the type of billing cycle.

Свойства параметра

Тип:BillingCycleType
Default value:None
Допустимые значения:Annual, Monthly, None, OneTime, Unknown
Поддерживаются подстановочные знаки:False
DontShow:False

Наборы параметров

ByBillingCycle
Position:Named
Обязательно:True
Значение из конвейера:False
Значение из конвейера по имени свойства:False
Значение из оставшихся аргументов:False

-CustomerId

Identifier for the customer.

Свойства параметра

Тип:String
Default value:None
Поддерживаются подстановочные знаки:False
DontShow:False

Наборы параметров

(All)
Position:Named
Обязательно:True
Значение из конвейера:False
Значение из конвейера по имени свойства:False
Значение из оставшихся аргументов:False

-IncludePrice

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

Свойства параметра

Тип:SwitchParameter
Default value:None
Поддерживаются подстановочные знаки:False
DontShow:False

Наборы параметров

(All)
Position:Named
Обязательно:False
Значение из конвейера:False
Значение из конвейера по имени свойства:False
Значение из оставшихся аргументов:False

-OrderId

Identifier for the order.

Свойства параметра

Тип:String
Default value:None
Поддерживаются подстановочные знаки:False
DontShow:False

Наборы параметров

ByOrderId
Position:Named
Обязательно:True
Значение из конвейера:False
Значение из конвейера по имени свойства:False
Значение из оставшихся аргументов: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.

Входные данные

None

Выходные данные

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