Klarna Checkout, the provider-specific predecessor of the checkout session endpoints. Still supported, but new builds should use Ecom.Checkout instead. The push endpoint here is an inbound callback from Klarna, not something a storefront calls.
4 anrop·
POST
PUT
GET
·Bas-URL https://api.erp.fluit.cloud/ecom
Autentisering, felkoder, rate limits, idempotens och paginering gäller alla anrop och står samlade under
Kom igång.
POST
/kco/push
KCO push callback
Webhook called by Kustom when checkout is completed. Creates a SalesOrder and acknowledges to Kustom. Idempotent.
Svar
200
Tom body.
429
Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
Creates a Kustom Checkout session and returns an HTML snippet for embedding the checkout widget. Deprecated alias for POST /ecom/checkout/sessions.
Body
krävs
Fält
Typ
Beskrivning
locale
string
· nullable
The shopper's language, e.g. "sv" or "en-GB".
shippingCountry
string
· nullable
The country the order ships to (ISO 3166-1 alpha-2), when the shopper has chosen it.
VAT in the basket sent to the payment provider is calculated for that country, the same
way the order will be. Without it, VAT follows the logged-in customer's country, or the
store's own country for a guest.
Svar
200
CreateKcoSessionResponse
Fält
Typ
htmlSnippet
string
· nullable
sessionId
string(uuid)
429
Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
Bas-URL https://api.erp.fluit.cloud/ecom.
Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.
PUT
/kco/sessions/{sessionId}
Update KCO session
Updates an existing Kustom Checkout session when the cart has changed. Deprecated alias for PATCH /ecom/checkout/sessions/{sessionId}.
Sökvägsparametrar
Fält
Typ
sessionId
Krävs
string(uuid)
Svar
200
UpdateKcoSessionResponse
Fält
Typ
htmlSnippet
string
· nullable
sessionId
string(uuid)
429
Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
Bas-URL https://api.erp.fluit.cloud/ecom.
Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.
GET
/kco/sessions/{sessionId}/confirmation
Get KCO confirmation
Returns the Kustom Checkout confirmation HTML snippet and order details. Deprecated alias for GET /ecom/checkout/sessions/{sessionId}/confirmation.
Sökvägsparametrar
Fält
Typ
sessionId
Krävs
string
Svar
200
GetKcoConfirmationResponse
Fält
Typ
currencyCode
string
· nullable
htmlSnippet
string
· nullable
orderNumber
string
· nullable
sessionId
string(uuid)
status
string
· nullable
totalAmount
decimal
· nullable
totalAmountIncludingTax
decimal
· nullable
totalVat
decimal
· nullable
429
Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.