Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PATCH \
--url https://api.example.com/v1/crm/clients/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"ticks": [
123
],
"legal": {
"bin": "<string>",
"address": "<string>",
"director": "<string>",
"iban": "<string>",
"bik": "<string>",
"bank": "<string>"
},
"individual": {
"iin": "<string>",
"address": "<string>",
"document_number": "<string>",
"issuer_manual": "<string>",
"issue_date": "2023-12-25",
"issue_date_end": "2023-12-25",
"birth_date": "2023-12-25"
},
"name": "<string>",
"type": 0,
"legal_type": 0,
"gender": 0,
"comment": "<string>",
"avatar": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"deposit": "<string>",
"signed": true,
"sign_date": "2023-12-25",
"sign_expires": "2023-12-25",
"deleted_at": "2023-11-07T05:31:56Z",
"extra": "<unknown>",
"deleted": true,
"tenant": 123,
"legal_passport": 123,
"individual_passport": 123,
"attraction": 123,
"discount": 123,
"user": 123
}
'{
"id": 123,
"bonus": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"amount": "<string>"
},
"orders_count": 123,
"orders_amount": "<string>",
"orders_paid_amount": "<string>",
"orders_debt_amount": "<string>",
"overdue_rentals_amount": "<string>",
"transfer_count": 123,
"transfer_amount": "<string>",
"last_rent_date": "2023-11-07T05:31:56Z",
"total_time": "<string>",
"iin": "<string>",
"bin": "<string>",
"balance": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phone": "<string>",
"agreement_id": "<string>",
"type": 0,
"legal_type": 0,
"gender": 0,
"comment": "<string>",
"avatar": "<string>",
"email": "jsmith@example.com",
"deposit": "<string>",
"signed": true,
"sign_date": "2023-12-25",
"sign_expires": "2023-12-25",
"deleted_at": "2023-11-07T05:31:56Z",
"extra": "<unknown>",
"deleted": true,
"tenant": 123,
"legal_passport": 123,
"individual_passport": 123,
"attraction": 123,
"discount": 123,
"user": 123
}curl --request PATCH \
--url https://api.example.com/v1/crm/clients/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"ticks": [
123
],
"legal": {
"bin": "<string>",
"address": "<string>",
"director": "<string>",
"iban": "<string>",
"bik": "<string>",
"bank": "<string>"
},
"individual": {
"iin": "<string>",
"address": "<string>",
"document_number": "<string>",
"issuer_manual": "<string>",
"issue_date": "2023-12-25",
"issue_date_end": "2023-12-25",
"birth_date": "2023-12-25"
},
"name": "<string>",
"type": 0,
"legal_type": 0,
"gender": 0,
"comment": "<string>",
"avatar": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"deposit": "<string>",
"signed": true,
"sign_date": "2023-12-25",
"sign_expires": "2023-12-25",
"deleted_at": "2023-11-07T05:31:56Z",
"extra": "<unknown>",
"deleted": true,
"tenant": 123,
"legal_passport": 123,
"individual_passport": 123,
"attraction": 123,
"discount": 123,
"user": 123
}
'{
"id": 123,
"bonus": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"amount": "<string>"
},
"orders_count": 123,
"orders_amount": "<string>",
"orders_paid_amount": "<string>",
"orders_debt_amount": "<string>",
"overdue_rentals_amount": "<string>",
"transfer_count": 123,
"transfer_amount": "<string>",
"last_rent_date": "2023-11-07T05:31:56Z",
"total_time": "<string>",
"iin": "<string>",
"bin": "<string>",
"balance": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phone": "<string>",
"agreement_id": "<string>",
"type": 0,
"legal_type": 0,
"gender": 0,
"comment": "<string>",
"avatar": "<string>",
"email": "jsmith@example.com",
"deposit": "<string>",
"signed": true,
"sign_date": "2023-12-25",
"sign_expires": "2023-12-25",
"deleted_at": "2023-11-07T05:31:56Z",
"extra": "<unknown>",
"deleted": true,
"tenant": 123,
"legal_passport": 123,
"individual_passport": 123,
"attraction": 123,
"discount": 123,
"user": 123
}Show child attributes
Show child attributes
5120 - Физ. лицо1 - Юр. лицо0, 1 0 <= x <= 21474836470 - ИП1 - ТОО2 - АО3 - ПК0, 1, 2, 3 0 <= x <= 21474836470 - мужской1 - женский0, 1 0 <= x <= 214748364751225432^-?\d{0,14}(?:\.\d{0,2})?$Show child attributes
^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$512320 - Физ. лицо1 - Юр. лицо0, 1 0 <= x <= 21474836470 - ИП1 - ТОО2 - АО3 - ПК0, 1, 2, 3 0 <= x <= 21474836470 - мужской1 - женский0, 1 0 <= x <= 2147483647512254^-?\d{0,14}(?:\.\d{0,2})?$Была ли эта страница полезной?