< Back

Set-PartnerCustomer

Sat Jan 18, 2020 6:36 pm

NAME Set-PartnerCustomer



SYNOPSIS

Updates a customer's billing profile, including the address associated with the profile.





SYNTAX

Set-PartnerCustomer [-BillingAddressCity <String>] [-BillingAddressCountry <String>] [-BillingAddressLine1

<String>] [-BillingAddressLine2 <String>] [-BillingAddressPhoneNumber <String>] [-BillingAddressPostalCode

<String>] [-BillingAddressRegion <String>] [-BillingAddressState <String>] -CustomerId <String>

[-DisableValidation] [-Email <String>] [-Name <String>] [-Confirm] [-WhatIf] [<CommonParameters>]



Set-PartnerCustomer [-BillingAddressCity <String>] [-BillingAddressCountry <String>] [-BillingAddressLine1

<String>] [-BillingAddressLine2 <String>] [-BillingAddressPhoneNumber <String>] [-BillingAddressPostalCode

<String>] [-BillingAddressRegion <String>] [-BillingAddressState <String>] [-DisableValidation] [-Email <String>]

-InputObject <PSCustomer> [-Name <String>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Updates a customer's billing profile.





PARAMETERS

-BillingAddressCity <String>

The city of the customer's billing address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-BillingAddressCountry <String>

The country of the customer's billing address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-BillingAddressLine1 <String>

The first line of the customer's billing address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-BillingAddressLine2 <String>

The second line of the customer's billing address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-BillingAddressPhoneNumber <String>

The phone number of the customer's billing address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-BillingAddressPostalCode <String>

The postal code of the customer's billing address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-BillingAddressRegion <String>

The region of the customer's billing address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-BillingAddressState <String>

The state of the customer's billing address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-CustomerId <String>

Identifier of the customer being modified.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DisableValidation [<SwitchParameter>]

A flag that indicates whether the additional client side validation should be disabled.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Email <String>

Email address of the primary contact of the customer.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InputObject <PSCustomer>

The customer object to be modified.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

Name of the customer.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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

Microsoft.Store.PartnerCenter.PowerShell.Models.Customers.PSCustomer







OUTPUTS

Microsoft.Store.PartnerCenter.PowerShell.Models.Customers.PSCustomer







NOTES









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







RELATED LINKS

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