# Delete orders by query This endpoint can be used to delete customer orders by an order query Endpoint: POST /api/v3/vendor/contracts/{contractId}/orders/delete/query Version: 0.0.7224 Security: BasicAuth, BearerAuth ## Path parameters: - `contractId` (string, required) Unique identifier of the contract Example: "qbcxvb" ## Request fields (application/json): - `orders` (array, required) List of order queries, each query should include an order id and its corresponding creation date - `orders.orderId` (string, required) Unique identifier of the order - `orders.creationDate` (string, required) Creation date of the corresponding order. It is a Timestamp in UTC time zone ## Response 200 fields (application/json): - `data` (object, required) - `data.deleted` (integer) Number of deleted orders ## Response 400 fields (application/json): - `errors` (array, required) List of errors that occurred during request processing Example: [{"code":"request.invalid","message":"The provided request data is invalid"},{"code":"resource.invalid","message":"The requested resource could not be found"}] - `errors.code` (string, required) Machine-readable error code for programmatic error handling. Typically follows a structured format like 'request.invalid' or 'resource.invalid'. Example: "request.invalid" - `errors.message` (string, required) Human-readable error message providing details about the issue Example: "The provided email address is not in a valid format"