Core trade
Получить шаблоны продаж или закупок
Changed onШаблоны продаж или закупок с повторением (ERP-1578): тело продажи или закупки, повторение, действия при создании, ближайшее срабатывание и дата последнего созданной продажи или закупки. Архивные — только с archived=true или state=archived.
get/api/v1/core/trade/templates
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
Query parameters
side, 'sale' | 'purchase'
state, 'active' | 'paused' | 'archived'
contact_id, string uuid
contract_id, string uuid
department_id, string uuid
archived, boolean
limit, integer
offset, integer
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Шаблоны продаж или закупок
Core Order Template List required
results, Core Order Template[] required
total, integer required
Changes
- info
added the optional property
results/items/actions/closing_delivery/with_xmlto the response with the status - info
added the optional property
results/items/actions/closing_delivery_alt/allOf[#/components/schemas/CoreOrderTemplateDelivery]/with_xmlto the response with the status - info
added the optional property
results/items/actions/closings/items/delivery/with_xmlto the response with the status
5 more changes in this revision
- info