LookupValue

Update lookup value

Update lookup value

put/lookup_values/{id}

Request

  • Base URL
    https://r38.coupadev.com/api
  • Auth
    • OAuth 2
      Authorization codehttps://r38.coupadev.com/oauth2/authorizations/new
      Token URLhttps://r38.coupadev.com/oauth2/token
    • or OAuth 2
      Client credentials
      Token URLhttps://r38.coupadev.com/oauth2/access_tokens
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

idinteger required

Query parameters

return_object'limited' | 'shallow' | 'none'
filterstring

Request body

activeboolean

A false value will inactivate the account making it no longer available to users. A true value will make it active and available to users.

children-countinteger

Total count of children for this lookup value

created-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

depthinteger

depth

descriptionstring string(255)

Description of the lookup value

external-ref-codestring string(255)

Used for Identification of individual Lookup Value when using Hierarchical Lookups. This field is a concatenation of the External Ref Num fields starting with the root LookupValue. It does not get set by the integration, but is used to identify an existing lookup to update.

external-ref-numstring string(255)

External Ref Num (actual account value when used in accounting)

idinteger

Coupa unique identifier

is-defaultboolean

is_default

lookup-idinteger

lookup_id

namestring string(255) required

Name of the lookup value

parentLookupValue circular
parent-idinteger

parent_id

updated-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

Response

LookupValue object

activeboolean

A false value will inactivate the account making it no longer available to users. A true value will make it active and available to users.

children-countinteger

Total count of children for this lookup value

created-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

depthinteger

depth

descriptionstring string(255)

Description of the lookup value

external-ref-codestring string(255)

Used for Identification of individual Lookup Value when using Hierarchical Lookups. This field is a concatenation of the External Ref Num fields starting with the root LookupValue. It does not get set by the integration, but is used to identify an existing lookup to update.

external-ref-numstring string(255)

External Ref Num (actual account value when used in accounting)

idinteger

Coupa unique identifier

is-defaultboolean

is_default

lookup-idinteger

lookup_id

namestring string(255) required

Name of the lookup value

parentLookupValue circular
parent-idinteger

parent_id

updated-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

Changes

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