request_upgrade_cancellation (PUT)

This function cancels one or more upgrades (raiders) associated with a previously issued order. It requires the token, the voucher or order code, and the IDs of the raiders to cancel as input parameters. It returns the voucher number, the discount value, an array containing each raider's ID, its description, and its specified value.

  • Endpoint : preview.ilsbsys.com/apirest_v1/quote

Input Fields

Tag Name Type Size Priority
token string 16 (Mandatory)
codigo string 11 (Mandatory)
upgrade array 3 (Mandatory)


Fields

{
    "request" : "request_upgrade_cancellation",
    "token" : "123456789ABC",
    "codigo" : "FT-K21JDD",
    "upgrade" : "126"
}

Results

{
    "voucher": "FT-K21JDD",
    "valor_descuento": "55.720",
    "pricer_order": 618.48
}

Common Error Codes

  • 6023 : Empty voucher
  • 6039 : Empty upgrade
  • 6037 : All the fields are empty
  • 1021 : Inactive Voucher
  • 1020 : Voucher not found