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","closeDate":"string","closePrice":0,"statusCode":"C","classificationId":"string","buyingCommissionAmount":0,"sellingCommissionAmount":0,"buyingCommissionPercentage":0,"sellingCommissionPercentage":0,"buyingCommissionCalculationMethodCode":"A","sellingCommissionCalculationMethodCode":"A"}'
{
"name": "string",
"closeDate": "string",
"closePrice": 0,
"statusCode": "C",
"classificationId": "string",
"buyingCommissionAmount": 0,
"sellingCommissionAmount": 0,
"buyingCommissionPercentage": 0,
"sellingCommissionPercentage": 0,
"buyingCommissionCalculationMethodCode": "A",
"sellingCommissionCalculationMethodCode": "A"
}
{
"id": "string",
"name": "string",
"closeDate": "string",
"closePrice": 0,
"statusCode": "C",
"commissions": [
{
"id": "string",
"fees": [
{
"id": "string",
"fee": {
"name": "string",
"shortName": "string"
},
"amount": 0,
"taxAmount": 0,
"percentage": 0,
"taxPercentage": 0,
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"paymentMethodCode": "string",
"calculationMethodCode": "A"
}
],
"agent": {
"lastName": "string",
"firstName": "string",
"middleName": "string"
},
"amount": 0,
"office": {
"code": "string",
"name": "string"
},
"agentId": "string",
"endCode": "B",
"endCount": 0,
"officeId": "string",
"taxAmount": 0,
"percentage": 0,
"totalFeeAmount": 0,
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"totalFeeTaxAmount": 0,
"calculationMethodCode": "A"
}
],
"classification": {
"code": "string",
"name": "string",
"endCount": 0,
"endTypeCode": "B"
},
"classificationId": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"externalCommissions": [
{
"id": "string",
"amount": 0,
"endCode": "B",
"percentage": 0,
"externalAgent": {
"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"
},
"externalAgentId": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"paymentMethodCode": "B",
"calculationMethodCode": "A"
}
],
"buyingCommissionAmount": 0,
"sellingCommissionAmount": 0,
"buyingCommissionPercentage": 0,
"sellingCommissionPercentage": 0,
"buyingCommissionCalculationMethodCode": "A",
"sellingCommissionCalculationMethodCode": "A"
}
{
"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"
}