v1

latestOpenAPI 3.1.02026-07-2419782400.4 KB
Options

Retrieve metaproperty options

Retrieve a paginated list of options for the given metaproperty id.

get/api/pim/metaproperties/{id}/options

Path parameters

idstring required
Example:00000000-0000-0000-0000-0000000000000000

Query parameters

order'asc' | 'desc'
Example:asc
pageinteger
Example:1
limitinteger
Example:20

Response

Successfully retrieved metaproperty options

idstring
namestring
labelstring
descriptionstring
metapropertyidstring

Example response

[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "Product A option 1",
    "label": "Product A option 1",
    "description": "Metaproperty option 1 for Product A",
    "metapropertyid": "00000000-0000-0000-0000-000000000000",
    "product_options": [
      {
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "Product A option 1 child",
        "label": "Product A option 1 child",
        "description": "Metaproperty option 1 child",
        "metapropertyid": "00000000-0000-0000-0000-000000000000"
      }
    ]
  }
]