Stock product units

Определить товар и единицу ввода по штрихкоду

Документ всё равно хранит количество в базовой единице; factor_to_base управляет только представлением ввода оператора.

get/api/v1/stock/products/scan

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/stock/products/scan
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Query parameters

codestring required

Штрихкод; нормализуется перед поиском

Headers

X-Tenantstring required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Товар и единица ввода штрихкода

identifier_idstring uuid required
barcodestring required
product_idstring uuid required
product_skustring required
product_namestring required
base_unitstring required
product_uom_idstring uuid required
product_uom_namestring required
input_unit_idstring uuid required
input_unit_labelstring required
factor_to_basestring required

Changes

No recorded changes to this operation across all 1 revision of this API.