1. Category
SUNSKY Open API
  • SUNSKY Open API
    • Common Calling Convention
    • Callback Hooks
    • Appendixes
    • Category
      • Get the children of the category
        POST
    • Product
      • Search products
      • Get the product details
      • Download the product images
      • Get the image changelist
    • Order
      • Get the country list for shipping
      • Get the prices and the shipping costs for the items
      • Create an order
      • Get the order details
      • Search orders
      • Add labels to the order
      • Get the labels for the order
    • Account
      • Check your balance on SUNSKY
      • Get your balance history
    • Stats
      • Get the hot items
    • Coupon
      • Get the coupon list
  1. Category

Get the children of the category

POST
https://open.sunsky-online.com/openapi/category!getChildren.do
If you don't pass the parentId parameter, then an array of the all categories is returned.
If you specify 0 for the parentId, then an array of the top categories is returned.
If you specify other number for the parentId, then an array of the direct child categories is returned.
If you specify a date for the gmtModifiedStart, then an array of the categories ever changed since 'gmtModifiedStart' is returned.

Request

Body Params application/x-www-form-urlencodedRequired

Request Code 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 POST 'https://open.sunsky-online.com/openapi/category!getChildren.do' \
--data-urlencode 'key=' \
--data-urlencode 'signature=' \
--data-urlencode 'lang=en' \
--data-urlencode 'parentId=123' \
--data-urlencode 'gmtModifiedStart=0/31/2013 01:23:20'

Responses

🟢200
application/json
Successful response
Body

Example
{
    "result": "success",
    "data": [
        {
            "gmtModified": "07/02/2024 03:14:23",
            "code": "011",
            "hsCode": "85044013",
            "name": "For FUJITSU",
            "id": 101468,
            "parentId": 101032,
            "status": 1
        }
    ]
}
Modified at 2026-03-11 04:34:18
Previous
Appendixes
Next
Search products
Built with