Update system debtor global credit limits
This endpoint is for updating the global credit limits of the system debtor.
Request​
URL​
/system-debtor-credit-status/system-debtor/<identificationNumber>
Method​
PUT
Headers​
Content-Type: application/json
Authorization: Bearer eyy...
Body​
A JSON representation of updatable global credit limit fields.
Request Body: all available fields
{
"limitGlobal": {
"type": "Number",
"description": "The global credit limit of the debtor in system locale currency"
},
"limitGlobalValidToDate": {
"type": "Date",
"description": "The valid to date of the global credit limit"
},
"rate": {
"type": "Number",
"description": "The financing rate of the system debtor"
},
}
Response​
Status code 200.
Response Body
{
"id": {
"type": "String",
"description": "The id of the system debtor credit status object"
},
"systemDebtorId": {
"type": "String",
"description": "This is the system debtor identification number. This is either an organization number or a personal identity number."
},
"limitGlobal": {
"type": "Number",
"description": "The global credit limit of the debtor in system locale currency"
},
"rate": {
"type": "Number",
"description": "The financing rate of the system debtor"
},
"totalUsed": {
"type": "Number",
"description": "The total amount used by the debtor in system locale currency"
},
"totalDisposable": {
"type": "Number",
"description": "The total amount disposable by the debtor in system locale currency"
},
"totalRecoursed": {
"type": "Number",
"description": "The total amount recoursed by the debtor in system locale currency"
},
"totalBalance": {
"type": "Number",
"description": "The total balance of the debtor in system locale currency"
},
"currencyCreditStatuses": [
"description": "A list of limits and balances based on currency",
"type": "Array"
{
"id": {
"type": "String",
"description": "The id of the system debtor credit status currency object"
},
"systemDebtorCreditStatusId": {
"type": "String",
"description": "The id of the system debtor credit status object"
},
"systemDebtorId": {
"type": "String",
"description": "This is the system debtor identification number. This is either an organization number or a personal identity number."
},
"currency": {
"type": "String",
"description": "The currency of the credit limits and balances"
},
"limitWithRecourse": {
"type": "Number",
"description": "The credit limit with recourse of the system debtor in the currency"
},
"limitWithoutRecourse": {
"type": "Number",
"description": "The credit limit without recourse of the system debtor in the currency"
},
"totalUsedWithRecourse": {
"type": "Number",
"description": "The total amount used with recourse by the system debtor in the currency"
},
"totalUsedWithoutRecourse": {
"type": "Number",
"description": "The total amount used without recourse by the system debtor in the currency"
},
"totalDisposableWithRecourse": {
"type": "Number",
"description": "The total amount disposable with recourse by the system debtor in the currency"
},
"totalDisposableWithoutRecourse": {
"type": "Number",
"description": "The total amount disposable without recourse by the system debtor in the currency"
},
"totalBalance": {
"type": "Number",
"description": "The total balance of the system debtor in the currency"
},
"limitWithRecourseValidToDate": {
"type": "Date",
"description": "The valid to date of the credit limit with recourse"
},
"limitWithoutRecourseValidToDate": {
"type": "Date",
"description": "The valid to date of the credit limit without recourse"
}
},
],
"limitGlobalValidToDate": {
"type": "Date",
"description": "The valid to date of the global credit limit"
}
}