XM

Retrieve Category Attributes

Path:

GET https://{baseurl}/api-category/v1/category/attribute?id={category ID}

Retrieves category attributes, by category ID.

Headers

Content-Type : application/json

x-site-context : { "date": "2020-08-28T02:35:27.787Z", "channel": 12, "account": 5f493c9f30ec2a0007a94fc8", "stage": "sandbox" }

Parameters

Type : query

Name : The category ID to retrieve its attributes.

Required: true

Sample Request

GET https://{baseurl}/api-category/v1/category/attribute?id=60c698280567a40009a72d1f

Sample Response

Response Code: 200

Message: OK

Description: You will see this response when the attributes are successfully retrieved based on the specified category ID.

{
"totalSize": 4,
"pageSize": 4,
"pages": 1,
"attributes": [
{
"id": "60ab953d0ce58c0008bdae24",
"name": "Category Status",
"description": "",
"type": "BOOLEAN",
"value": ""
},
{
"id": "60ab952d0ce58c0008bdae21",
"name": "Category Created Date",
"description": "",
"type": "DATETIME",
"value": ""
},
{
"id": "60ab951b0ce58c0008bdae1e",
"name": "Category Id",
"description": "",
"type": "DECIMAL",
"value": ""
},
{
"id": "60ab950e0ce58c0008bdae1b",
"name": "Category Name",
"description": "",
"type": "TEXT",
"value": ""
}
]
}

Change Log

  • June - 2021 First Updated

‚Äč