Authorization: ********************{
"requisites": "/files/b905a63f-c29b-4557-83a2-f470ef5444a6"
}curl --location --request PATCH 'https://mock.apidog.com/m1/463678-0-default/payers/1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"requisites": "/files/b905a63f-c29b-4557-83a2-f470ef5444a6"
}'{
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"code": "string",
"paymentMethod": {
"title": "string"
},
"paymentOption": {
"paymentMethod": {
"title": "string"
},
"title": "string"
},
"title": "string",
"titleShort": "string",
"accountingPhone": "string",
"customer": {
"code": "string",
"firstname": "string",
"surname": "string",
"middlename": "string",
"birthdate": "2019-08-24",
"phone": "string",
"email": "user@example.com",
"additionalPhone": "string",
"company": "string",
"companyUrl": "http://example.com",
"comment": "string",
"serviceAssigned": [
{
"service": {
"title": "string",
"departureCountry": {
"title": "string"
},
"departureCity": {
"title": "string",
"country": {
"title": "string"
}
},
"isForwarding": false
},
"assigned": {
"id": 0,
"firstname": "string",
"surname": "string",
"email": "user@example.com",
"phone": "string",
"additionalPhone": "string",
"isAdmin": false,
"globalUuid": "e0fd4ac0-c693-4953-918d-75588a826e5c",
"group": "/user-groups/1",
"serviceAssigned": [
"https://example.com/"
],
"leadsManagers": [
"https://example.com/"
],
"parent": "https://example.com/",
"children": [
"https://example.com/"
],
"departmentCode": "/department-codes/1",
"position": "/user-positions/1",
"salesDepartment": "/sales-departments/1",
"codes": "[\"/user-codes/1\"]",
"managersAssigned": [
"https://example.com/"
],
"createdBy": "https://example.com/",
"updatedBy": "https://example.com/",
"apiTokens": [
{
"id": 0,
"ownedBy": "https://example.com/",
"expiresAt": "2019-08-24T14:15:22.123Z",
"token": "string",
"scopes": [
"string"
],
"valid": true
}
],
"counters": [
"https://example.com/"
],
"partner": "https://example.com/",
"scheme": "/calculation-schemes/1",
"isOldMotivation": false,
"notificationPreferences": [
"https://example.com/"
],
"deletedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"roles2": [
"string"
],
"userIdentifier": "string",
"roles": [
"https://example.com/"
],
"deleted": true
}
}
],
"isSeason": true,
"isManagement": true,
"isBonus": true,
"bonus": 0,
"irs": true,
"leads": [
{
"id": 1,
"leadSource": {
"title": "string",
"purpose": {
"id": 1,
"label": "string"
},
"utmMarks": [
{
"user": {
"id": 0,
"firstname": "string",
"surname": "string",
"email": "user@example.com",
"phone": "string",
"additionalPhone": "string",
"isAdmin": false,
"globalUuid": "e0fd4ac0-c693-4953-918d-75588a826e5c",
"group": "/user-groups/1",
"serviceAssigned": [
"https://example.com/"
],
"leadsManagers": [
"https://example.com/"
],
"parent": "https://example.com/",
"children": [
"https://example.com/"
],
"departmentCode": "/department-codes/1",
"position": "/user-positions/1",
"salesDepartment": "/sales-departments/1",
"codes": "[\"/user-codes/1\"]",
"managersAssigned": [
"https://example.com/"
],
"createdBy": "https://example.com/",
"updatedBy": "https://example.com/",
"apiTokens": [
{
"id": 0,
"ownedBy": "https://example.com/",
"expiresAt": "2019-08-24T14:15:22.123Z",
"token": "string",
"scopes": [
"string"
],
"valid": true
}
],
"counters": [
"https://example.com/"
],
"partner": "https://example.com/",
"scheme": "/calculation-schemes/1",
"isOldMotivation": false,
"notificationPreferences": [
"https://example.com/"
],
"deletedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"roles2": [
"string"
],
"userIdentifier": "string",
"roles": [
"https://example.com/"
],
"deleted": true
},
"type": "string",
"value": "string"
}
]
},
"name": "string",
"surname": "string",
"company": "string",
"campaign": "string",
"phone": "string",
"email": "user@example.com",
"city": "string",
"leadStatus": {
"id": 1,
"label": "string"
},
"additionalInformation": "string",
"manager": {
"id": 0,
"firstname": "string",
"surname": "string",
"email": "user@example.com",
"phone": "string",
"additionalPhone": "string",
"isAdmin": false,
"globalUuid": "e0fd4ac0-c693-4953-918d-75588a826e5c",
"group": "/user-groups/1",
"serviceAssigned": [
"https://example.com/"
],
"leadsManagers": [
"https://example.com/"
],
"parent": "https://example.com/",
"children": [
"https://example.com/"
],
"departmentCode": "/department-codes/1",
"position": "/user-positions/1",
"salesDepartment": "/sales-departments/1",
"codes": "[\"/user-codes/1\"]",
"managersAssigned": [
"https://example.com/"
],
"createdBy": "https://example.com/",
"updatedBy": "https://example.com/",
"apiTokens": [
{
"id": 0,
"ownedBy": "https://example.com/",
"expiresAt": "2019-08-24T14:15:22.123Z",
"token": "string",
"scopes": [
"string"
],
"valid": true
}
],
"counters": [
"https://example.com/"
],
"partner": "https://example.com/",
"scheme": "/calculation-schemes/1",
"isOldMotivation": false,
"notificationPreferences": [
"https://example.com/"
],
"deletedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"roles2": [
"string"
],
"userIdentifier": "string",
"roles": [
"https://example.com/"
],
"deleted": true
},
"service": {
"title": "string",
"departureCountry": {
"title": "string"
},
"departureCity": {
"title": "string",
"country": {
"title": "string"
}
},
"isForwarding": false
},
"labelUtm": "string",
"causeFailure": {
"title": "string"
},
"lastTodo": {
"topic": "Перезвон",
"description": "string",
"expires": "2019-08-24T14:15:22.123Z",
"assigned": {
"id": 0,
"firstname": "string",
"surname": "string",
"email": "user@example.com",
"phone": "string",
"additionalPhone": "string",
"isAdmin": false,
"globalUuid": "e0fd4ac0-c693-4953-918d-75588a826e5c",
"group": "/user-groups/1",
"serviceAssigned": [
"https://example.com/"
],
"leadsManagers": [
"https://example.com/"
],
"parent": "https://example.com/",
"children": [
"https://example.com/"
],
"departmentCode": "/department-codes/1",
"position": "/user-positions/1",
"salesDepartment": "/sales-departments/1",
"codes": "[\"/user-codes/1\"]",
"managersAssigned": [
"https://example.com/"
],
"createdBy": "https://example.com/",
"updatedBy": "https://example.com/",
"apiTokens": [
{
"id": 0,
"ownedBy": "https://example.com/",
"expiresAt": "2019-08-24T14:15:22.123Z",
"token": "string",
"scopes": [
"string"
],
"valid": true
}
],
"counters": [
"https://example.com/"
],
"partner": "https://example.com/",
"scheme": "/calculation-schemes/1",
"isOldMotivation": false,
"notificationPreferences": [
"https://example.com/"
],
"deletedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"roles2": [
"string"
],
"userIdentifier": "string",
"roles": [
"https://example.com/"
],
"deleted": true
},
"lead": {},
"phone": "string",
"techDeal": {
"marking": {
"marking": "string",
"departmentCode": "string",
"managerCode": "string",
"clientCode": "string",
"payerCode": "string",
"techDealTypeCode": "string",
"shippingMethodCode": "string",
"dateArrival": "2019-08-24",
"countPlaces": 0,
"countPlacesTotal": 0,
"isTakenBorder": false
},
"techDealType": {
"title": "string",
"code": "string",
"ruContractTypes": [
{
"title": "string"
}
]
},
"techDealStatus": {
"title": "string",
"dealTypes": [
{
"title": "string",
"code": "string",
"ruContractTypes": [
{
"title": "string"
}
]
}
]
},
"ruContract": {
"company": {
"title": "string",
"code": "string",
"isMainCarrier": false,
"isDefaultForPaymentRequest": false
},
"number": "string",
"date": "2019-08-24",
"file": {
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"path": "string",
"pathPreview": "string",
"size": 0,
"mimeType": "string",
"createdBy": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [
{
"code": "string"
}
],
"departmentCode": {
"code": "string"
},
"position": {
"title": "string"
},
"group": {
"title": "string"
},
"roles": [
{
"title": "string",
"allServices": true,
"services": [
{
"title": "string",
"departureCity": {
"title": "string",
"country": {}
},
"isForwarding": false
}
]
}
],
"partner": {
"id": "string",
"name": "string"
}
},
"updatedBy": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [],
"roles": [],
"partner": {
"id": "string",
"name": "string"
}
},
"deletedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"scanFiles": [
{}
],
"techDealType": {
"title": "string",
"code": "string",
"ruContractTypes": [
{
"title": "string"
}
]
},
"type": {
"title": "string"
}
}
},
"isCompleted": false,
"dateCompleted": "2019-08-24T14:15:22.123Z"
},
"additionalPhone": "string"
}
],
"payers": [
null
],
"recipients": [
{
"code": "string",
"isBlocked": false,
"isPayRuDelivery": false,
"type": {
"id": 1,
"label": "string"
},
"title": "string",
"titleShort": "string",
"inn": "string",
"kpp": "string",
"ogrn": "string",
"legalAddress": "string",
"email": "user@example.com",
"contacts": "string",
"shippingMethod": {
"title": "string",
"code": "string"
},
"city": {
"title": "string",
"country": {
"title": "string"
}
},
"issuanceMethod": {
"title": "string",
"deliveryBases": [
{
"title": "string"
}
]
},
"addressDelivery": "string",
"fio": "string",
"passport": "string",
"addressReg": "string"
}
],
"lastTodo": {
"topic": "Перезвон",
"description": "string",
"expires": "2019-08-24T14:15:22.123Z",
"assigned": {
"id": 0,
"firstname": "string",
"surname": "string",
"email": "user@example.com",
"phone": "string",
"additionalPhone": "string",
"isAdmin": false,
"globalUuid": "e0fd4ac0-c693-4953-918d-75588a826e5c",
"group": "/user-groups/1",
"serviceAssigned": [
"https://example.com/"
],
"leadsManagers": [
"https://example.com/"
],
"parent": "https://example.com/",
"children": [
"https://example.com/"
],
"departmentCode": "/department-codes/1",
"position": "/user-positions/1",
"salesDepartment": "/sales-departments/1",
"codes": "[\"/user-codes/1\"]",
"managersAssigned": [
"https://example.com/"
],
"createdBy": "https://example.com/",
"updatedBy": "https://example.com/",
"apiTokens": [
{
"id": 0,
"ownedBy": "https://example.com/",
"expiresAt": "2019-08-24T14:15:22.123Z",
"token": "string",
"scopes": [
"string"
],
"valid": true
}
],
"counters": [
"https://example.com/"
],
"partner": "https://example.com/",
"scheme": "/calculation-schemes/1",
"isOldMotivation": false,
"notificationPreferences": [
"https://example.com/"
],
"deletedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"roles2": [
"string"
],
"userIdentifier": "string",
"roles": [
"https://example.com/"
],
"deleted": true
},
"lead": {},
"phone": "string",
"isCompleted": false,
"dateCompleted": "2019-08-24T14:15:22.123Z"
},
"partner": {
"id": "string",
"name": "string"
},
"isCuratorships": false,
"percentCuratorships": 0
},
"inn": "string",
"kpp": "string",
"ogrn": "string",
"bankTitle": "string",
"rs": "string",
"ks": "string",
"bik": "string",
"isEdo": false,
"director": "string",
"directorRp": "string",
"basisRp": "string",
"legalAddress": "string",
"mailingAddress": "string",
"email": "user@example.com",
"contacts": "string",
"assortment": "string",
"requisites": {},
"statement": {},
"organizationForm": {
"id": 0,
"label": "string"
}
}