Purchased Components

Update purchased components columns

Updates an existing custom purchased components columns

patch/suppliers/public/purchased_component_columns/{purchasedComponentsColumnId}

Request

Path parameters

purchasedComponentsColumnIdinteger required

Request body

code_namestring
namestring
value_typestring
default_numeric_valueinteger nullable
default_string_valuestring nullable
default_boolean_valueboolean
update_existing_defaultsboolean
positioninteger

Example request

{
  "code_name": "James_Bond",
  "name": "James Bond",
  "value_type": "numeric",
  "default_numeric_value": 21,
  "position": 4
}

Response

Successful Response

code_namestring
namestring
value_typestring
default_numeric_valueinteger nullable
default_string_valuestring nullable
default_boolean_valueboolean
idinteger
positioninteger

Position of the column when displayed in the table; starts at 1.

Example response

[
  {
    "code_name": "James_Bond",
    "name": "James Bond",
    "value_type": "numeric",
    "default_numeric_value": 21,
    "id": 25,
    "position": 4
  }
]

Changes

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