Skip to main content
PATCH
Patch settings

Авторизации

Authorization
string
header
обязательно

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Заголовки

X-Tenant-Id
integer

Компания, в контексте которой выполняется запрос — её id из GET /v1/tenant/. Пользователь должен состоять в этой компании: чужой id доступа к данным не даёт. Без заголовка компания определяется по домену запроса.

Тело

name
string
address
string
company_iin
string
company_bin
string
currency
string
currency_prefix
boolean
по умолчанию:true
language
string
company_bank
string
company_iban
string
company_bic
string
company_account_number
string
feature_point_clean
boolean
по умолчанию:false
feature_group
boolean
по умолчанию:true
feature_group_available
boolean
по умолчанию:false
feature_set
boolean
по умолчанию:true
feature_set_alternative
boolean
по умолчанию:false
feature_service
boolean
по умолчанию:true
feature_inventory
boolean
по умолчанию:false
feature_inventory_car
boolean
по умолчанию:false
feature_unique_id
boolean
по умолчанию:false
feature_inventorization_before
boolean
по умолчанию:false
feature_inventorization_after
boolean
по умолчанию:true
feature_inventorization_media
boolean
по умолчанию:false
feature_inventorization_media_desktop
boolean
по умолчанию:true
feature_inventorization_request
boolean
по умолчанию:false
feature_order_recipe
boolean
по умолчанию:false
feature_sublease
boolean
по умолчанию:false
feature_wallet
boolean
по умолчанию:false
feature_erap
boolean
по умолчанию:false
feature_transaction_date
boolean
по умолчанию:false
feature_transaction_overpay
boolean
по умолчанию:false
feature_transaction_schedule
boolean
по умолчанию:false
feature_debt_current
boolean
по умолчанию:false
feature_delivery_confirm
boolean
по умолчанию:true
feature_delivery_rent_start
boolean
по умолчанию:false
feature_delivery_rent_end
boolean
по умолчанию:false
request
string
reserve
string
debtor
string
inrent
string
cancel
string
completed
string
exceed
string
reservation
boolean
collection
boolean
order_draft
boolean
по умолчанию:true
order_flex
boolean
по умолчанию:false
order_agent
boolean
по умолчанию:false
order_client
boolean
по умолчанию:true
order_client_tick_filter
integer[]
order_inventory
boolean
по умолчанию:false
order_group
boolean
по умолчанию:true
order_service
boolean
по умолчанию:true
order_penalty_rounding
integer
по умолчанию:1
order_penalty_buffer_duration
string
order_deposit
boolean
по умолчанию:true
order_pause
boolean
по умолчанию:true
order_inventory_detail
boolean
по умолчанию:true
order_agent_percent
integer
по умолчанию:10
order_table_expanded
boolean
по умолчанию:false
order_inventory_occupation
boolean
по умолчанию:true
order_inventory_discount
boolean
по умолчанию:true
order_duration
string
order_archive_auto
boolean
по умолчанию:false
order_archive_buffer_duration
string
order_default_filter
string | null
order_rental_point
boolean
по умолчанию:true
order_rental_point_return
boolean
по умолчанию:false
order_period
boolean
по умолчанию:true
order_merge_inrent_exceed
boolean
по умолчанию:false
order_single_inventory
boolean
по умолчанию:false
order_autorenewal
boolean
по умолчанию:false
penalty
boolean
penalty_type
string | null
penalty_after
boolean
penalty_manager_access
boolean
penalty_default
string
rent_inventory_priority
string
creation_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
reservation_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
issue_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
recievement_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
delivery_order_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
single_issue
boolean
single_recievement
boolean
workshift
boolean
по умолчанию:false
metrics_order_statuses
integer[]
metrics_order_payment_statuses
integer[]
rent_product_types
string[]
penalty_options
object[]
feature_bonus
boolean
по умолчанию:false
bonus_default_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
bonus_default_amount
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
bonus_default_usage
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tax
boolean
по умолчанию:true
tax_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tax_included
boolean
по умолчанию:true
phone_format
string
order_layout_left
any
order_layout_right_v2
string[]
client_debt_limit
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
client_passport
boolean
по умолчанию:true
client_passport_scan
boolean
по умолчанию:false
client_passport_iin_length
integer
по умолчанию:12
client_kaspi_balance
boolean
по умолчанию:false
whapi
boolean
по умолчанию:false

Ответ

200 - application/json
name
string
обязательно
address
string
обязательно
company_iin
string
обязательно
company_bin
string
обязательно
currency
string
обязательно
language
string
обязательно
company_bank
string
обязательно
company_iban
string
обязательно
company_bic
string
обязательно
company_account_number
string
обязательно
collection_percent
string<decimal>
обязательно
read-only
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
feature_delivery_sms
boolean
обязательно
read-only
feature_delivery_wazzup
boolean
обязательно
read-only
feature_inventorization_duration
integer
обязательно
read-only
feature_inventory_buffer
integer
обязательно
read-only
feature_transaction_schedule_initial_fee
boolean
обязательно
read-only
order_autoweekday
boolean
обязательно
read-only
order_filter_type
string
обязательно
read-only
request
string
обязательно
reserve
string
обязательно
debtor
string
обязательно
inrent
string
обязательно
cancel
string
обязательно
completed
string
обязательно
exceed
string
обязательно
reservation
boolean
обязательно
collection
boolean
обязательно
order_client_tick_filter
integer[]
обязательно
order_penalty_buffer_duration
string
обязательно
order_duration
string
обязательно
order_archive_buffer_duration
string
обязательно
penalty
boolean
обязательно
penalty_after
boolean
обязательно
penalty_manager_access
boolean
обязательно
penalty_default
string
обязательно
rent_inventory_priority
string
обязательно
single_issue
boolean
обязательно
single_recievement
boolean
обязательно
metrics_order_statuses
integer[]
обязательно
metrics_order_payment_statuses
integer[]
обязательно
rent_product_types
string[]
обязательно
penalty_options
object[]
обязательно
custom_fields
object
обязательно
phone_format
string
обязательно
order_layout_left
any
обязательно
order_layout_right_v2
string[]
обязательно
document_billing_mode
string
обязательно
read-only
currency_prefix
boolean
по умолчанию:true
feature_point_clean
boolean
по умолчанию:false
feature_group
boolean
по умолчанию:true
feature_group_available
boolean
по умолчанию:false
feature_set
boolean
по умолчанию:true
feature_set_alternative
boolean
по умолчанию:false
feature_service
boolean
по умолчанию:true
feature_inventory
boolean
по умолчанию:false
feature_inventory_car
boolean
по умолчанию:false
feature_unique_id
boolean
по умолчанию:false
feature_inventorization_before
boolean
по умолчанию:false
feature_inventorization_after
boolean
по умолчанию:true
feature_inventorization_media
boolean
по умолчанию:false
feature_inventorization_media_desktop
boolean
по умолчанию:true
feature_inventorization_request
boolean
по умолчанию:false
feature_order_recipe
boolean
по умолчанию:false
feature_sublease
boolean
по умолчанию:false
feature_wallet
boolean
по умолчанию:false
feature_erap
boolean
по умолчанию:false
feature_transaction_date
boolean
по умолчанию:false
feature_transaction_overpay
boolean
по умолчанию:false
feature_transaction_schedule
boolean
по умолчанию:false
feature_debt_current
boolean
по умолчанию:false
feature_delivery_confirm
boolean
по умолчанию:true
feature_delivery_rent_start
boolean
по умолчанию:false
feature_delivery_rent_end
boolean
по умолчанию:false
order_draft
boolean
по умолчанию:true
order_flex
boolean
по умолчанию:false
order_agent
boolean
по умолчанию:false
order_client
boolean
по умолчанию:true
order_inventory
boolean
по умолчанию:false
order_group
boolean
по умолчанию:true
order_service
boolean
по умолчанию:true
order_penalty_rounding
integer
по умолчанию:1
order_deposit
boolean
по умолчанию:true
order_pause
boolean
по умолчанию:true
order_inventory_detail
boolean
по умолчанию:true
order_agent_percent
integer
по умолчанию:10
order_table_expanded
boolean
по умолчанию:false
order_inventory_occupation
boolean
по умолчанию:true
order_inventory_discount
boolean
по умолчанию:true
order_archive_auto
boolean
по умолчанию:false
order_default_filter
string | null
order_rental_point
boolean
по умолчанию:true
order_rental_point_return
boolean
по умолчанию:false
order_period
boolean
по умолчанию:true
order_merge_inrent_exceed
boolean
по умолчанию:false
order_single_inventory
boolean
по умолчанию:false
order_autorenewal
boolean
по умолчанию:false
penalty_type
string | null
creation_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
reservation_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
issue_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
recievement_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
delivery_order_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
workshift
boolean
по умолчанию:false
feature_bonus
boolean
по умолчанию:false
bonus_default_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
bonus_default_amount
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
bonus_default_usage
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tax
boolean
по умолчанию:true
tax_percent
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tax_included
boolean
по умолчанию:true
client_debt_limit
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
client_passport
boolean
по умолчанию:true
client_passport_scan
boolean
по умолчанию:false
client_passport_iin_length
integer
по умолчанию:12
client_kaspi_balance
boolean
по умолчанию:false
whapi
boolean
по умолчанию:false