Remove from Batch
Use this endpoint to remove a single quote from a batch. The quote is disassociated from the batch but remains active and can be added to another batch. The batch must have status open.
REST Endpoint
DELETE /restapi/v1/customers/:customerId/batch/:batchId/quotes/:quoteId
Request Example
DELETE /restapi/v1/customers/TEST00002/batch/42/quotes/1234
Response Status Code
200 OK
Response Content Type
application/json
Response JSON Example
{
"ok": true
}
Error Responses
| Status | Condition |
|---|---|
| 422 | Batch status is not "open" |
| 422 | Quote is not in this batch |
| 404 | Batch not found |
| 404 | Quote not found |