1. Delivery Orders
Gokoo Third-Party Integration API
  • Start Readme Channel API Guide
  • Authentication
    • Channel Partner Authorization Login
      GET
    • Get Channel Partner AccessToken
      GET
    • Get Merchant OpenID
      GET
  • Product Management - Categories
    • Create Category
      POST
    • Edit Category
      POST
    • Delete Category
      POST
    • Get Category Detail
      POST
    • List Categories (Management)
      POST
    • List All Categories (For Product List)
      POST
    • Sort Categories
      POST
  • Product Management - Products
    • Create Product
      POST
    • Edit Product
      POST
    • Delete Product
      POST
    • Get Product Detail
      POST
    • List Products
      POST
    • Search Products
      POST
    • Upload Product Image
      POST
    • Set Product On/Off Shelf (Batch)
      POST
    • Batch Update Product Stock
      POST
    • Batch Sold Out (Clear Stock)
      POST
    • Sort Products
      POST
  • Delivery Orders
    • Accept Order
      POST
    • Cancel Order (Merchant Reject)
      POST
    • Mark Food Ready (Prepared)
      POST
    • Apply for Delivery / Merchant Start Self-Delivery
      POST
    • Merchant Self-Delivery Completed
      POST
    • Query Order by Pickup Code
      POST
    • Verify Pickup Order (Scan Code)
      POST
    • List Orders (By Status)
      POST
    • Get Order Detail
      POST
    • Get Order Financial Details
      POST
    • Reprint Receipt
      POST
  • Webhooks
    • Order Status Change Callback
  • Schemas
    • CommonBodyParams
    • SuccessResponse
    • ErrorResponse
    • TimeSlot
    • TimeSlotWithSeconds
    • CategoryItem
    • ProductItem
    • NormSpec
    • NormGroup
    • OrderProduct
    • ShowButtons
    • StaffInfo
  1. Delivery Orders

Get Order Detail

POST
/api.php
Get detailed information of a specific order. Requires login.

Request

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

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 --request POST '/api.php?API=biz/waimai/neworder/detail' \
--header 'Authorization: Bearer <token>' \
--data-urlencode 'CLIENT_API=' \
--data-urlencode 'openid=' \
--data-urlencode 'data={"order_id":"5208510"}'

Responses

🟢200
application/json
Successful response
Body

Example
{
    "data": {
        "order_id": "string",
        "order_sn": "string",
        "shop_id": "string",
        "shop_title": "string",
        "order_status": "string",
        "order_status_label": "string",
        "pay_status": "string",
        "total_price": "string",
        "amount": "string",
        "contact": "string",
        "mobile": "string",
        "addr": "string",
        "house": "string",
        "intro": "string",
        "tableware_num": "string",
        "pei_label": "string",
        "pei_time_label": "string",
        "day_num": "string",
        "dateline": "string",
        "pay_code": "string",
        "manadd": "string",
        "yuji_price": "string",
        "lack_goods_type": 0,
        "staff": {
            "staff_id": "string",
            "name": "string",
            "mobile": "string",
            "lng": "string",
            "lat": "string"
        },
        "products": [
            {
                "basket_title": "string",
                "product": [
                    {
                        "product_id": "string",
                        "product_name": "string",
                        "product_price": "string",
                        "package_price": "string",
                        "product_number": "string",
                        "amount": "string",
                        "unit": "string",
                        "specification": [
                            {}
                        ],
                        "product_photo": "string",
                        "shop_sku": "string",
                        "old_product_number": "string"
                    }
                ]
            }
        ],
        "infos": [
            {
                "key": "string",
                "val": "string"
            }
        ],
        "show_btn": {
            "cancel": "string",
            "jiedan": "string",
            "setpei": "string",
            "setSpend": "string",
            "refuse": "string",
            "agree": "string",
            "makeProduct": "string",
            "replyComment": "string",
            "seeComment": "string",
            "replyCui": "string",
            "delivered": "string",
            "service_agree": "string",
            "service_refuse": "string",
            "apply_make": "string",
            "print_again": "string",
            "user_im": "string",
            "lack_goods": "string"
        }
    },
    "error": "0",
    "message": "success"
}
Modified at 2026-04-14 03:43:47
Previous
List Orders (By Status)
Next
Get Order Financial Details
Built with