Body
The properties of the tier to update.
-
The name of the tier.
-
The close price for the tier.
-
The date the tier closed.
-
The code for the status of the tier.
Values are
C,F,O, orX. -
The unique id of the classification associated with this tier.
-
The total commission amount for the selling end or side of the tier.
-
The commission percentage for the selling end or side of the tier. This will be specified as a decimal. For example, 5% will be specified as 0.05.
-
The code representing the method used to calculate the selling commission.
Values are
AorP. -
The total commission amount for the buying end or side of the tier.
-
The commission percentage for the buying end or side of the tier. This will be specified as a decimal. For example, 5% will be specified as 0.05.
-
The code representing the method used to calculate the buying commission.
Values are
AorP.
curl \
--request PATCH 'https://api.lwolf.com/backoffice/v1/tiers/{tierId}' \
--header "Content-Type: application/json" \
--data '{"name":"string","closePrice":0,"closeDate":"string","statusCode":"C","classificationId":"string","sellingCommissionAmount":0,"sellingCommissionPercentage":0,"sellingCommissionCalculationMethodCode":"A","buyingCommissionAmount":0,"buyingCommissionPercentage":0,"buyingCommissionCalculationMethodCode":"A"}'
{
"name": "string",
"closePrice": 0,
"closeDate": "string",
"statusCode": "C",
"classificationId": "string",
"sellingCommissionAmount": 0,
"sellingCommissionPercentage": 0,
"sellingCommissionCalculationMethodCode": "A",
"buyingCommissionAmount": 0,
"buyingCommissionPercentage": 0,
"buyingCommissionCalculationMethodCode": "A"
}
{
"id": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"name": "string",
"closePrice": 0,
"closeDate": "string",
"statusCode": "C",
"classificationId": "string",
"sellingCommissionAmount": 0,
"sellingCommissionPercentage": 0,
"sellingCommissionCalculationMethodCode": "A",
"buyingCommissionAmount": 0,
"buyingCommissionPercentage": 0,
"buyingCommissionCalculationMethodCode": "A",
"classification": {
"name": "string",
"code": "string",
"endCount": 0,
"endTypeCode": "B"
},
"commissions": [
{
"id": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"agentId": "string",
"officeId": "string",
"amount": 0,
"percentage": 0,
"endCode": "B",
"endCount": 0,
"calculationMethodCode": "A",
"taxAmount": 0,
"totalFeeAmount": 0,
"totalFeeTaxAmount": 0,
"fees": [
{
"id": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"percentage": 0,
"amount": 0,
"calculationMethodCode": "A",
"taxAmount": 0,
"taxPercentage": 0,
"paymentMethodCode": "string",
"fee": {
"shortName": "string",
"name": "string"
}
}
],
"agent": {
"firstName": "string",
"middleName": "string",
"lastName": "string"
},
"office": {
"name": "string",
"code": "string"
}
}
],
"externalCommissions": [
{
"id": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"endCode": "B",
"percentage": 0,
"amount": 0,
"calculationMethodCode": "A",
"paymentMethodCode": "B",
"externalAgentId": "string",
"externalAgent": {
"id": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"endCode": "B",
"typeCode": "B",
"paymentMethodCode": "B",
"firstName": "string",
"lastName": "string",
"companyName": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressCity": "string",
"addressPostalCode": "string",
"addressProvinceCode": "string",
"addressCountryCode": "string",
"phoneNumberMain": "string",
"phoneNumberBusiness": "string",
"faxNumberMain": "string",
"emailAddressMain": "string",
"emailAddressBusiness": "string"
}
}
]
}
{
"id": "string",
"code": 0,
"message": "string",
"details": [
"string"
]
}
{
"id": "string",
"code": 0,
"message": "string",
"details": [
"string"
]
}
{
"id": "string",
"code": 0,
"message": "string",
"details": [
"string"
]
}
{
"id": "string",
"code": 0,
"message": "string",
"details": [
"string"
]
}
{
"id": "string",
"code": 0,
"message": "string",
"details": [
"string"
]
}