Set-PartnerCustomer
Updates a customer's billing profile, including the address associated with the profile.
Syntax
Set-PartnerCustomer
[-BillingAddressLine1 <String>]
[-BillingAddressLine2 <String>]
[-BillingAddressCity <String>]
[-BillingAddressCountry <String>]
[-BillingAddressPhoneNumber <String>]
[-BillingAddressPostalCode <String>]
[-BillingAddressRegion <String>]
[-BillingAddressState <String>]
-CustomerId <String>
[-DisableValidation]
[-Email <String>]
[-Name <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-PartnerCustomer
-InputObject <PSCustomer>
[-BillingAddressLine1 <String>]
[-BillingAddressLine2 <String>]
[-BillingAddressCity <String>]
[-BillingAddressCountry <String>]
[-BillingAddressPhoneNumber <String>]
[-BillingAddressPostalCode <String>]
[-BillingAddressRegion <String>]
[-BillingAddressState <String>]
[-DisableValidation]
[-Email <String>]
[-Name <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Updates a customer's billing profile.
Examples
Example 1
PS C:\> Set-PartnerCustomer -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08 -BillingAddressLine1 '700 Bellevue Way' -BillingAddressCity 'Bellevue' -BillingAddressPostalCode '98004'
Updates the billing address for the customer, with the identifier of 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08, to 700 Bellevue Way NE, Bellevue, WA 98004.
Example 2
PS C:\> $customer = Get-PartnerCustomer 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08
PS C:\> $customer | Set-PartnerCustomer -BillingAddressLine1 '700 Bellevue Way' -BillingAddressCity 'Bellevue' -BillingAddressPostalCode '98004'
Updates the billing address for the customer, with the identifier of 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08, to 700 Bellevue Way NE, Bellevue, WA 98004.
Parameters
-BillingAddressCity
The city of the customer's billing address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BillingAddressCountry
The country of the customer's billing address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BillingAddressLine1
The first line of the customer's billing address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BillingAddressLine2
The second line of the customer's billing address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BillingAddressPhoneNumber
The phone number of the customer's billing address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BillingAddressPostalCode
The postal code of the customer's billing address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BillingAddressRegion
The region of the customer's billing address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BillingAddressState
The state of the customer's billing address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerId
Identifier of the customer being modified.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisableValidation
A flag that indicates whether the additional client side validation should be disabled.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Email address of the primary contact of the customer.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
The customer object to be modified.
Type: | PSCustomer |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Name of the customer.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Store.PartnerCenter.PowerShell.Models.Customers.PSCustomer
Outputs
Microsoft.Store.PartnerCenter.PowerShell.Models.Customers.PSCustomer