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

Create an order

POST
https://open.sunsky-online.com/openapi/order!createOrder.do
Create a SUNSKY order with the items and the delivery address info.

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!createOrder.do' \
--data-urlencode 'key=' \
--data-urlencode 'signature=' \
--data-urlencode 'items.#.itemNo=items.2.itemNo=EDA008394601A' \
--data-urlencode 'items.#.qty=items.2.qty=1' \
--data-urlencode 'items.#.remark=items.2.remark=ok' \
--data-urlencode 'siteNumber=' \
--data-urlencode 'vatNumber=' \
--data-urlencode 'eoriNumber=' \
--data-urlencode 'iossNumber=' \
--data-urlencode 'coupon=' \
--data-urlencode 'useBalanceOnly=true' \
--data-urlencode 'deliveryAddress.countryId=41' \
--data-urlencode 'deliveryAddress.state=' \
--data-urlencode 'deliveryAddress.city=' \
--data-urlencode 'deliveryAddress.company=' \
--data-urlencode 'deliveryAddress.address=' \
--data-urlencode 'deliveryAddress.address2=' \
--data-urlencode 'deliveryAddress.postcode=' \
--data-urlencode 'deliveryAddress.receiver=' \
--data-urlencode 'deliveryAddress.telephone=' \
--data-urlencode 'deliveryAddress.email=bob@gmail.com' \
--data-urlencode 'deliveryAddress.shippingWayId=1233' \
--data-urlencode 'deliveryAddress.shipment=drop'

Responses

🟢200OK
application/json
Body

Example
{
  "result": "success",
  "data": {} // same as the order details
}
Modified at 2026-03-11 08:40:27
Previous
Get the prices and the shipping costs for the items
Next
Get the order details
Built with