type: object
description: |
    Computed shipping layout for a Big Order — the line-item-to-shipment-group
    mapping, the current shipment per group (if any), and the available
    inventory slots for groups that haven't shipped yet. Returned by
    `GET /admin/shop/order/{bigOrderId}/shipping_summary` and rendered on the
    Arda Big Order detail page.
properties:
    lineItemSummary:
        type: object
        description: Per-line-item layout details.
        properties:
            lineItems:
                type: array
                description: Includes fulfilled, unfulfilled, and refunded items.
                items:
                    type: object
                    properties:
                        shopifyOrderLineItemId: { type: string }
                        shipmentGroupId:
                            type: string
                            description: Empty when the item is not yet grouped.
                        type:
                            description: Product taxonomy.
                            $ref: "../../admin-api.yaml#/components/schemas/BigProductType"
                        fulfilled: { type: boolean }
                        refunded: { type: boolean }
                    additionalProperties: true
        additionalProperties: true
    shipmentGroups:
        type: object
        description: |
            Shipment-group id → group details. Each group either has a `shipment`
            (already created) or `inventorySlots` (waiting to be picked).
        additionalProperties:
            type: object
            properties:
                shipment: { $ref: "./BigShipment.yaml" }
                inventorySlots:
                    type: array
                    items:
                        type: object
                        additionalProperties: true
                        description: Available inventory slot for this group.
example:
    lineItemSummary:
        lineItems:
            - shopifyOrderLineItemId: "13594621186073"
              shipmentGroupId: "default"
              type: "BigscreenBeyondV1"
              fulfilled: false
              refunded: false
            - shopifyOrderLineItemId: "13594621317145"
              shipmentGroupId: "default"
              type: "BeyondCushionV1"
              fulfilled: false
              refunded: false
    shipmentGroups:
        default:
            inventorySlots:
                - productType: "BigscreenBeyondV1"
                  fulfilled: false
                - productType: "BeyondCushionV1"
                  fulfilled: false
