1. Authentication
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. Authentication

Get Merchant OpenID

GET
/connect/merchant/get_openid
Channel partner obtains the merchant's openid from the Gokoo platform.

Request

Query Params

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 GET '/connect/merchant/get_openid?app_id&app_secret&code'

Responses

🟢200
application/json
Successful response
Body

Example
{
    "data": {
        "openid": "string",
        "merchant_info": {
            "name": "Gokoo Restaurant",
            "logo": "string"
        }
    },
    "error": 0,
    "message": "success"
}
🟠400
Modified at 2026-04-14 03:43:47
Previous
Get Channel Partner AccessToken
Next
Create Category
Built with