1. Order
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
        POST
      • Get the prices and the shipping costs for the items
        POST
      • Create an order
        POST
      • Get the order details
        POST
      • Search orders
        POST
      • Add labels to the order
        POST
      • Get the labels for the order
        POST
    • Account
      • Check your balance on SUNSKY
      • Get your balance history
    • Stats
      • Get the hot items
    • Coupon
      • Get the coupon list
  1. Order

Get the order details

POST
https://open.sunsky-online.com/openapi/order!getOrderDetails.do
This API return the full information of the specified order.

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/order!getOrderDetails.do' \
--data-urlencode 'key=' \
--data-urlencode 'signature=' \
--data-urlencode 'number='

Responses

🟢200
application/json
Successful response
Body

Example
{
    "result": "success",
    "data": {
        "amount": "15.4000",
        "shippingCost": "2.9300",
        "coupon": null,
        "gmtCreated": "2026-1-14 05:55:50",
        "shippingWay": {
            "queryUrl": "https://t.17track.net/en#nums=",
            "name": "Postnord",
            "id": 246
        },
        "gmtPaid": "2026-2-2 02:45:26",
        "number": "2301144841",
        "totalAmount": "18.3300",
        "gmtShipped": "2026-2-6 03:31:43",
        "deliveryAddress": {
            "address": "Address 1",
            "shipment": "drop",
            "receiver": "Somebody",
            "city": "Ronninge",
            "address2": "",
            "shippingWayId": 246,
            "postcode": "E-44",
            "company": "",
            "telephone": "+46-1232334",
            "state": "",
            "countryId": 35
        },
        "detailList": [
            {
                "amount": "15.4000",
                "scaned": 1,
                "productId": 3976274,
                "price": "7.7000",
                "delayShip": 0,
                "qty": 2,
                "remark": null,
                "itemNo": "TBD06062381",
                "title": "For DJI Mini 4 Pro Gimbal Camera Lens Cover Frame Protector"
            }
        ],
        "siteNumber": "BAC-112",
        "packStatus": 3,
        "taxAmount": "0.0000",
        "trackingNumber": "YT23098888",
        "status": 5,
        "vatNumber": null
    }
}
Modified at 2026-03-12 08:25:41
Previous
Create an order
Next
Search orders
Built with