{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/klarna/main/json-schema/klarna-shipping-service-response-schema.json", "title": "shipping_service_response", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/klarna-merchant-urls-address-update-api-openapi.yml#/components/schemas/shipping_service_response", "type": "object", "required": [ "order_amount", "order_lines", "order_tax_amount", "purchase_currency" ], "properties": { "order_amount": { "type": "integer", "format": "int64", "description": "Non-negative, minor units. Total total amount of the order, including tax and any discounts.", "minimum": 0 }, "order_tax_amount": { "type": "integer", "format": "int64", "description": "Non-negative, minor units. The total tax amount of the order.", "minimum": 0 }, "merchant_data": { "type": "string", "description": "Pass through field (max 1024 characters).", "minLength": 0, "maxLength": 1024 }, "order_lines": { "type": "array", "description": "The applicable order lines (max 1000)", "items": { "$ref": "#/$defs/order_line" }, "maxItems": 1000, "minItems": 0 }, "shipping_options": { "type": "array", "description": "A list of shipping options available for this order.", "items": { "$ref": "#/$defs/shipping_option" } }, "attachment": { "$ref": "#/$defs/attachment" }, "purchase_currency": { "type": "string", "description": "ISO 4217 purchase currency.", "pattern": "^[A-Za-z]{3,3}$" }, "locale": { "type": "string", "description": "RFC 1766 customer's locale.", "pattern": "^[A-Za-z]{2,2}(?:-[A-Za-z]{2,2})*$" }, "external_payment_methods": { "type": "array", "description": "List of external payment methods that will be displayed as part of payment methods in the checkout.", "items": { "$ref": "#/$defs/payment_provider" } }, "tags": { "type": "array", "description": "Extra information added to the order.\n\nExample: [\"dangerous_goods\", \"bulky\"]", "items": { "type": "string" } } }, "$defs": { "DeliveryDetailsV1": { "type": "object", "properties": { "carrier": { "type": "string", "description": "Carrier product name" }, "class": { "type": "string", "description": "Type of shipping class" }, "product": { "$ref": "#/$defs/ProductV1" }, "timeslot": { "$ref": "#/$defs/TimeslotV1" }, "pickup_location": { "$ref": "#/$defs/PickupLocationV1" } } }, "PickupLocationV1": { "type": "object", "properties": { "id": { "type": "string", "description": "Id" }, "name": { "type": "string", "description": "Name of the location" }, "address": { "$ref": "#/$defs/address" } } }, "ProductV1": { "type": "object", "properties": { "name": { "type": "string", "description": "Carrier product name" }, "identifier": { "type": "string", "description": "Carrier product identifier" } } }, "TimeslotV1": { "type": "object", "properties": { "id": { "type": "string", "description": "Id" }, "start": { "type": "string", "description": "Start time" }, "end": { "type": "string", "description": "End time" } } }, "address": { "type": "object", "properties": { "given_name": { "type": "string", "description": "Given name." }, "family_name": { "type": "string", "description": "Family name." }, "email": { "type": "string", "description": "E-mail address." }, "title": { "type": "string", "description": "Title.
Valid values for UK:
Valid values for DACH:
Valid values for NL: