1. Coupon
SUNSKY Open API
  • SUNSKY Open API
    • Common Calling Convention
    • Callback Hooks
    • Appendixes
    • Category
      • Get the children of the category
    • 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
        POST
  1. Coupon

Get the coupon list

POST
https://open.sunsky-online.com/openapi/coupon!getList.do
This API return the coupons which match the conditions you specified.

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/coupon!getList.do' \
--data-urlencode 'key=' \
--data-urlencode 'signature=' \
--data-urlencode 'pageSize=100' \
--data-urlencode 'page=1'

Responses

🟢200
application/json
Successful response
Body

Example
{
    "result": "success",
    "data": {
        "result": [
            {
                "code": "GFS95",
                "personLimit": 10000,
                "qty": 10000,
                "description": null,
                "discount": "95",
                "startTime": "2026-2-27 00:00:00",
                "discountType": 2,
                "targetType": 2,
                "endTime": "2026-4-1 00:00:00",
                "strikeType": 0,
                "target": [
                    {
                        "id": 2814163,
                        "itemNo": "TBD0603757503",
                        "name": "Battery Model COB Portable Outdoor Camping Lamp Atmosphere Tent Lamp Retro Lamp, Size: Small Green Button Color Random"
                    }
                ]
            },
            {
                "code": "GLOBAL",
                "personLimit": 1000,
                "qty": 0,
                "description": null,
                "discount": [
                    {
                        "key": "200",
                        "value": "6"
                    },
                    {
                        "key": "600",
                        "value": "12"
                    },
                    {
                        "key": "1000",
                        "value": "20"
                    },
                    {
                        "key": "5000",
                        "value": "100"
                    },
                    {
                        "key": "10000",
                        "value": "200"
                    }
                ],
                "startTime": "2025-1-22 00:00:00",
                "discountType": 1,
                "targetType": 0,
                "endTime": "2025-2-1 23:30:00",
                "strikeType": 2,
                "target": ""
            }
        ],
        "total": 9,
        "pageCount": 1
    }
}
Modified at 2026-03-11 08:23:18
Previous
Get the hot items
Built with