Holder update
Update the user associated to a coupon.
Request
PUT https://api.domec.tools/v1.0/cp/{couponCode:string}/holder
Request Body
{
"Email": "",
"Password": "",
"FirstName": "",
"LastName": "",
"AuthorizationPin": "",
"Approvals": "",
"SecurityActivationToken": "",
"BirthDate": "",
"FiscalCode": "",
"BirthPlace": "",
"Gender": {},
"Address": "",
"City": "",
"Zip": "",
"District": "",
"BirthAddress": "",
"BirthCity": "",
"BirthZip": "",
"BirthDistrict": "",
"DomicileAddress": "",
"DomicileCity": "",
"DomicileZip": "",
"DomicileDistrict": "",
"PartnerCode": "",
"AssociationCode": "",
"Device": {
"Token": "",
"Os": "",
"DeviceIdiom": "",
"DeviceUniqueID": ""
}
}
Parameters
The Holder update receive the following parameters in the input.
Name | Type | Data Type | Mandatory |
---|---|---|---|
couponCode | path | string | |
model | body | ExtendedCardDataViewModel |
Responses
The following HTTP status codes may be returned, optionally with a response resource