XM
Powered By GitBook
Retrieve SKUs For A Category
Path:
1
GET https://{baseurl}/api-category/v1/category/sku?id={cartegory ID}&page=1&size=10
Copied!
Retrieves a paginated list of SKUs, 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 the SKUs.
Required: true
Type : query
Name : The page and size number for a focused search results.
Required: true

Sample Request

1
GET https://{baseurl}/api-category/v1/category/sku?id=60c6960647ab5100080d765d&page=1&size=10
Copied!

Sample Response

Response Code: 200
Message: OK
Description: You will see this paginated response when the SKUs are successfully retrieved for the specified category ID.
1
{
2
"totalSize": 5,
3
"pageSize": 5,
4
"pages": 1,
5
"skus": [
6
"fls1",
7
"testDemo",
8
"1616732-config",
9
"1609745-config",
10
"1578269-config"
11
]
12
}
Copied!

Change Log

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