Cancel ASN
Cancel ASN
This endpoint allows the user to cancel an Advanced Shipping Notice (ASN) by providing the ASN ID and any relevant remarks.
Request
-
Method: POST
-
Endpoint:
{{host}}/apis/external/asn/cancelAsn/ -
Request Body (JSON):
-
asnId(string): The unique identifier of the ASN that you wish to cancel. -
remarks(string): Additional comments or information regarding the cancellation.
-
Example Request Body
Response
-
Status Code: 409 (Conflict)
-
Content-Type: application/json
-
Response Body:
-
message(string): A message detailing the result of the cancellation attempt. -
error(string): Any error information related to the cancellation process.
-
Example Response
Notes
A 409 status code indicates that the request could not be completed due to a conflict with the current state of the resource. Ensure that the ASN ID provided is valid and that the ASN is eligible for cancellation.
