Skip to main content

Get resource attribute by resource lookup key and attribute lookup key

GET 

/:resourceType/:lookupKey/:lookupValue/attributes/:attributeLookupKey/:attributeLookupValue

Retrieves a specific attribute for a resource identified by resource lookup key and attribute lookup key. The attributeClass Query Param is useful to use when the attribute lookup key is name and the same attribute name is used for an attribute with a different class.

Request

Path Parameters

    resourceType stringrequired

    Resource type. Possible values are products, categories, users, usergroups

    lookupKey stringrequired

    Lookup key. Use different lookup keys depending on the resource type

    lookupValue stringrequired

    The value of the key (an id, sourceId, sku, etc.)

    attributeLookupKey stringrequired

    Lookup key. Use id or name

    attributeLookupValue stringrequired

    The id or name of the attribute

Query Parameters

    attributeClass string

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

    source string

    Optional. Used in combination with lookup key sourceId

Responses

Get product attribute by product id and attribute id - 200 / Get product attribute by product id and attribute name/ class - 200 / Get user attribute by user id and attribute name/ 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

    class string
    id number
    inherited boolean
    name string
    type string

    value

    object

    anyOf

  • Array [

  • inherited boolean
    language string
    value string
  • ]

  • messages string[]
    total number
Loading...