Klarna Docs - Add new shipping information to a capture

Add new shipping information to a capture

Shipping information can be attached to a capture, this will help you and us to keep track of orders sent to the customer.

You have made a capture of your order, now after sending the order you want to add the shipping details.

Flow diagram depicting how shipping information is added to a capture

Fig.1 Add shipping information to a capture

Send in the shipping details and add them to a specific capture. You can find more information on how to share delivery tracking data in this dedicated guide.

JSON
POST /ordermanagement/v1/orders/{order_id}/captures/{capture_id}/shipping-info
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Content-Type: application/json

{
  "shipping_info": [
    {
      "shipping_company": "DHL US",
      "tracking_number": "1234567890",
      "return_shipping_company": "UPS",

Klarna will respond with one of the following:

Error message  - something went wrong

201 - Created  - The server has fulfilled the request