Skip to main content

Parameters

Some parameters already exist in the system, but you can also add your own.

Parameters are configured in the GUI. If you don't set a default value, the parameter must be set in the API call. Parameters connected to the sender are set automatically.

Note

Parameters correspond to Klarna tags.

Set default value for a parameter

  1. Go to Maintenance > Delivery checkout.

  2. When creating a new delivery checkout you add default values to parameters on the New delivery checkout page.

    To add default values to parameters on an existing delivery checkout, click DEL_Edit_old_icon.png to the left of the delivery checkout on the Delivery checkout page.

  3. Click DEL_Edit_old_icon.png to the left of a parameter.

  4. The parameter appears in the field Name under the parameter list.

  5. Enter a value in the Default field using the Type defined for the parameter.

  6. Click Save.

Create and add custom parameters

You can add parameters to a new or existing delivery checkout.

  1. Go to Maintenance > Delivery checkout.

  2. When creating a new delivery checkout you create new parameters on the New delivery checkout page.

    To add new parameters on an existing delivery checkout, click DEL_Edit_old_icon.png to the left of the delivery checkout on the Delivery checkout page.

  3. In the Parameters section you can enter name, type and default value.

  4. Click New parameter.

You delete the parameter by clicking DEL_Delete_old_icon.png next to it.

Tags/parameters

  • Parameters/tags (text) can have a value (string).

    Separate the parameter/tag and the value with a colon (:).

    Example: "products:4"

    You can't use a numerical value with relative operators, such as ">" or "<".

    Parameter/tag values can be used to create conditions for numerical values (text) by using condition lists for valid/invalid values.

  • A tag/parameter can also be boolean.

    The tag is sent to Klarna = true

    The tag is not sent to Klarna = false

    Example: "freefreight"