Skip to main content
PATCH
Update uom-code-sets

Authorizations

Authorization
string
header
required

Use a project API key from Settings > API Access. Send it as Authorization: Bearer wpk_.... See authentication and scopes for setup and permissions.

Headers

Idempotency-Key
string

Reuse this key for retries of the same write. Scoped to this API key; retained until key deletion. Different requests with the same key return 409.

Required string length: 1 - 128
Pattern: ^[!-~]+$

Path Parameters

resource_id
integer
required

Body

application/json
name
string

Display name (e.g., 'Dimensions UOM', 'Electric/Power UOM')

Maximum string length: 100
code
string

Unique identifier (e.g., 'dimensions_uom', 'electric_power_uom')

Maximum string length: 50
description
string

Description of this UOM set and its intended use

Maximum string length: 100000
category
string

Category of units (length, weight, volume, etc.)

Maximum string length: 20

Response

OK

name
string
required

Display name (e.g., 'Dimensions UOM', 'Electric/Power UOM')

Maximum string length: 100
code
string
required

Unique identifier (e.g., 'dimensions_uom', 'electric_power_uom')

Maximum string length: 50
description
string
required

Description of this UOM set and its intended use

category
string
required

Category of units (length, weight, volume, etc.)

Maximum string length: 20
id
integer
required