inventory
get/api/inventory/material/{id}/

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idinteger required

A unique integer value identifying this material.

Headers

Authorizationstring

Authorization token

Response

idinteger required
identifierstring nullable
show_namestring required
namestring nullable
name_shortstring nullable
unitstring nullable
supplierstring nullable
supplier_relationinteger nullable
product_typestring nullable
modifiedstring required

Display string in the tenant's configured date_format, not an ISO-8601 value.

price_purchasestring decimal required
price_sellingstring decimal required
price_selling_altstring decimal required
external_identifierstring nullable
price_purchase_exstring decimal required
price_purchase_ex_currencystring required
price_selling_exstring decimal required
price_selling_ex_currencystring required
price_selling_alt_exstring decimal required
imagestring nullable

Base64 on the way in, a URL on the way out. Sending a data URI ("data:image/png;base64,...") or a bare base64 payload both store the image; reading the field back gives the stored file's URL.

supplier_namestring nullable required
locationstring nullable
latest_yearinteger nullable required
year_usedinteger nullable required

Changes