provider
inventory

Create Stock From Image

Create a new stock item by analyzing an uploaded image.

post/inventory/stocks/create-from-image

Request

Headers

TENANTstring required

The tenant you are making this request on behalf of

API-KEYstring required

Your api key

Request body multipart/form-data

imagestring binary required
supplier_idstring required
location_idstring required
descriptionstring nullable

Response

Successful Response

idstring

Unique identifier for the stock

namestring required

Name of the stock

descriptionstring nullable

Optional description of the stock

notesstring nullable

Notes about the stock

categorystring nullable

Category name (references category.name)

unit'AMPOULES' | 'APPLICATORS' | 'BOTTLES' | 'BOXES' | 'CAPSULES' | 'CUPS' | 'DOSES' | 'G_PER_ML' | 'GRAMS' | 'IU' | 'IU_PER_ML' | 'OUNCES' | 'FLUID_OUNCES' | 'KG' | 'KITS' | 'LITERS' | 'MCG' | 'MG' | 'MG_PER_ML' | 'ML' | 'MMOL' | 'MICROGRAM_PER_ML' | 'PACKS' | 'PAIRS' | 'PATCHES' | 'PERCENTAGE' | 'PIECES' | 'POUCHES' | 'ROLLS' | 'SACHETS' | 'SHEETS' | 'SPRAYS' | 'STRIPS' | 'SYRINGES' | 'TABLETS' | 'TABLETS_PER_DAY' | 'TESTS' | 'TUBES' | 'UNITS' | 'VIALS' | 'TREATMENTS' | 'SESSIONS' | 'PULSES' | 'JOULES' | 'CENTIMETERS' | 'THREAD_COUNT' | 'INJECTIONS' | 'WRINKLE_UNITS' | 'POUNDS' | 'FEET' | 'INCHES' required
isArchivedboolean

Whether the stock is archived

Changes

No recorded changes to this operation across all 2 revisions of this API.