Cancel GRN
### Cancel GRN
This API endpoint enables the cancellation of a Goods Receipt Note (GRN). To initiate the cancellation process, send an HTTP POST request to the specified URL, including the GRN ID in the payload. Provide remarks in the raw request body to offer additional context.
### Request Body
| Param | Required | Type | Description |
| --- | --- | --- | --- |
| grnId | Mandatory | String | The ID of the GRN to be canceled. |
| remarks | Mandatory | String | Remarks or reasons for canceling the GRN. |
### Response
Upon successful cancellation, the API will respond with a JSON object containing a `success` key, indicating whether the cancellation was successful.
#### Example
``` json
{
"success": true
}
```
Headers
DICE-APP-ID
Company Code of client
X-CLIENT-ID
API Client ID
X-CLIENT-SECRET
API Client Secret
Request
This endpoint expects an object.
grnId
remarks
Response
OK
success

