change_reservation
Purpose: the change_reservation function is used to change a reservation. This is useful when a customer might want to change their order and the order amount changes. Call this function to check if the amount can be changed.
Example PHP code
change_reservation($rno, $newAmount, $eid, $secret, $flags, &$result)
Input Data:
| Required | Variable | Type | Description |
|---|---|---|---|
| rno | string | The reservation number of the reservation to be modified. | |
| newAmount | integer | The new amount for the reservation, given in ören or cents | |
| eid | integer | A store ID which refers to your store in Klarna's database | |
| secret | string | A shared secret which is used to secure all traffic between Klarna and your store | |
| flags | integer | The flags variable determines how you wish to change the amount.
|
Return value:
The string “OK”


Subscribe to our RSS feed for technical updates