Delete Order

🔒

Requires write_order access scope. More access scope

The Delete Order API allows the deletion of a specific order by its unique ID. Once deleted, the order will no longer be available in the system.

This API is especially useful for:

  1. Removing test orders during development.
  2. Deleting canceled or erroneous orders.
  3. Managing order data in synchronization with external systems.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Path Parameters

Path Parameters

FieldTypeRequiredDescriptionExample
idstringYesThe unique ID of the order to be deleted.1965351157616135991222

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Success Response

HTTP Status CodeDescription
200The order was successfully deleted.

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorsArray[ "file number error"]A list of errors encountered during the request processing.
FieldTypeExampleDescription
errorString "Unable to find resource"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized
404Not FoundOrder's id is empty or not found."Unable to find resource"

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!