API Docs
YMS API
Order Controller
POST Delete Order

POST Delete Order

Introduction

Delete an order by its order ID. This operation permanently removes the order record from the system. Use with caution as this action cannot be undone.

API Request

POST /order/{orderId}/delete

Request Parameters

NameLocationTypeRequiredDescription
orderIdpathstringYesOrder ID
X-Tenant-IDheaderstringNonone
X-Yard-IDheaderstringNonone
Item-Time-ZoneheaderstringNonone
AuthorizationheaderstringNonone

Response Example

200 Response

{
  "code": 0,
  "msg": "",
  "success": false,
  "data": null
}

Response

Status CodeDefinitionDescriptionData Model
200OK (opens in a new tab)noneRVoid (opens in a new tab)