Menu
Get capture details
Get capture details
GET
/ordermanagement/v1/orders/{order_id}/captures/{capture_id}Use it in a workflow
- Add a step and choose the Klarna connector.
- Pick the Get capture details action (under Order Management).
- Fill in the fields below, then reference the result from later steps as
{{getCaptureDetails.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getCaptureDetails.response.data.<field>}}.
{
"billing_address": {
"attention": "John Smith",
"city": "New York",
"country": "US",
"email": "test.sam@test.com",
"family_name": "Andersson",
"given_name": "Adam",
"organization_name": "Klarna",
"phone": "1-555-555-5555",
"postal_code": "10024-3941",
"region": "US-NY",
"street_address": "509 Amsterdam Ave",
"street_address2": "Floor 22 / Flat 2"
},
"capture_id": "4ba29b50-be7b-44f5-a492-113e6a865e22",
"captured_amount": 0,
"captured_at": "2015-11-19T01:51:17Z",
"description": "Order has been shipped",
"klarna_reference": "K4MADNY-1",
"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
}
],
"reference": "string",
"refunded_amount": 0,
"shipping_address": {
"attention": "John Smith",
"city": "New York",
"country": "US",
"email": "test.sam@test.com",
"family_name": "Andersson",
"given_name": "Adam",
"organization_name": "Klarna",
"phone": "1-555-555-5555",
"postal_code": "10024-3941",
"region": "US-NY",
"street_address": "509 Amsterdam Ave",
"street_address2": "Floor 22 / Flat 2"
},
"shipping_info": [
{
"return_shipping_company": "dhl-express",
"return_tracking_number": "93456415674545679888",
"return_tracking_uri": "http://shipping.example/findmypackage?93456415674545679888",
"shipping_company": "dhl-express",
"shipping_method": "Home",
"tracking_number": "63456415674545679874",
"tracking_uri": "http://shipping.example/findmypackage?63456415674545679874"
}
]
}
Need more? See the Klarna guide for connection setup and behaviour shared by every action.
Was this page helpful?