Skip to main content

CheckoutCreateItem

A single shop position (line item) in a checkout cart.

Mirrors the shop-relevant subset of :class:~src.schemas.orders.OrderCreateItem. The DTU-only amountCurrencyCode is intentionally omitted because checkout v1 is shop-only. fields reuses :class:~src.schemas.orders.OrderCreateField so the per-item shape stays identical to POST /orders.

denominationIdDenominationidrequired

Item/denomination id from the GET /services catalog.

fields object[]

Optional extra fields required by some products.

  • Array [
  • keyKeyrequired

    Field key (e.g. account_reference for DTU orders).

    valueValuerequired

    Field value.

  • ]
  • isLongOrderIslongorder

    If true, places a long order for this position (may be delivered asynchronously). Use isLongOrder / minQtyToLongOrder from the catalog to decide when it is allowed.

    Default value: false
    quantityQuantity

    Quantity to purchase for this position.

    Possible values: >= 1

    Default value: 1
    CheckoutCreateItem
    {
    "denominationId": "string",
    "fields": [
    {
    "key": "string",
    "value": "string"
    }
    ],
    "isLongOrder": false,
    "quantity": 1
    }