Array
(
    [postfields] => Array
        (
            [client_id] => frlqibjvrgmebkm3nq2nzjc4z1lx8l9
            [client_secret] => e971beffebb01ffb209e54a15649b869422c5ca367d37fc0551e6e31c6258273
            [redirect_uri] => https://bulkpromotion.appsserver.net/app/auth.php
            [grant_type] => authorization_code
            [code] => 3fuv33lg51o1oh2mhopzl9os9tp8xco
            [scope] => store_channel_listings store_channel_settings store_sites store_v2_default store_v2_information store_v2_marketing users_basic_information
            [context] => stores/ug96bsp8n2
        )

    [res_obj] => stdClass Object
        (
            [access_token] => fcpavx0okt6ap1oereiz2ykbcksonwr
            [scope] => store_channel_listings store_channel_settings store_sites store_v2_default store_v2_information store_v2_marketing users_basic_information
            [user] => stdClass Object
                (
                    [id] => 1886198
                    [username] => jonas.romer@ofinto.ch
                    [email] => jonas.romer@ofinto.ch
                )

            [context] => stores/ug96bsp8n2
            [ajs_anonymous_id] => 
            [account_uuid] => 62cb9dac-70bd-4c27-8b0e-f7839baffaad
        )

    [header] => Array
        (
            [0] => accept: application/json
            [1] => content-type: application/json
            [2] => x-auth-client: frlqibjvrgmebkm3nq2nzjc4z1lx8l9
            [3] => x-auth-token: fcpavx0okt6ap1oereiz2ykbcksonwr
        )

    [channel_data] => Array
        (
            [data] => Array
                (
                    [0] => Array
                        (
                            [id] => 1
                            [name] => ofinto
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2021-01-13T09:07:53Z
                            [date_modified] => 2021-03-01T23:04:26Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/bigcommerce.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 1
                            [is_visible] => 1
                            [status] => active
                        )

                    [1] => Array
                        (
                            [id] => 589089
                            [name] => Facebook
                            [platform] => facebook
                            [type] => marketplace
                            [date_created] => 2021-03-01T23:23:58Z
                            [date_modified] => 2022-09-28T21:20:00Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/facebook.svg
                            [is_listable_from_ui] => 
                            [is_enabled] => 
                            [is_visible] => 1
                            [status] => disconnected
                        )

                    [2] => Array
                        (
                            [id] => 589105
                            [name] => instagram
                            [platform] => instagram
                            [type] => marketplace
                            [date_created] => 2021-03-01T23:50:42Z
                            [date_modified] => 2022-01-12T14:58:08Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/instagram.svg
                            [is_listable_from_ui] => 
                            [is_enabled] => 
                            [is_visible] => 1
                            [status] => disconnected
                        )

                    [3] => Array
                        (
                            [id] => 1402542
                            [name] => facebookAnalytics-0
                            [platform] => facebook
                            [type] => marketing
                            [date_created] => 2023-05-11T07:40:20Z
                            [date_modified] => 2023-05-11T07:40:20Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/facebook.svg
                            [is_listable_from_ui] => 
                            [is_enabled] => 1
                            [is_visible] => 
                            [status] => connected
                        )

                )

            [meta] => Array
                (
                    [pagination] => Array
                        (
                            [total] => 4
                            [count] => 4
                            [per_page] => 250
                            [current_page] => 1
                            [total_pages] => 1
                            [links] => Array
                                (
                                    [current] => ?page=1&limit=250
                                )

                        )

                )

        )

    [in_channel_data_if] => yes
    [in_channel_data_each] => Array
        (
            [0] => yes
            [1] => yes
            [2] => yes
            [3] => yes
        )

    [in_channel_data_each_if] => Array
        (
            [0] => yes
        )

    [result_site] => Array
        (
            [0] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1000
                                    [url] => https://ofinto.ch
                                    [channel_id] => 1
                                    [created_at] => 2021-01-13T09:07:53Z
                                    [updated_at] => 2023-06-28T08:37:30Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://ofinto.ch
                                                    [type] => primary
                                                    [created_at] => 2021-01-13T09:07:53Z
                                                    [updated_at] => 2023-06-28T08:37:30Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://store-ug96bsp8n2.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2021-01-13T09:07:53Z
                                                    [updated_at] => 2021-01-13T09:07:53Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://ofinto.ch
                                                    [type] => checkout
                                                    [created_at] => 2021-01-13T09:07:53Z
                                                    [updated_at] => 2023-06-28T08:37:30Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

                    [meta] => Array
                        (
                            [pagination] => Array
                                (
                                    [offset] => 0
                                    [limit] => 50
                                    [total_items] => 1
                                )

                        )

                )

        )

    [query_data] => Array
        (
            [0] => Array
                (
                    [access_token] => fcpavx0okt6ap1oereiz2ykbcksonwr
                    [store_id] => ug96bsp8n2
                    [store_url] => https://ofinto.ch
                    [store_name] => ofinto
                    [channel_id] => 1
                    [admin_first_name] => Jonas
                    [admin_last_name] => Romer
                    [country] => Switzerland
                    [country_code] => CH
                    [phone] => 
                    [admin_email] => admin@ofinto.ch
                    [currency] => CHF
                    [currency_symbol] => CHF
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [created_at] => 2023-10-30 15:04:02
                )

        )

    [in_channel_data_each_else] => Array
        (
            [1] => yes
            [2] => yes
            [3] => yes
        )

)
