Resource picker not publishing product show

CwsSanket
Shopify Partner
8 2 2

Hello, 
I use resourcepicker for select product and it's show all products but how can I add filter for not publishing product don't show.
I use this resources :- https://shopify.dev/docs/api/app-bridge-library/reference/resource-picker  
how can I do that only online publishing products show.

const products = await window.shopify.resourcePicker({
            type: "product",
            multiple: true,
            filter: {
                hidden: true,
                variants: false,
                draft: false,
                archived: false,
            }
        });

 

 

Replies 0 (0)