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.

NameTypeData TypeMandatory
couponCodepathstring
modelbodyExtendedCardDataViewModel

Responses

The following HTTP status codes may be returned, optionally with a response resource

Status codeDescriptionResponse body
200OK
Success
View body
400BadRequest
The input request contains errors which prevents executing the request
View body
404NotFound
Endpoint not found
View body