Materials

Update a material

This endpoint allows you to update a specific material.

patch/stocks/materials/{materialId}

Request

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

Path parameters

materialIdstring required

The Material ID

Query parameters

expanded'material_type' | 'warehouse' | 'supplier_custom_price'

Comma-separated list of relations to include in the response

Request body

namestring required

Name of the material

codestring required

Code of the material. It must be unique

descriptionunknown
unitsstring required

What unit should this item be measured with

material_type_idinteger required

Material type id

observationsunknown
skuunknown
ean_upcunknown
purchase_consumption_type'INHERIT' | 'AUTOMATIC' | 'MANUAL'

Purchase consumption type of the material

Response

OK

Changes

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