Mobile - InWan
  1. Order
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
        • Create
        • Toggle Product Status
        • Show
        • Update
        • Delete
        • Summary
        • Top sales
      • 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
    • V3
      • Chat
        • GET - LIST Chat Template
        • POST - Chat Template
        • Patch - Chat Template
        • DELETE - Chat Template
        • GET - LIST Room
        • POST - UNSEND Message
        • POST - UNREAD Chat Room
        • GET - Messages
      • Customer
        • GET - LIST CUSTOMER
        • GET - Summary Statistic
        • GET - Export Statistic
        • GET - Customer Detail
      • Report
        • Product
          • Click rate
          • Click rate Export
          • Add to cart
          • Add to Cart Export
          • Ordered
          • Ordered export
      • Order
        • List
          GET
        • Detail
          GET
        • Detail Update Notes
          PATCH
      • Product
        • Category
          • List
          • Create
          • Show
          • Update
          • Subcategory list
  • 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
        • Detail
      • 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)
        • Login Social
    • V3
      • Auth
        • Register
        • Login social (without token) Copy
        • Login Social
      • Chat
        • GET - Messages
      • News
        • LIST - NEWS
        • DETAIL - NEWS
      • Order
        • Payment
          • POST - Create ECPay Token
          • POST - Update ECPay Metadata
        • GET - Payment methods
        • GET - DETAIL
        • POST - Create ORDER
  • Untitled Endpoint
    POST
  1. Order

Detail

Designing
Develop Env
https://dev-api.inwantaiwan.com
Develop Env
https://dev-api.inwantaiwan.com
GET
/api/cms/v3/order/{id}
Added URL next and previous order on response links
Added admin_notes for self notes for INWAN Team
Added Referral Code on Order Detail

Request

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

Header Params

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dev-api.inwantaiwan.com/api/cms/v3/order/12' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "data": {
        "id": 201,
        "code": "ORD1741579884",
        "user": {
            "id": 174,
            "name": "RESS ab040388 siti",
            "type": "reseller",
            "cancel_count": 7
        },
        "status": "cancelled",
        "oddo_number": null,
        "referral_code": null,
        "notes": "",
        "admin_notes": "",
        "cancelled_reason": "SALAH ORDER",
        "shipping_address": {
            "id": 52,
            "name": "Novita",
            "code": "",
            "phone": "",
            "phone_number": "",
            "address": "(7-11) 苗栗縣後龍鎮新民里中心路122.122-1.122-2.122-3號 (新港庄門市) 229182",
            "image": "https://inwantaiwan.b-cdn.net/live/1000169416.jpg",
            "type": "mini_mart",
            "status": "approved",
            "notes": null
        },
        "items": [
            {
                "id": 224,
                "name": "INDOMIE",
                "quantity": 2,
                "sku": "FIF0080",
                "image": "https://inwantaiwan.b-cdn.net/live/1739605177770.jpeg",
                "price": 12,
                "final_price": 12,
                "total": 24,
                "options": [
                    {
                        "id": 1250,
                        "name": "AYAM SPESIAL"
                    }
                ]
            },
            {
                "id": 225,
                "name": "ABC SAMBAL SAOS ASLI 335ML",
                "quantity": 1,
                "sku": "FCS0340",
                "image": "https://inwantaiwan.b-cdn.net/live/1739607696690.jpeg",
                "price": 70,
                "final_price": 70,
                "total": 70,
                "options": [
                    {
                        "id": 1311,
                        "name": "_default"
                    }
                ]
            },
            {
                "id": 226,
                "name": "PAKET INDOMIE CAMPUR 1/2 DUS",
                "quantity": 1,
                "sku": "FPACK124",
                "image": "https://inwantaiwan.b-cdn.net/live/1739942641125.jpeg",
                "price": 220,
                "final_price": 220,
                "total": 220,
                "options": [
                    {
                        "id": 1664,
                        "name": "_default"
                    },
                    {
                        "id": 1664,
                        "name": "_default"
                    }
                ]
            },
            {
                "id": 217,
                "name": "MIE SEDAP INSTAN",
                "quantity": 10,
                "sku": "FIF0550",
                "image": "https://inwantaiwan.b-cdn.net/live/1739604375473.jpeg",
                "price": 12,
                "final_price": 12,
                "total": 120,
                "options": [
                    {
                        "id": 3950,
                        "name": "KOREAN SPICY GORENG"
                    }
                ]
            },
            {
                "id": 218,
                "name": "CUANKI SOTO",
                "quantity": 2,
                "sku": "FIF0690",
                "image": "https://inwantaiwan.b-cdn.net/live/1741575446121.jpeg",
                "price": 100,
                "final_price": 100,
                "total": 200,
                "options": [
                    {
                        "id": 3952,
                        "name": "_default"
                    }
                ]
            },
            {
                "id": 219,
                "name": "GANGSAR KACANG ATOM ORIGINAL 140G",
                "quantity": 1,
                "sku": "FPACK071",
                "image": "https://inwantaiwan.b-cdn.net/live/1739603976742.jpeg",
                "price": 100,
                "final_price": 100,
                "total": 100,
                "options": [
                    {
                        "id": 1169,
                        "name": "PAKET 3 BUNGKUS GANGSAR"
                    }
                ]
            },
            {
                "id": 220,
                "name": "KHALAS BUAH KURMA 500G(BIG)",
                "quantity": 1,
                "sku": "FPC0290",
                "image": "https://inwantaiwan.b-cdn.net/live/1739604232873.jpeg",
                "price": 150,
                "final_price": 99,
                "total": 99,
                "options": [
                    {
                        "id": 4252,
                        "name": "_default"
                    }
                ]
            },
            {
                "id": 221,
                "name": "INDOMIE",
                "quantity": 3,
                "sku": "FIF0040",
                "image": "https://inwantaiwan.b-cdn.net/live/1739605177770.jpeg",
                "price": 12,
                "final_price": 12,
                "total": 36,
                "options": [
                    {
                        "id": 1247,
                        "name": "KALDU AYAM"
                    }
                ]
            },
            {
                "id": 222,
                "name": "INDOMIE",
                "quantity": 3,
                "sku": "FIF0060",
                "image": "https://inwantaiwan.b-cdn.net/live/1739605177770.jpeg",
                "price": 12,
                "final_price": 12,
                "total": 36,
                "options": [
                    {
                        "id": 1248,
                        "name": "SOTO MIE"
                    }
                ]
            },
            {
                "id": 223,
                "name": "INDOMIE",
                "quantity": 2,
                "sku": "FIF0070",
                "image": "https://inwantaiwan.b-cdn.net/live/1739605177770.jpeg",
                "price": 12,
                "final_price": 12,
                "total": 24,
                "options": [
                    {
                        "id": 1249,
                        "name": "AYAM BAWANG"
                    }
                ]
            },
            {
                "id": 227,
                "name": "PAKET SEBLAK BETON 3PC",
                "quantity": 1,
                "sku": "FPACK001",
                "image": "https://inwantaiwan.b-cdn.net/live/1739866367681.jpeg",
                "price": 88,
                "final_price": 88,
                "total": 88,
                "options": [
                    {
                        "id": 1607,
                        "name": "_default"
                    },
                    {
                        "id": 1607,
                        "name": "_default"
                    }
                ]
            },
            {
                "id": 228,
                "name": "PAKET PILUS NGEBUT (3PC)",
                "quantity": 1,
                "sku": "FPACK130",
                "image": "https://inwantaiwan.b-cdn.net/live/1739942940289.jpeg",
                "price": 88,
                "final_price": 88,
                "total": 88,
                "options": [
                    {
                        "id": 1669,
                        "name": "_default"
                    },
                    {
                        "id": 1669,
                        "name": "_default"
                    }
                ]
            },
            {
                "id": 229,
                "name": "PAKET SAMBAL TERASI ABC SASET (2 PCS)",
                "quantity": 2,
                "sku": "FPACK146",
                "image": "https://inwantaiwan.b-cdn.net/live/1739943347738.jpeg",
                "price": 130,
                "final_price": 130,
                "total": 260,
                "options": [
                    {
                        "id": 1676,
                        "name": "_default"
                    },
                    {
                        "id": 1676,
                        "name": "_default"
                    }
                ]
            }
        ],
        "payment": {
            "total_discount": 0,
            "method": {
                "type": "other",
                "name": "COD",
                "image": null,
                "status": "waiting_payment",
                "rejected_reason": null,
                "approved_by": null,
                "approved_at": null
            },
            "summary": {
                "total": 1365,
                "subtotal": 1365,
                "shipping": {
                    "subtotal": 59,
                    "discount": 59
                },
                "total_discount_product": 51,
                "deducted_point": 0,
                "product_subtotal": 1365,
                "service_fee": 0
            }
        },
        "status_logs": [
            {
                "status": "created_at",
                "date": "2025-03-10T04:11:24.000000Z"
            },
            {
                "status": "cancelled_at",
                "date": "2025-03-10T04:48:16.000000Z"
            }
        ],
        "discounts": [
            {
                "id": 236,
                "type": "delivery",
                "discountable_id": null,
                "total": 59
            },
            {
                "id": 237,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 4002,
                "total": 0
            },
            {
                "id": 238,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 4004,
                "total": 0
            },
            {
                "id": 239,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1406,
                "total": 0
            },
            {
                "id": 240,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1407,
                "total": 51
            },
            {
                "id": 241,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1469,
                "total": 0
            },
            {
                "id": 242,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1470,
                "total": 0
            },
            {
                "id": 243,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1471,
                "total": 0
            },
            {
                "id": 244,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1472,
                "total": 0
            },
            {
                "id": 245,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1524,
                "total": 0
            },
            {
                "id": 246,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1835,
                "total": 0
            },
            {
                "id": 247,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1778,
                "total": 0
            },
            {
                "id": 248,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1840,
                "total": 0
            },
            {
                "id": 249,
                "type": "App\\Models\\ProductVariant",
                "discountable_id": 1847,
                "total": 0
            }
        ],
        "invoice_query": {
            "expires": "1758806607",
            "signature": "3743b70a30d12ca591228765bc6a3d804eff2c3ad986edfb28061b6f05f3de08"
        },
        "discount": null,
        "can_return": false,
        "platform": "android"
    },
    "links": {
        "first": 199,
        "last": 2950,
        "next": 202,
        "previous": 200,
        "current": 3,
        "total": 2726
    }
}
Modified at 2025-09-23 09:03:09
Previous
List
Next
Detail Update Notes
Built with