Stock documents
Узнать остаток прежнего товара после перепривязки карточки
Changed onПосле перепривязки карточки площадки к другому товару (ERP-2198) — сколько прежнего товара лежит на складах внешней стороны (склад площадки) по юрлицам. Непустой ответ — повод «Перенести остаток» пересортицей той же стоимостью (stockApplyRegradeOffer). Ничего не пишет.
get/api/v1/stock/regrade/offer
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
from_product_id, string uuid required
Прежний товар карточки
to_product_id, string uuid required
Новый товар карточки
company_id, string uuid
Юрлицо магазина; пусто — все юрлица
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Остаток прежнего товара на складах площадок
Stock Regrade Offer required
from_product_id, string uuid required
to_product_id, string uuid required
company_id, string uuid
rows, Stock Regrade Offer Row[] required
Пусто — переносить нечего
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
3 more changes in this revision
- info