Delivery Customization - Differentiate between Sales Channels

Topic summary

Goal: hide a custom delivery option in the Online Store but keep it visible in Shopify POS.

Context: a delivery customization extension uses a Cart Input query to list deliveryGroups and deliveryOptions (handle, title). The provided code snippet is central; it does not expose a sales channel field.

Issue: documentation does not show any field/connection to detect the sales channel (e.g., Online Store vs POS) or a setting to disable the extension for POS.

Request: guidance on whether the salesChannel can be retrieved in the current extension, or if the app/extension can be configured to apply only to the Online Store.

Status: no answer or decision yet; the question remains open.

Summarized with AI on December 19. AI used: gpt-5.

I have a delivery customization that hides a custom delivery option but I only want to hide the option in the Online Store and not in the Shopify POS app. Here is my Input query:

query RunInput {
    cart {
        deliveryGroups {
            deliveryOptions {
                handle
                title
            }
        }
    }
}

and in the documentation I dont see any field or connection where I could get the salesChannel or a way to disable this customization for the shopify POS app.

Is there any way to retrieve the salesChannel in the current extension or can I configure the app (that has the extension) that only the Online Store is using it?