1. API Testing
Apps WebHook
  • Goodcom Webhook API
  • API Testing
    • Order Submit
      POST
    • Order Cancel
      POST
  1. API Testing

Order Cancel

POST
https://app.gcanyapps.com/v1/api/cancelorder
Last modified:2026-06-22 05:44:42

Request

Header Params

Body Params application/jsonRequired

Example
{
    "api_key": "",
    "cur_time": "1782107042846",
    "sign": "",
    "callback_url": "",
    "order_id": "10006",
    "order_json": {
        "Create_time": "15:00 16-08-2022",
        "DeliveryType": "Delivery",
        "OrderId": "10006",
        "Order": [
            {
                "o_title": "Title",
                "o_num": "1",
                "o_name": "Chicken",
                "o_amt": "5.00",
                "OrderOption": [
                    {
                        "o_oName": "option1",
                        "o_oAmt": "1.00"
                    },
                    {
                        "o_oName": "option2",
                        "o_oAmt": "2.00"
                    }
                ]
            }
        ],
        "SubTotal": "0.00",
        "DiscountAmt": "0.00",
        "DiscountTaxes": "",
        "DeliveryCharges": "0.00",
        "DeliveryTaxes": "",
        "ExtraFeeAmt": "",
        "TotalTaxes": "",
        "Total": "29.10",
        "PaymentStatus": "Order Paid",
        "CustName": "Tom",
        "CustAddr": "Address of the Customer",
        "CustTown": "",
        "CustPhone": "00861234567890",
        "RequestTime": "15:30 16-08-2022",
        "PaidType": "Cash",
        "Comment": "comment"
    },
    "order_txt": ""
}

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 'https://app.gcanyapps.com/v1/api/cancelorder' \
--header 'Content-Type: application/json' \
--data '{
    "api_key": "",
    "cur_time": "1782107042846",
    "sign": "",
    "callback_url": "",
    "order_id": "10006",
    "order_json": {
        "Create_time": "15:00 16-08-2022",
        "DeliveryType": "Delivery",
        "OrderId": "10006",
        "Order": [
            {
                "o_title": "Title",
                "o_num": "1",
                "o_name": "Chicken",
                "o_amt": "5.00",
                "OrderOption": [
                    {
                        "o_oName": "option1",
                        "o_oAmt": "1.00"
                    },
                    {
                        "o_oName": "option2",
                        "o_oAmt": "2.00"
                    }
                ]
            }
        ],
        "SubTotal": "0.00",
        "DiscountAmt": "0.00",
        "DiscountTaxes": "",
        "DeliveryCharges": "0.00",
        "DeliveryTaxes": "",
        "ExtraFeeAmt": "",
        "TotalTaxes": "",
        "Total": "29.10",
        "PaymentStatus": "Order Paid",
        "CustName": "Tom",
        "CustAddr": "Address of the Customer",
        "CustTown": "",
        "CustPhone": "00861234567890",
        "RequestTime": "15:30 16-08-2022",
        "PaidType": "Cash",
        "Comment": "comment"
    },
    "order_txt": ""
}'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
{}
Modified at 2026-06-22 05:44:42
Previous
Order Submit
Built with