tvcmall_openapi
  1. Category
tvcmall_openapi
  • Authorization
    • Get Authorization
      GET
  • Category
    • Get children of the category specified
      GET
    • Get parent of the category specified
      GET
  • Product
    • Search products
      GET
    • Get the details of the specified product
      GET
    • Get status of a list of products
      GET
    • Download the images of the specified product
      GET
    • Download the Scenseimage of the specified product
      GET
    • Search products with specific main category
      GET
    • Get the details of the specified product with images
      GET
  • Order
    • Create order
      POST
    • Get Order List
      GET
    • Get Order Information
      GET
  • Shipping
    • Shipping Calculation
      POST
    • Shipping Calculation Enhancement
      POST
  1. Category

Get children of the category specified

GET
https://openapi.tvc-mall.com/OpenApi/Category/GetChildren
Last modified:2023-12-04 06:23:31
Maintainer:Alfred.Tvc
Get children of the category specified in the parameters

Request

Query Params
ParentCode
string 
optional
Parent Code, if no input, it will return to the first category list. Non-Mandatory
Example:
C0001
Header Params
Authorization
string 
required
Authorization Param
Example:
2+s8CDVEwkmRHSJ9lorE5Q==

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://openapi.tvc-mall.com/OpenApi/Category/GetChildren?ParentCode=C0001' \
--header 'Authorization: 2+s8CDVEwkmRHSJ9lorE5Q=='

Responses

🟢200success
application/json
Body
CateoryList
array [object {4}] 
required
Array
Code
string 
Category Code
required
Category Code
Name
string 
Category Name
required
Category Name
ParentCode
string 
Parent Code of the category
required
Parent Code of the category
Status
string 
Category Status
required
Category Status includes: valid, invalid
Example
{
    "CateoryList": [
        {
            "Code": "C00010004",
            "Name": "Android Phones",
            "ParentCode": "C0001",
            "Status": "Valid"
        },
        {
            "Code": "C00010002",
            "Name": "Tablets",
            "ParentCode": "C0001",
            "Status": "Valid"
        },
        {
            "Code": "C00010001",
            "Name": "Bar Phones",
            "ParentCode": "C0001",
            "Status": "Valid"
        },
        {
            "Code": "C00010003",
            "Name": "Watch Phones",
            "ParentCode": "C0001",
            "Status": "Valid"
        }
    ]
}
🟢200unauthorized
Previous
Get Authorization
Next
Get parent of the category specified
Built with