- Tổng quan
- Hướng dẫn xác thực
- API Beta 1.0
- API Zalo Mini App (Beta)
- Khách hàng
- Đơn hàng
- Sản phẩm
- Lịch khởi hành
- Lead (Cơ hội)
- Khách sạn
- Kế toán
- Phiếu thu
- Phiếu chi
- Cấu hình
- Zalo ZNS
- Địa điểm
- Nhân sự nội bộ
- Webhook
- Trạng thái khách hàng
- Loại dịch vụ
- Zalo ZNS
Get by id
GET
/api/v1/products/{id}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
string
required
Example:
160
Body Params application/x-msgpack
object {0}
Example
{}
Request 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 GET 'https://demo.tourwell.net/api/v1/products/160' \
--header 'Content-Type: application/x-msgpack' \
--data-raw '{}'
Responses
🟢200Success
application/json
Body
success
boolean
optional
message
string
optional
data
object
required
Example
{
"data": {
"id": 160,
"name": "Vé Cáp Treo Sun World Ba Na Hills Đà Nẵng",
"slug": "ve-cap-treo-sun-world-ba-na-hills-da-nang",
"url": null,
"active": 1,
"hot": 0,
"star": 0,
"avatar": "/img/no-image.jpg",
"pricing": {
"original_price": 0,
"sale_price": 0,
"discount": {
"amount": 0,
"unit": "vnd"
}
},
"market": "Nội địa",
"type": "Vé tham quan",
"duration": "",
"trip_title": "Đà Nẵng",
"weekly_depart": null,
"created_at": "2025-01-23 00:35:36",
"updated_at": "2025-01-23 00:35:36",
"packages": [
{
"id": 11,
"name": "VÉ CÁP TREO + BUFFET TRƯA",
"description": null,
"pricing": {
"original_price": 0,
"sale_price": 0,
"discount": {
"amount": 0,
"unit": "vnd"
}
}
},
{
"id": 12,
"name": "COMBO: VÉ CÁP TREO + BUS (Dành cho khách Việt Nam)",
"description": null,
"pricing": {
"original_price": 0,
"sale_price": 0,
"discount": {
"amount": 0,
"unit": "vnd"
}
}
}
]
}
}
Modified at 2025-01-22 18:05:33