Manage customer accounts - Create customer
새 고객을 비동기적으로 만듭니다. 참고: GenerateReadWriteConsistencyToken의 추가 헤더 값도 사용합니다.
POST https://api.partnercenter.microsoft.com/v{version}/customers
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
version
|
path | True |
string |
요청 헤더
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | 필수 | 형식 | Description |
---|---|---|---|
Authorization | True |
string |
권한 부여 전달자 토큰 |
ms-correlationid |
string |
내부적으로 요청을 추적하는 데 사용됩니다. ms-correlationid가 제공되지 않으면 서버는 각 요청에 대해 새 상관 관계를 생성합니다. |
|
ms-cv |
string |
내부적으로 요청을 추적하는 데 사용됩니다. ms-cv 제공되지 않으면 서버는 각 요청에 대해 새 ms-cv 생성합니다. |
|
ms-requestid |
string |
요청의 idempotency에 사용됩니다. ms-requestid가 제공되지 않으면 서버는 각 요청에 대해 새 요청을 생성합니다. |
요청 본문
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | 형식 | Description |
---|---|---|
customer |
고객 세부 정보입니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
요청이 성공했습니다. 이 메서드는 전달자 토큰에 권한을 부여합니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
정의
Microsoft.Partner.Core.Collections.Link
Name | 형식 | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | 형식 | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | 형식 | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Service.Customers.Contracts.V1.Address
Name | 형식 | 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.Customer
Name | 형식 | Description |
---|---|---|
allowDelegatedAccess |
bool? |
|
associatedPartnerId |
string |
|
attributes | ||
billingProfile |
Microsoft. |
|
commerceId |
string |
|
companyProfile |
Microsoft. |
|
customDomains |
string[] |
|
id |
string |
|
links | ||
relationshipToPartner |
enum:
|
|
userCredentials |
Microsoft. |
Microsoft.Partner.Service.Customers.Contracts.V1.CustomerBillingProfile
Name | 형식 | Description |
---|---|---|
attributes | ||
companyName |
string |
|
culture |
string |
|
defaultAddress | ||
string |
||
firstName |
string |
|
id |
string |
|
language |
string |
|
lastName |
string |
|
links |
Microsoft.Partner.Service.Customers.Contracts.V1.CustomerCompanyProfile
Name | 형식 | Description |
---|---|---|
address | ||
attributes | ||
companyName |
string |
|
domain |
string |
|
string |
||
links | ||
organizationRegistrationNumber |
string |
|
tenantId |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.UserCredentials
Name | 형식 | Description |
---|---|---|
password | ||
userName |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | 형식 | Description |
---|---|---|
key |
string |
|
value |
string |
System.Security.SecureString
Name | 형식 | Description |
---|---|---|
length |
integer |