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
locale
string
· nullable
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.