younifyd
Menu

Update merchant references

Update merchant references

PATCH/ordermanagement/v1/orders/{order_id}/merchant-references

Use it in a workflow

  1. Add a step and choose the Klarna connector.
  2. Pick the Update merchant references action (under Order Management).
  3. Fill in the fields below, then reference the result from later steps as {{updateMerchantReferences.response.data}}.

Request

Path parameters

order_idstringrequired

Order 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.

merchant_reference1string

New merchant reference 1. Old reference will be overwritten if this field is present.

merchant_reference2string

New merchant reference 2. Old reference will be overwritten if this field is present.

json
{
  "merchant_reference1": "string",
  "merchant_reference2": "string"
}

Response

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

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

Update merchant references — Klarna — Documentation