Remove a Klarna Checkout Order

Requires an existing Norce order. Will do soft delete on any payments or shippings by setting state to removed. Will delete any hooks added when creating a klarna checkout order.

SecurityBearer
Request
path Parameters
order_id
required
string

Order identifier

payment_id
required
string

Payment identifier

header Parameters
x-merchant
required
string

Merchant identifier.

Example: norce
x-channel
required
string

Channel identifier

Example: 1
Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

post/api/checkout/v1/orders/{order_id}/payments/{payment_id}/remove
Request samples
Response samples
application/json
{
  • "code": "cart-not-found",
  • "message": "Cart with id:{id} now found.",
  • "klarnaError": {
    }
}
Copyright © Norce 2024. All right reserved.