Create Customer
Add new customer record for a given manufacturer and distributor combination Update existing customer record for a given PAN, manufacturer and distributor combination
application/json
Request Body required
sessionId Sessionid required
Id which we get in kyc api
sourceType object
An enumeration.
manufacturerId Manufacturerid required
Unique identifier of the AMC
productId Productid required
System generated unique id to identify a manufacturer products/strategy
Responses
- 200
- 422
Successful Response
application/json
Schema
Example (from schema)
Schema
reqId Reqid required
errors undefined[]
Default value: []
data object required
customerId Customerid
Unique id to identify customer record
{
"reqId": "string",
"errors": [
null
],
"data": {
"customerId": 0
}
}
Validation Error
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
detail object[]
loc object[] required
anyOf
MOD1
MOD2
string
integer
msg Message required
type Error Type required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...