Compartilhar via


Manage customer accounts - Update customer billing profile

Atualizações o perfil de cobrança de um cliente.

PUT https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/profiles/billing

Parâmetros de URI

Nome Em Obrigatório Tipo Description
customer_id
path True

string

A ID do locatário do Azure Active Directory do cliente.

version
path True

string

Cabeçalho da solicitação

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Nome Obrigatório Tipo Description
Authorization True

string

Token de portador de autorização

ms-correlationid

string

Usado para acompanhar solicitações internamente. Se um ms-correlationid não for fornecido, o servidor gerará um novo para cada solicitação

ms-cv

string

Usado para acompanhar solicitações internamente. Se um ms-cv não for fornecido, o servidor gerará um novo para cada solicitação

ms-requestid

string

Usado para idempotência de solicitações. Se um ms-requestid não for fornecido, o servidor gerará um novo para cada solicitação

Corpo da solicitação

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Nome Tipo Description
customerBillingProfile

Microsoft.Partner.Service.Customers.Contracts.V1.CustomerBillingProfile

As novas informações de perfil de cobrança do cliente.

Respostas

Nome Tipo Description
200 OK

Microsoft.Partner.Service.Customers.Contracts.V1.CustomerBillingProfile

A solicitação foi bem-sucedida. O corpo da resposta contém o perfil de cobrança atualizado.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Definições

Nome Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Service.Customers.Contracts.V1.Address
Microsoft.Partner.Service.Customers.Contracts.V1.CustomerBillingProfile
System.Collections.Generic.KeyValuePair[System.String,System.String]
Nome Tipo Description
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Nome Tipo Description
etag

string

objectType

string

Nome Tipo Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Service.Customers.Contracts.V1.Address

Nome Tipo Description
addressLine1

string

addressLine2

string

addressLine3

string

city

string

country

string

district

string

emailAddress

string

firstName

string

id

string

lastName

string

middleName

string

phoneNumber

string

postalCode

string

region

string

state

string

Microsoft.Partner.Service.Customers.Contracts.V1.CustomerBillingProfile

Nome Tipo Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

companyName

string

culture

string

defaultAddress

Microsoft.Partner.Service.Customers.Contracts.V1.Address

email

string

firstName

string

id

string

language

string

lastName

string

links

Microsoft.Partner.Core.Collections.ResourceLinks

System.Collections.Generic.KeyValuePair[System.String,System.String]

Nome Tipo Description
key

string

value

string