# Shopee API - Get Shopee product shipping info

## API Overview

- Free shipping info
- Shipping fee info
- Shipping channels
- See More

## API URL

`GET https://api.tmapi.io/shopee/item/shipping`

## Request Parameters

### Query

| Field | Type | Explanation | Required |
| --- | --- | --- | --- |
| site | string | Region name abbreviation, for example, Thailand is 'th'.<br/>Optional values: `my`, `th`, `ph`, `id`, `vn`, `sg`, `tw`, `br`, `mx`, `co`, `cl` | true |
| item_id | integer | Product ID | true |
| shop_id | integer | Shop ID | true |
| state | string | State of destination | true |
| city | string | City of destination | true |
| district | string | District of destination | false |
| town | string | Town of destination | false |
| zipcode | string | Zip code of destination | false |

## Security Auth

> Please go to [Console-Account Center](https://console.tmapi.io/account/center) to get your apiToken.

> Add your apiToken to the request parameters. Please refer to the examples below.

## Request Example

```bash

curl --request GET 'https://api.tmapi.io/shopee/item/shipping?apiToken=xxxxxx&site=my&item_id=19462543760&shop_id=886216230&state=Selangor&city=Ulu+Langat&district=Kajang'

```

## Response Example

```json

{
  "code": 200,
  "msg": "success",
  "data": {
    "shipping_from": "จังหวัดปทุมธานี",
    "has_free_shipping": false,
    "price_info_default": {
      "price": "",
      "price_min": "0",
      "price_max": "27.0",
      "free_shipping_threshold": "499.0",
      "warning": ""
    },
    "shipping_channels": [
      {
        "name": "Standard Delivery - ส่งธรรมดาในประเทศ",
        "service_type": "Local Delivery",
        "channel_id": 7000,
        "price_info": {
          "price": "",
          "price_min": "0",
          "price_max": "27.0"
        },
        "delivery_info": {
          "has_edt": true,
          "display_mode": "edt_by_date",
          "estimated_delivery_date_from": 1708837924,
          "estimated_delivery_date_to": 1709183524,
          "estimated_delivery_time_min": 3,
          "estimated_delivery_time_max": 7,
          "delay_message": null
        },
        "promotions": [
          {
            "id": 335696,
            "type": 0,
            "discount_amount": "10.0",
            "threshold": "299.0"
          },
          {
            "id": 335697,
            "type": 1,
            "discount_amount": "",
            "threshold": "499.0"
          }
        ]
      }
    ],
    "pre_order_text": ""
  }
}

```