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 prices and the shipping costs for the items

POST
https://open.sunsky-online.com/openapi/order!getPricesAndFreights.do
Get the prices and the shipping costs for the items.

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 'https://open.sunsky-online.com/openapi/order!getPricesAndFreights.do' \
--data-urlencode 'key=' \
--data-urlencode 'signature=' \
--data-urlencode 'countryId=' \
--data-urlencode 'state=' \
--data-urlencode 'items.%23.itemNo=items.1.itemNo=EDA008394601A' \
--data-urlencode 'items.%23.qty=items.1.qty=10'

Responses

🟢200
application/json
Successful response
Bodyapplication/json

Example
{
  "result": "success",
  "data": {
    "freightList": [
      {
        "website": "https://www.usps.com/",
        "shippingCost": "10.70",
        "name": "USPS Agent(YanWen Express)",
        "transitTime": "8 - 12",
        "logo": "https://img.myipadbox.com/upload/store/logo/lqi21m9f9s1a0jii6gcfp3n5ca.jpeg",
        "id": 278
      },
      {
        "shippingCost": "0",
        "name": "Pick up",
        "id": 0
      }
    ],
    "priceList": [
      {
        "amount": "27.90",
        "productId": 3889036,
        "price": "2.79",
        "qty": 10,
        "itemNo": "EDA008394601A",
        "orgPrice": "2.88",
        "orgAmount": "28.80"
      }
    ]
  }
}
Modified at 2026-03-11 08:40:10
Previous
Get the country list for shipping
Next
Create an order
Built with