Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Klarna Orders API

The Orders API from Klarna — 9 operation(s) for orders.

Klarna Orders API is one of 21 APIs that Klarna publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Orders. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 9 operations across 9 paths, and defines 23 schemas. It is described by OpenAPI 3.0.0, at version 1.1.

Requests are made against a single base URL, https://api.klarna.com.

9 operations 9 paths 23 schemas 1 GET3 PATCH5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.1
Base URL
https://api.klarna.com
License
Klarna Bank AB
Resource Areas
1

Paths & Operations 9

Across 9 paths, the API surfaces 9 operations — 1 GET, 3 PATCH, 5 POST. Each is listed below with its method, path, parameters, and response codes.

Orders 9
GET
/ordermanagement/v1/orders/{order_id}
Klarna Get order details
getOrder 2 params → 200404
POST
/ordermanagement/v1/orders/{order_id}/acknowledge
Acknowledge a Klarna checkout order
acknowledgeOrder 2 params → 204403404
PATCH
/ordermanagement/v1/orders/{order_id}/authorization
Klarna Update the order amount and order lines
updateAuthorization 2 params body → 204403
PATCH
/ordermanagement/v1/orders/{order_id}/customer-details
Klarna Update customer addresses
updateConsumerDetails 2 params body → 204403
POST
/ordermanagement/v1/orders/{order_id}/extend-authorization-time
Klarna Extend the authorization time
extendAuthorizationTime 2 params → 204403
PATCH
/ordermanagement/v1/orders/{order_id}/merchant-references
Klarna Update merchant references
updateMerchantReferences 2 params body → 204403
POST
/ordermanagement/v1/orders/{order_id}/release-remaining-authorization
Klarna Release an authorization
releaseRemainingAuthorization 2 params → 204403
POST
/ordermanagement/v1/orders/{order_id}/shipping-info
Klarna Add shipping information
appendOrderShippingInfo 2 params body → 204404
POST
/ordermanagement/v1/orders/{order_id}/cancel
Klarna Cancel an order
cancelOrder 2 params → 204403

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are MerchantOrderDto (26 properties), order_line (15 properties), SelectedShippingOptionDto (14 properties), address (13 properties). Each schema is shown below with its type and property counts.

UpdateConsumer
object
1 property
Cancel not allowed error message
object
3 properties
Capture
object
11 properties
Timeslot
object
The chosen timeslot of the selected shipping option
5 properties
SelectedShippingOptionDto
object
The shipping option selected by the user.
14 properties
subscription
object
Subscription information, such as the cadence and product name of the subscription that an order line item belongs to.
3 properties 3 required
MerchantOrderDto
object
Order
26 properties
CarrierProduct
object
The chosen timeslot of the selected shipping option
2 properties
shipping_info
object
Shipping information for this capture.
7 properties
Refund
object
7 properties
InitialPaymentMethodDto
object
Initial payment method for this order
3 properties
Update merchant references
object
2 properties
Addon
object
Array consisting of add-ons selected by the consumer, may be empty
4 properties 2 required
order_line
object
List of order lines for the capture shown to the customer.
15 properties 4 required
No such order error message
object
3 properties
ProductIdentifiers
object
productidentifiers
6 properties
Address
object
The address of the location
6 properties 2 required
Not allowed error message
object
3 properties
Location
object
The location of the selected shipping option
4 properties
address
object
Shipping address for the capture.
13 properties
UpdateShippingInfo
object
1 property 1 required
customer
object
Information about the customer placing the order.
2 properties
Update authorization
object
3 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

klarna-orders-api-openapi.yml Raw ↑

Other APIs Klarna publishes across the network.

Klarna Payments API
Klarna Checkout API
Klarna Order Management API
Klarna Customer Token API
Klarna Settlements API
Klarna Push Notifications
Klarna Captures API
Klarna Checkout API
Klarna Customer Token API
Klarna Hpp API
Klarna Merchant Urls.address Update API
Klarna Merchant Urls.country Change API