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
Go to
> .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 to the left of the delivery checkout on the Delivery checkout page.
Click to the left of a parameter.
The parameter appears in the field Name under the parameter list.
Enter a value in the Default field using the Type defined for the parameter.
Click
.
Create and add custom parameters
You can add parameters to a new or existing delivery checkout.
Go to
> .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 to the left of the delivery checkout on the Delivery checkout page.
In the Parameters section you can enter name, type and default value.
Click
.
You delete the parameter by clicking 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"