Menu
Update the order amount and order lines
Update the order amount and order lines
PATCH
/ordermanagement/v1/orders/{order_id}/authorizationUse it in a workflow
- Add a step and choose the Klarna connector.
- Pick the Update the order amount and order lines action (under Order Management).
- Fill in the fields below, then reference the result from later steps as
{{updateTheOrderAmountAndOrderLines.response.data}}.
Request
Path parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"order_amount": 0,
"description": "Added charger",
"order_lines": [
{
"name": "string",
"quantity": 1,
"total_amount": 0,
"unit_price": 0,
"image_url": "https://yourstore.example/product/headphones.png",
"merchant_data": "Some metadata",
"product_identifiers": {
"brand": "Intel",
"category_path": "Electronics Store > Computers & Tablets > Desktops",
"color": "Denim blue",
"global_trade_item_number": "735858293167",
"manufacturer_part_number": "BOXNUC5CPYH",
"size": "4"
},
"product_url": "https://yourstore.example/product/headphones",
"quantity_unit": "pcs.",
"reference": "75001",
"subscription": {
"interval": "MONTH",
"interval_count": 0,
"name": "string"
},
"tax_rate": 0
}
]
}
Response
Returns 204 with a string. Read it in later steps with {{updateTheOrderAmountAndOrderLines.response.data.<field>}}.
Need more? See the Klarna guide for connection setup and behaviour shared by every action.
Was this page helpful?