Skip to main content

Bulk Delete Units of Measure

DELETE 

/api/manufacturing/units-of-measure

Delete several custom units of measure in one call.

Required scope: manufacturing:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Send either ids (an explicit list) or apply_to_all: true together with filters — the same filter keys the list endpoint accepts — to delete every custom unit matching those filters.

System units are immutable and are never deleted, whichever mode is used. A unit still referenced by product configurations, BOM lines, or manufacturing order lines is skipped rather than failing the whole call; each skipped unit is reported in data.failures with its reason. Auth: requires Bearer token.

Body: ids (array of integers, required unless apply_to_all is true), apply_to_all (boolean, optional), filters (object, optional — used with apply_to_all).

Request

Responses

OK

Response Headers
    Content-Type