Integrated Supplier Setting

list

request
GET /api/v2/integrated-suppliers/1/settings HTTP/1.1
Table 372. /api/v2/integrated-suppliers/{integratedSupplierId}/settings
Parameter Description

integratedSupplierId

Id поставщика

response
HTTP/1.1 200 OK

[ {
  "integratedSupplierId" : 1,
  "legalEntity" : {
    "id" : 1,
    "shortName" : "ИП Валеева Людмила Александровна"
  },
  "companyName" : "test",
  "supplierEmail" : "test@test.com",
  "additionalSupplierEmail" : "test@test.com",
  "confirmationEmail" : "test@test.com",
  "clientUid" : "test",
  "organizationUid" : "test"
} ]
Table 373. response description
Path Type Description

companyName

String

Название компании

supplierEmail

String

Имя поставщика

additionalSupplierEmail

String

Доп. почта

confirmationEmail

String

Почта для подтверждения

clientUid

String

Uid клиента

organizationUid

String

Uid организации

get

request
GET /api/v2/integrated-suppliers/1/legal-entities/1/settings HTTP/1.1
Table 374. /api/v2/integrated-suppliers/{integratedSupplierId}/legal-entities/{legalEntityId}/settings
Parameter Description

integratedSupplierId

Id поставщика

legalEntityId

Id юрлица

response
HTTP/1.1 200 OK

{
  "integratedSupplierId" : 1,
  "legalEntity" : {
    "id" : 1,
    "shortName" : "ИП Валеева Людмила Александровна"
  },
  "companyName" : "test",
  "supplierEmail" : "test@test.com",
  "additionalSupplierEmail" : "test@test.com",
  "confirmationEmail" : "test@test.com",
  "clientUid" : "test",
  "organizationUid" : "test"
}
Table 375. response description
Path Type Description

companyName

String

Название компании

supplierEmail

String

Имя поставщика

additionalSupplierEmail

String

Доп. почта

confirmationEmail

String

Почта для подтверждения

clientUid

String

Uid клиента

organizationUid

String

Uid организации

create

request
POST /api/v2/integrated-suppliers/2/legal-entities/1/settings HTTP/1.1

{
  "companyName" : "test",
  "supplierEmail" : "test@test.com",
  "additionalSupplierEmail" : "test@test.com",
  "confirmationEmail" : "test@test.com",
  "clientUid" : "test",
  "organizationUid" : "test"
}
Table 376. /api/v2/integrated-suppliers/{integratedSupplierId}/legal-entities/{legalEntityId}/settings
Parameter Description

integratedSupplierId

Id поставщика

legalEntityId

Id юрлица

response
HTTP/1.1 200 OK

update

request
PUT /api/v2/integrated-suppliers/1/legal-entities/1/settings HTTP/1.1

{
  "companyName" : "test",
  "supplierEmail" : "test@test.com",
  "additionalSupplierEmail" : "test@test.com",
  "confirmationEmail" : "test@test.com",
  "clientUid" : "test",
  "organizationUid" : "test"
}
Table 377. /api/v2/integrated-suppliers/{integratedSupplierId}/legal-entities/{legalEntityId}/settings
Parameter Description

integratedSupplierId

Id поставщика

legalEntityId

Id юрлица

Path Type Description Constraints

companyName

String

Название компании

Size must be between 0 and 100 inclusive

supplierEmail

String

Имя поставщика

Size must be between 0 and 320 inclusive

additionalSupplierEmail

String

Доп. почта

Size must be between 0 and 320 inclusive

confirmationEmail

String

Почта для подтверждения

Size must be between 0 and 320 inclusive

clientUid

String

Uid клиента

Must not be blank.
Size must be between 0 and 2000 inclusive

organizationUid

String

Uid организации

Size must be between 0 and 2000 inclusive

response
HTTP/1.1 200 OK