Update an Existing Customer
put
/service/customer/{customerId}
This endpoint is used to update an existing customer.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
customerId: string
Pattern:
[a-zA-Z0-9]{1,20}
Customer ID of the customer Maintenance
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for updating an existing customer
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : LmmTmCustomerDTO-allOf[1]
Type:
Show Source
object
-
addressLine1(optional):
string
Maximum Length:
100
-
addressLine2(optional):
string
Maximum Length:
100
-
addressLine3(optional):
string
Maximum Length:
100
-
addressLine4(optional):
string
Maximum Length:
100
-
bankCode(optional):
string
Maximum Length:
4
-
branchCode(optional):
string
Maximum Length:
4
-
chargeAccountBrn(optional):
string
Maximum Length:
3
The charge funding account branch code from where the charges needs to be collected -
chargeAccountNo(optional):
string
Maximum Length:
35
The charge funding account from where the charges needs to be collected -
chargeBranchCode(optional):
string
Maximum Length:
3
The Branch code to be used for charge posting -
chargeCustAccCcy(optional):
string
Maximum Length:
3
The charge funding account branch currency from where the charges needs to be collected -
chargePricingScheme(optional):
string
Maximum Length:
50
The pricing scheme to be mapped to the customer being on boarded -
closedDtStamp(optional):
string(date)
-
closedStat(optional):
string
Maximum Length:
1
-
customerId:
string
Pattern:
[0-9a-zA-Z]{1,20}
-
customerName:
string
Maximum Length:
105
-
isAutoAuth(optional):
string
Maximum Length:
1
Y for autoauth. Used for LM Consumer -
isForgotten(optional):
string
Maximum Length:
1
-
isProspect(optional):
string
Maximum Length:
1
-
parentCustomerId(optional):
string
Maximum Length:
20
-
sourceSystem(optional):
string
Maximum Length:
35
-
sourceSystemCustNo(optional):
string
Maximum Length:
50
-
topMostCustomerId(optional):
string
Represents the top most customer in the hierarchy
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated customer
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : LmmTmCustomerDTO-allOf[1]
Type:
Show Source
object
-
addressLine1(optional):
string
Maximum Length:
100
-
addressLine2(optional):
string
Maximum Length:
100
-
addressLine3(optional):
string
Maximum Length:
100
-
addressLine4(optional):
string
Maximum Length:
100
-
bankCode(optional):
string
Maximum Length:
4
-
branchCode(optional):
string
Maximum Length:
4
-
chargeAccountBrn(optional):
string
Maximum Length:
3
The charge funding account branch code from where the charges needs to be collected -
chargeAccountNo(optional):
string
Maximum Length:
35
The charge funding account from where the charges needs to be collected -
chargeBranchCode(optional):
string
Maximum Length:
3
The Branch code to be used for charge posting -
chargeCustAccCcy(optional):
string
Maximum Length:
3
The charge funding account branch currency from where the charges needs to be collected -
chargePricingScheme(optional):
string
Maximum Length:
50
The pricing scheme to be mapped to the customer being on boarded -
closedDtStamp(optional):
string(date)
-
closedStat(optional):
string
Maximum Length:
1
-
customerId:
string
Pattern:
[0-9a-zA-Z]{1,20}
-
customerName:
string
Maximum Length:
105
-
isAutoAuth(optional):
string
Maximum Length:
1
Y for autoauth. Used for LM Consumer -
isForgotten(optional):
string
Maximum Length:
1
-
isProspect(optional):
string
Maximum Length:
1
-
parentCustomerId(optional):
string
Maximum Length:
20
-
sourceSystem(optional):
string
Maximum Length:
35
-
sourceSystemCustNo(optional):
string
Maximum Length:
50
-
topMostCustomerId(optional):
string
Represents the top most customer in the hierarchy
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error