Update UnitType by ID

Updates a single UnitType object

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

ID of UnitType to update

Body Params

UnitType data that needs to be changed

boolean
Defaults to true

Flag. If set to True, the unit is usable for ingredient inventory tracking.

boolean
Defaults to false

Flag. If set to True, the unit is automatically assigned to all new ingredients.

string
required

Unit name. Used in ingredient inventory tracking, recipes and reporting to name the units of measurement. Up to 200 characters long.

Responses
202

Resource successfully updated.

301

Invalid request URL - make sure that the URL ends with a trailing slash.

400

Invalid input - please run the request body through a JSON validator.

401

Authentication error - make sure the API key & secret is valid, active and provided in the "API-AUTHENTICATION" header.

404

UnitType not found

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!