Delete Order Risk

🔒

Requires write_order access scope. More access scope

The Delete Order Risk API allows merchants to remove a specific risk entry associated with an order. This is particularly useful when a risk has been mitigated or deemed no longer relevant.

This API is especially useful for:

  1. Cleaning up outdated or resolved risks from the system.
  2. Managing risks dynamically as the status of orders changes.
  3. Improving the accuracy of order risk assessments.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Path Parameters

ParameterTypeRequiredDescriptionExample
order_idstringYesThe unique ID of the order.19653511576161
idstringYesThe unique ID of the risk entry to be deleted.54648070439338

Response Description

Public Response Fields

📘

Public Response Parameters

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 "store is not active"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 Foundthe orderID is not found"Unable to find resource"
422invalid formatID format error"ID format error"
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!