Skip to main content

Update attribute by lookup key

PATCH 

/attributes/:lookupKey/:lookupValue

This endpoint enables updating the definition of an attribute. The attribute is identified by it's Propeller Id or name. The attributeClass Query Param is useful to use when the same attribute name is used for an attribute with a different class.

Request

Path Parameters

    lookupKey stringrequired

    Lookup key. Use id or name

    lookupValue stringrequired

    The id or name of the attribute

Query Parameters

    attributeClass string

    Attribute class. Optional. Used in combination with lookup key name. Possible values are product, category, user

Body

    descriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • group string
    isHidden boolean
    isPublic boolean
    isSearchable boolean
    isSystem boolean
    value undefined[]

Responses

Update attribute by Id - 200 / Update attribute by name and class - 200

Response Headers

  • Alt-Svc

    string

  • Via

    string

  • alt-svc

    string

  • content-length

    string

  • date

    string

  • return-format

    string

  • server

    string

  • x-request-id

    string

Schema

    data

    object

    descriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • group string
    id number
    isHidden boolean
    isPublic boolean
    isSearchable boolean
    isSystem boolean
    value string
    messages string[]
    total number
Loading...