Skip to main content

Get all hierarchies

GET 

/pcm/hierarchies

Get all hierarchies

Request

Query Parameters

    page[offset] int64

    Possible values: <= 10000

    The number of records to offset the results by.

    page[limit] int64

    Possible values: <= 10000

    The number of records per page. The maximum limit is 100.

Responses

Returns a list of all hierarchies.

Schema
    data object[]
  • Array [
  • id string

    A unique identifier generated when a hierarchy is created.

    type string

    Possible values: [hierarchy]

    This represents the type of resource object being returned. Always hierarchy.

    attributes object
    name string

    The name of a hierarchy, such as Major Appliances.

    description string

    A description for a hierarchy.

    slug string

    A unique slug for a hierarchy.

    locales object

    Product Experience Manager supports localization of hierarchies and nodes. If you store supports multiple languages, you can localize hierarchy and node names and descriptions.

    property name* object

    A three-letter language code that represents the name of language you have used.

    name string

    A localized hierarchy or node name.

    description string

    A localized hierarchy or node description.

    relationships object
    children object

    The child nodes related to the hierarchy.

    data array

    An array of child nodes.

    links object

    Links allow you to move between requests.

    related string

    A link to a related resource.

    meta object
    created_at date-time

    The date and time a hierarchy is created.

    updated_at date-time

    The date and time a hierarchy is updated.

    owner string

    Possible values: [store, organization]

    The owner of a resource, either organization or store.

  • ]
  • links object

    Links are used to allow you to move between requests.

    first string

    Always the first page.

    last string

    This is null if there is only one page.

    next string

    This is null if there is only one page.

    prev string

    This is null if you on the first page.

    meta object
    results object

    Contains the results for the entire collection.

    total integer

    Total number of results for the entire collection.

Loading...