delete
https://{subdomain}.myshoplaza.com/openapi/2025-06/orders//risks/
Allows merchants to remove a specific risk entry associated with an order.
Requireswrite_orderaccess 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:
- Cleaning up outdated or resolved risks from the system.
- Managing risks dynamically as the status of orders changes.
- Improving the accuracy of order risk assessments.
Request Parameters
Public Request Parameters
Path Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
order_id | string | Yes | The unique ID of the order. | 19653511576161 |
id | string | Yes | The unique ID of the risk entry. | 54648070439338 |
Response Explanation
Public Response Parameters
Successful Response
| Parameter | Type | Example | Description |
|---|---|---|---|
code | string | "success" | Status code of the API response |
message | string | "Order retrieved successfully" | Descriptive message about the response |
data | object |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
