Body
The properties of the external agent to update.
-
The code end or side of the transaction.
Values are
BorS. -
The code for the type of external agent this is. This will be either "B" for outside broker or "R" for referral.
Values are
BorR. -
The code for the method use to pay the external agent.
Values are
B,N, orE. -
The first name of the external agent.
-
The last name of the external agent.
-
The name of the company for which the external agent works.
-
The street address.
-
The address unit number.
-
The city of the address.
-
The postal code of the address. This will be unformatted.
-
The two character state or province code.
-
The two character country code.
-
The external agent's main phone number.
-
The external agent's business phone number.
-
The external agent's main fax number.
-
The external agent's main email address.
-
The external agent's business email address.
curl \
--request PATCH 'https://api.lwolf.com/backoffice/v1/external-agents/{externalAgentId}' \
--header "Content-Type: application/json" \
--data '{"endCode":"B","lastName":"string","typeCode":"B","firstName":"string","addressCity":"string","companyName":"string","addressLine1":"string","addressLine2":"string","faxNumberMain":"string","phoneNumberMain":"string","emailAddressMain":"string","addressPostalCode":"string","paymentMethodCode":"B","addressCountryCode":"string","addressProvinceCode":"string","phoneNumberBusiness":"string","emailAddressBusiness":"string"}'
{
"endCode": "B",
"lastName": "string",
"typeCode": "B",
"firstName": "string",
"addressCity": "string",
"companyName": "string",
"addressLine1": "string",
"addressLine2": "string",
"faxNumberMain": "string",
"phoneNumberMain": "string",
"emailAddressMain": "string",
"addressPostalCode": "string",
"paymentMethodCode": "B",
"addressCountryCode": "string",
"addressProvinceCode": "string",
"phoneNumberBusiness": "string",
"emailAddressBusiness": "string"
}
{
"id": "string",
"endCode": "B",
"lastName": "string",
"typeCode": "B",
"firstName": "string",
"addressCity": "string",
"companyName": "string",
"addressLine1": "string",
"addressLine2": "string",
"faxNumberMain": "string",
"phoneNumberMain": "string",
"createdTimestamp": "string",
"emailAddressMain": "string",
"addressPostalCode": "string",
"modifiedTimestamp": "string",
"paymentMethodCode": "B",
"addressCountryCode": "string",
"addressProvinceCode": "string",
"phoneNumberBusiness": "string",
"emailAddressBusiness": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}