XM
Members
Retrieve Category Attributes
This documentation is now outdated, please find the latest docs for this endpoint here
Path:
1
GET https://{baseurl}/api-category/v1/category/attribute?id={category ID}
Copied!
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

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

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.
1
{
2
"totalSize": 4,
3
"pageSize": 4,
4
"pages": 1,
5
"attributes": [
6
{
7
"id": "60ab953d0ce58c0008bdae24",
8
"name": "Category Status",
9
"description": "",
10
"type": "BOOLEAN",
11
"value": ""
12
},
13
{
14
"id": "60ab952d0ce58c0008bdae21",
15
"name": "Category Created Date",
16
"description": "",
17
"type": "DATETIME",
18
"value": ""
19
},
20
{
21
"id": "60ab951b0ce58c0008bdae1e",
22
"name": "Category Id",
23
"description": "",
24
"type": "DECIMAL",
25
"value": ""
26
},
27
{
28
"id": "60ab950e0ce58c0008bdae1b",
29
"name": "Category Name",
30
"description": "",
31
"type": "TEXT",
32
"value": ""
33
}
34
]
35
}
Copied!

Change Log

  • June - 2021 First Updated
Last modified 1mo ago
Copy link
Contents
Change Log