Mobile - InWan
  1. Product
Mobile - InWan
  • 🐶 Walk through Apidog
  • CMS
    • V1
      • Video
        • GET - LIST Videos
        • POST - Videos
        • Featured Video
        • POST - Featured Videos
      • Auth
        • Login
        • Logout
        • Firebase Token
      • Profile
        • Profile
      • Customer
        • Address
          • List
          • Update
        • Point History
          • List
        • Referral
          • Update Referral
          • List HIstory
        • Summary
        • Statistic
        • List
        • Show
        • Update
        • Change Password
      • Admin
        • List
        • Create
        • Show
        • Update
        • Change password
        • Delete
      • Event
        • Update
        • Show
      • Product
        • Category
          • List
          • Create
          • Show
          • Update
          • Delete
          • Subcategory list
          • Order position
        • Variant
          • Toggle Product Variant Status
        • Review
          • List
          • Reply
          • Delete Reply
        • Sync Stock
          • Check
          • Bulk Update
        • Bulk Create
          • Check
          • Bulk Create
        • List
          GET
        • Create
          POST
        • Toggle Product Status
          PUT
        • Show
          GET
        • Update
          PATCH
        • Delete
          DELETE
        • Summary
          GET
        • Top sales
          GET
      • News
        • List
        • Create
        • Show
        • Update
        • Delete
        • Broadcast
      • Promo
        • List
        • Create
        • Show
        • Update
        • Delete
        • Referral
      • Home
        • Banner
          • List
          • Create
          • Delete
          • Sort
        • Popup Banner
          • GET - LIST PopBanner
          • POST - PopBanner
          • DELETE - PopBanner
        • Featured Product
          • List
          • Create
          • Delete
          • Sort
        • Featured Category
          • List
          • Create
          • Delete
          • Sort
      • Setting
        • List
        • Update
      • Order
        • List
        • Detail
        • Update
        • Update payment status
        • Change shipping price
        • Update shipping fee
        • Statistic
        • Summary weekly report
        • Invoice
      • Chat
        • Messages
        • Send
        • Read Message
        • GET - Messages Copy
        • Room
        • Create Room
        • Notification Unread
        • Pin Chat Room
      • Broadcast
        • List
        • Create
        • Update
        • Delete
        • Send
        • Detail
      • Fcm
        • Save
      • Report
        • List
        • Export
    • V2
      • Video
        • Index
        • Create
        • Update
        • Delete
        • Show
      • Chat
        • GET - Messages
        • Send
        • Room
      • Order
        • GET - List Order By Customer
        • Detail
        • GET - Order
        • GET - List order based on customer
        • Statistic
        • Update
        • Summary weekly report
      • Home
        • Featured Video
          • Index
          • Delete
          • Sort
          • Create
      • Customer
        • Point History
          • List
          • Add point
        • GET - Summary
        • GET - Summary Statistic
        • GET - LIST User Referal USAGE
        • GET - Summary Statistic
      • Report
        • Product
          • Click rate
          • Click rate Export
          • Add to cart
          • Add to chart Export
          • Ordered
          • Ordered export
        • GET - Export New Customer
      • Product
        • POST - CREATE Product
        • PATCH - UPDATE Product
      • Setting
        • List
        • Update
      • Dashboard
        • Product
          • Statistic
          • Most click
  • APP
    • V1
      • Auth
        • Login Basic
        • Login Social
        • Register
        • Check Phone
        • Reset Password
        • Firebase Token
      • Otp
        • Send
        • Verify
      • Banner
        • List
      • News
        • List
        • Detail
      • User
        • Address
          • List
          • Create
          • Update
          • Toggle primary
          • Delete
        • Voucher
          • List
          • Detail
          • History
          • Claim
        • Social Media
          • List
          • Bind
          • Unbind
        • Show profile
        • Logout
        • Update profile
        • Update profile (For first login with social media account)
        • Change password
        • Delete
        • List point history
        • Toggle Auto Use Point
        • Change Language
      • Event
        • Flashsale
      • Product
        • Category
          • List
          • List featured
          • List child
        • Review
          • List
          • Create
          • Toggle like
        • Flash sale Copy
        • List
        • Variant Options
        • Variant
        • Flash sale
        • Detail
        • Recommendation
        • Related
        • Autocomplete
        • Viewed
      • Cart
        • List
        • Create
        • Delete
      • Wishlist
        • List
        • Toggle
      • Order
        • Review
          • Unreviewed Order Item List
          • My Reviews
        • List
        • Detail
        • Confirmation
        • Payment methods
        • Create
        • Detail payment method
        • Show Detail payment method
        • Invoice
        • Finish order
        • Received
      • Chat
        • Messages
        • Send
        • Read Message
      • Fcm
        • Save
        • Test Notif
      • Notification
        • Notification History
        • Notification Unread Count
    • V2
      • Banner
        • GET - ACTIVE PopBanner
        • GET - List
      • Order
        • POST - Create
        • Cancel Order
        • Confirmation
        • GET - LIST Order
      • Video
        • GET - Featured Video
        • GET - LIST Video
        • GET - Video Detail
      • Voucher
        • List
        • Detail
        • History
        • Claim
      • Chat
        • GET - Messages
        • Send
      • Product
        • List
      • User
        • Address
          • GET - LIST Address
        • Social Media Copy
          • Bind Raw
          • List
          • Bind
          • Unbind
        • GET - LIST User Referal USAGE Copy
        • GET - Profile
      • Auth
        • Login social (without token)
  1. Product

Top sales

Develop Env
https://dev-api.inwantaiwan.com
Develop Env
https://dev-api.inwantaiwan.com
GET
/api/cms/v1/product/top-sales
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dev-api.inwantaiwan.com/api/cms/v1/product/top-sales' \
--header 'Accept: application/json' \
--header 'Authorization: 239|kG4OTKNjeGKfso4PPtIq8QHZ0UqydsT7tcz9ouVAe077b965239|kG4OTKNjeGKfso4PPtIq8QHZ0UqydsT7tcz9ouVAe077b965'
Response Response Example
{
    "data": [
        {
            "id": 0,
            "name": "string",
            "image": "string",
            "total_sold": 0,
            "total_sale": 0
        }
    ]
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Responses

🟢200Success
application/json
Body

Modified at 2025-05-05 09:35:46
Previous
Summary
Next
List
Built with