OPEN-API-English
  1. Orders
OPEN-API-English
  • Default Group
    • Product
      • Create/Edit Products
      • Create Product Identification Code
      • Query SKU
      • SKU Batch Query
    • Inbound Plan
      • Create Inbound Plan
      • Inbound Plan Shipping Operation
      • Add Inbound Plan Attachment
      • Cancel Inbound Plan
      • Inbound Plan Information Query
    • Inventory
      • Batch Inventory Query
      • Inventory Query
      • Batch Query of Inventory Age
    • Orders
      • Create Sales Order (with attachments)
        POST
      • Get Order Details
        POST
      • Orders - Query List
        GET
      • Order Attachment Upload
        POST
      • Cancel Order
        POST
  1. Orders

Cancel Order

POST
/v1/saleOrder/cancel

Request

Header Params
x-api-key
string 
required
Example:
abc123(认证信息)
Content-Type
string 
required
Example:
application/json
Body Params application/json
orderNo
string 
required
Order Number
Example
{
    "orderNo": "string"
}

Request 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 'http://127.0.0.1/v1/saleOrder/cancel' \
--header 'x-api-key: abc123(认证信息)' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orderNo": "string"
}'

Responses

🟢200成功
application/json
Body
undefined
string 
optional
Example
{
  "statusCode": 200,
  "status": 0,
  "code": 200,
  "message": "取消成功"
}
Modified at 2023-12-07 23:15:01
Previous
Order Attachment Upload
Built with