add_upgrade (PUT)

This feature adds one or more raiders (upgrades) to a previously issued order. As input parameters you need: the token, voucher or order code, id of the raiders to add. Returns the voucher number, the additional value to add, an array with each raider id, its description and its specific 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)


Specified Plan

Adds an upgrade to the specified order

Fields

{
  "request" : "add_upgrade",
  "token" : "123456789ABC",
  "codigo" : "FT-K21JDD",
  "upgrade"  [
  {"id":"1267","documento":"11224455"}
]}

Results

{
  "voucher": "FT-K21JDD",
  "valor_adicional": 0,
  "upgrades": [
      {
          "id": "1267",
          "documento": "11224455"
      }
  ]
}

General Plan

Add an update to the blanket order

Fields

{
    "request" : "add_upgrade",
    "token" : "123456789ABC",
    "codigo" : "FT-K21JDD",
    "upgrade" : ["126"]
}

Results

{
    "voucher": "FT-K21JDD",
    "valor_adicional": 55.72,
    "upgrades": [
        "126"
    ]
}

Common Error Codes

  • 6023 : Empty Voucher
  • 6039 : Empty Upgrade
  • 1021 : inactive Voucher
  • 1020 : Voucher not found