ReturnPilot Developer Portal home page
Search...
⌘K
Search...
Navigation
Orders
Delete Order
Get Started
Introduction
Updates
Concepts
Requests
Responses
Rate Limiting
Pagination
Formatting
Endpoints
Products
Orders
List Orders
Get Order
Create Order
Delete Order
Schemas
Address
Product
Order
Order Line Item
Shipment
Enums
Countries
Reason Status
Shipment Status
204
Copy
No Content
Orders
Delete Order
204
Copy
No Content
Overview
This endpoint can be used to delete an order.
Endpoint:
/api/v1/orders/{order_id}
Method:
DELETE
Orders that have returns (completed or otherwise) cannot be deleted.
URL Parameters
order_id
integer
required
The ID of the order that you wish to .
Response
If the order is successfully deleted, the API will return a
204 No Content
status code.
The response will not contain any content.
204
Copy
No Content
Create Order
Address
Assistant
Responses are generated using AI and may contain mistakes.