count
curl --request POST \
--url https://seller.hogotopod.com/api/v1/product/countable \
--header 'Content-Type: application/json' \
--header 'X-Tenant: <api-key>' \
--data '
{
"categoryCode": "<string>",
"currentPage": 2,
"fieldSorted": "createdDate",
"keyword": "<string>",
"keywordType": "<string>",
"recordPerPage": 20,
"sku": "<string>",
"typeSorted": "desc"
}
'const options = {
method: 'POST',
headers: {'X-Tenant': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
categoryCode: '<string>',
currentPage: 2,
fieldSorted: 'createdDate',
keyword: '<string>',
keywordType: '<string>',
recordPerPage: 20,
sku: '<string>',
typeSorted: 'desc'
})
};
fetch('https://seller.hogotopod.com/api/v1/product/countable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seller.hogotopod.com/api/v1/product/countable"
payload = {
"categoryCode": "<string>",
"currentPage": 2,
"fieldSorted": "createdDate",
"keyword": "<string>",
"keywordType": "<string>",
"recordPerPage": 20,
"sku": "<string>",
"typeSorted": "desc"
}
headers = {
"X-Tenant": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.post("https://seller.hogotopod.com/api/v1/product/countable")
.header("X-Tenant", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"categoryCode\": \"<string>\",\n \"currentPage\": 2,\n \"fieldSorted\": \"createdDate\",\n \"keyword\": \"<string>\",\n \"keywordType\": \"<string>\",\n \"recordPerPage\": 20,\n \"sku\": \"<string>\",\n \"typeSorted\": \"desc\"\n}")
.asString();{
"code": "<string>",
"count": 123,
"error": true,
"message": "<string>",
"result": 123,
"showMessage": true
}Product API
count
POST
/
v1
/
product
/
countable
count
curl --request POST \
--url https://seller.hogotopod.com/api/v1/product/countable \
--header 'Content-Type: application/json' \
--header 'X-Tenant: <api-key>' \
--data '
{
"categoryCode": "<string>",
"currentPage": 2,
"fieldSorted": "createdDate",
"keyword": "<string>",
"keywordType": "<string>",
"recordPerPage": 20,
"sku": "<string>",
"typeSorted": "desc"
}
'const options = {
method: 'POST',
headers: {'X-Tenant': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
categoryCode: '<string>',
currentPage: 2,
fieldSorted: 'createdDate',
keyword: '<string>',
keywordType: '<string>',
recordPerPage: 20,
sku: '<string>',
typeSorted: 'desc'
})
};
fetch('https://seller.hogotopod.com/api/v1/product/countable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seller.hogotopod.com/api/v1/product/countable"
payload = {
"categoryCode": "<string>",
"currentPage": 2,
"fieldSorted": "createdDate",
"keyword": "<string>",
"keywordType": "<string>",
"recordPerPage": 20,
"sku": "<string>",
"typeSorted": "desc"
}
headers = {
"X-Tenant": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.post("https://seller.hogotopod.com/api/v1/product/countable")
.header("X-Tenant", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"categoryCode\": \"<string>\",\n \"currentPage\": 2,\n \"fieldSorted\": \"createdDate\",\n \"keyword\": \"<string>\",\n \"keywordType\": \"<string>\",\n \"recordPerPage\": 20,\n \"sku\": \"<string>\",\n \"typeSorted\": \"desc\"\n}")
.asString();{
"code": "<string>",
"count": 123,
"error": true,
"message": "<string>",
"result": 123,
"showMessage": true
}Authorizations
X-TenantX-API-Key
Body
application/json
model
Tra hiện tại. Mặc định là 1
Required range:
x > 0Example:
2
Trường sắp xếp mặc định createdDate
Example:
"createdDate"
Từ khoá tìm kiếm
Mã khách hàng
Số bản ghi phân trang. Mặc định là 20, tối đa 100
Required range:
1 < x < 100Example:
20
Available options:
DISABLED, ENABLED Available options:
DISABLED, ENABLED Hướng sắp xếp. mặc định desc
Example:
"desc"