---
title: "Cancel Order In WMS"
method: GET
path: "/v1/merchant/orders/wms_cancel/{CUST_REF}"
tags: ["Merchant API"]
---

# Cancel Order In WMS

`GET /v1/merchant/orders/wms_cancel/{CUST_REF}`

## Request

- Base URL: `http://{{base_url}}`
- URL: `http://{{base_url}}/v1/merchant/orders/wms_cancel/{CUST_REF}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/extensiv/apis/integration-manager-api-formerly-cartrover/docs/v1/merchant/orders/wms_cancel/:CUST_REF/get.ts> (a function with typed inputs; its response is checked against the schema)

This will attempt to cancel the specified order in both CartRover and the WMS. The response will specify whether or not the order was able to be canceled.
<br/><br/>
**Note**: This call may take longer than others because CartRover will reach out to the WMS in real time and wait for a response.

### Array Response Fields
|    Field    |    Data Type    |    Length    |    Description    |
|---------------|-----------------|--------------|---------------------------------------------------|
|    success    |    Boolean    |  |    Was cancellation successful?    |
|    message    |    String    |  |    Reason why cancellation was not successful.    |

## Path parameters

- `CUST_REF` string, required

## Response `200`

OK

- object

---

[API](https://skmtc.dev/extensiv/apis/integration-manager-api-formerly-cartrover.md) - [All operations](https://skmtc.dev/extensiv/apis/integration-manager-api-formerly-cartrover/llms.txt) - [OpenAPI document](https://skmtc.dev/extensiv/apis/integration-manager-api-formerly-cartrover/revisions/125e6deac675?raw)
