Установить версионированное правило проводки
Changed onНовое правило закрывает предыдущее с даты valid_from; пустой subject_id создаёт правило по умолчанию.
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
- or HTTP bearer
Headers
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Счёт запасов задаёт вид номенклатуры (ERP-2821): product_kind_goods, product_kind_material, product_kind_semi_product — без subject_id. warehouse отвергается 400 core.gl_mapping.warehouse_retired: склад больше не задаёт счёт.
Omitted means today
Response
Созданное правило
product_kind_* — правило вида номенклатуры (ERP-2821), без subject_id; warehouse — прежнее правило склада, новых не заводят
Changes
- warning
added the new
product_kind_goodsenum value to thesubject_typeresponse property for the response status - warning
added the new
product_kind_materialenum value to thesubject_typeresponse property for the response status - warning
added the new
product_kind_semi_productenum value to thesubject_typeresponse property for the response status
3 more changes in this revision
- warning