Cancel Active QR Extension (Hybrid)

POST /v2/mia/qr/{qrId}/extension/cancel

Allows the cancellation of an active extension linked to a Hybrid QR code. Useful when the extension is no longer needed (e.g., the order was canceled or modified).


Request parameters (path)

Name
Type
Required
Description

qrId

string (guid)

Yes

Unique identifier of the QR code.


Request parameters (body)

Name
Type
Required
Description

reason

string (max. 500)

No

Reason for requesting the extension cancellation.

Request example

{
  "reason": "Clientul a renunțat la comandă."
}

Response parameters

Name
Type
Description

result

obiect

Response result object.

result.extensionId

string (guid)

Identifier of the canceled extension.

ok

boolean

true - no errors, false - with errors.

errors

array

List of processing errors.

errors.errorCode

string

Error code.

errors.errorMessage

string

Error description.


Response example

{
  "result": {
    "extensionId": "40e6ba44-7dff-48cc-91ec-386a38318c68"
  },
  "ok": true
}

Last updated