Skip to navigation

Cancel GRN

View as Markdown

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

ParamRequiredTypeDescription
grnIdMandatoryStringThe ID of the GRN to be canceled.
remarksMandatoryStringRemarks 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

{
"success": true
}

Headers

DICE-APP-IDstringOptional
Company Code of client
X-CLIENT-IDstringOptional
API Client ID
X-CLIENT-SECRETstringOptional
API Client Secret

Request

This endpoint expects an object.
grnIdstringRequired
remarksstringRequired

Response

OK
successboolean