Updates a dispensable unit for an inventory item.

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

The ID of the dispensable unit to update (from route).

Query Params
string

The requested API version

Body Params

The update request with optional fields.

Request model for updating a dispensable unit on an inventory item.

int64 | null

Inventory Item ID (must match the dispensable unit's parent item).
At least one of InventoryItemId or ExternalRefKey must be provided.

string | null

External Reference Key (alternative to InventoryItemId).
At least one of InventoryItemId or ExternalRefKey must be provided.

string | null

Inventory Unit Name (optional, for changing the unit type).
Example: "Bottle", "Tablet", "Box", "Case"
Note: Cannot change to "Each" - this is a system-defined unit.

int32 | null

New Quantity (optional).
Must be greater than 0 if provided.

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json