Clients Card

check card id

request
POST /api/v2/clients/cards/9184048855/check HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Table 115. /api/v2/clients/cards/{cardId}/check
Parameter Description

cardId

supposed client card’s id

response
HTTP/1.1 200 OK

update

request
PUT /api/v2/clients/1000001531/card HTTP/1.1

{
  "cardId" : 9161699579
}
Table 116. /api/v2/clients/{clientId}/card
Parameter Description

clientId

client Id

response
HTTP/1.1 200 OK

{
  "id" : 1000001531,
  "firstName" : "123Михеичева",
  "familyName" : "123Мила",
  "patronymicName" : "-",
  "city" : "",
  "address" : "",
  "email" : "",
  "birthdayDay" : null,
  "birthdayMonth" : null,
  "birthdayYear" : null,
  "tel1" : "+79161699579",
  "tel2" : "",
  "gender" : true,
  "passportNumber" : null,
  "snilsNumber" : null,
  "snilsIssueOn" : null,
  "passportIssueOn" : null,
  "passportIssuedBy" : null,
  "informationSource" : null,
  "comment" : "12714,12374,8084,9539,9570,9744,9755,9832,9880,10113,10083,10671,11155,11886,12064,12238,13093,13374,13742,13878,14166,14194,14240,14307,14354,14402,14558,14624,14666,14743,14905,14976,15066,15077,15086,15131,15142,15230,15480,15500,15613,15675,15844,15848,15931",
  "profession" : null,
  "employmentPlace" : null,
  "driver" : false,
  "computer" : false,
  "smsAccepted" : true,
  "emailAccepted" : true,
  "phoneAccepted" : false,
  "mailAccepted" : false,
  "deleted" : false,
  "vipDiscount" : null,
  "initialOrdersSum" : 0.0,
  "ordersSum" : 0.0,
  "mobileAppLastUsage" : null,
  "contractId" : null,
  "contractDate" : null,
  "clientCard" : {
    "id" : 9161699579,
    "sum" : 0.0,
    "bonusesSum" : 0,
    "discount" : {
      "cardId" : 9161699579,
      "cardSum" : 0.0,
      "accessories" : 0.0,
      "contactLenses" : 0.0,
      "glasses" : 0.0,
      "sunglasses" : 0.0,
      "lenses" : 0.0,
      "extras" : 0.0,
      "services" : 0.0
    }
  },
  "assistant" : null,
  "lastUpdatedAt" : "2020-08-19T10:01:26.353018",
  "feedback" : null,
  "lastSeen" : null,
  "snilsVerificationStatus" : null,
  "mobileClient" : false,
  "clReplacementDiscountDate" : null
}