POST api/AddressBook/UpdateCustomerProfileDetails

Request Information

URI Parameters

None.

Body Parameters

UpdateCustomerProfileDetails
NameDescriptionTypeAdditional information
countryId

integer

None.

businessId

integer

None.

userId

integer

None.

customerId

integer

None.

businessName

string

None.

alternatePhone

string

None.

monthlyPurchaseValueId

integer

None.

restockFrequencyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "countryId": 1,
  "businessId": 2,
  "userId": 3,
  "customerId": 4,
  "businessName": "sample string 5",
  "alternatePhone": "sample string 6",
  "monthlyPurchaseValueId": 7,
  "restockFrequencyId": 8
}

application/xml, text/xml

Sample:
<UpdateCustomerProfileDetails xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <countryId>1</countryId>
  <businessId>2</businessId>
  <userId>3</userId>
  <customerId>4</customerId>
  <businessName>sample string 5</businessName>
  <alternatePhone>sample string 6</alternatePhone>
  <monthlyPurchaseValueId>7</monthlyPurchaseValueId>
  <restockFrequencyId>8</restockFrequencyId>
</UpdateCustomerProfileDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2025/04/28 13:54:41",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <StatusCode>1</StatusCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
</VCAPIResponse>