Materials

Create a new material

This endpoint allows you to create a new material.

post/stocks/materials

Request

  • Base URL: https://api.infraspeak.com/v3
  • URL: https://api.infraspeak.com/v3/stocks/materials
  • Auth: HTTP bearer

Request body

namestring required

Name of the material

codestring required

Code of the material. It must be unique

descriptionstring

Description of the material

unitsstring required

What unit should this item be measured with

material_type_idinteger required

Material type id

purchase_consumption_type'INHERIT' | 'AUTOMATIC' | 'MANUAL'

Purchase consumption type of the material

skustring

Material SKU

ean_upcstring

Material EAN

observationsstring

Material observations

sale_pricenumber

This is the default sale price for the material

sale_vatnumber

This is the default sale vat for the material

Response

OK

Changes

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