younifyd
Menu

Extend payment due date

Extend payment due date

PATCH/ordermanagement/v1/orders/{order_id}/captures/{capture_id}/extend-due-date

Use it in a workflow

  1. Add a step and choose the Klarna connector.
  2. Pick the Extend payment due date action (under Order Management).
  3. Fill in the fields below, then reference the result from later steps as {{extendPaymentDueDate.response.data}}.

Request

Path parameters

order_idstringrequired

Order id

capture_idstringrequired

Capture id

Headers

Klarna-Idempotency-Keystring

This header will guarantee the idempotency of the operation. The key should be unique and is recommended to be a UUID version 4. Retries of requests are safe to be applied in case of errors such as network errors, socket errors and timeouts. Input values of the operation are disregarded when evaluating the idempotency of the operation, only the key matters.

Request body

Enter the body as JSON in the step's Body field.

number_of_daysinteger (int32)required

Number of days to extend the due date.

json
{
  "number_of_days": 0
}

Response

Returns 204 with a any. Read it in later steps with {{extendPaymentDueDate.response.data.<field>}}.

Need more? See the Klarna guide for connection setup and behaviour shared by every action.