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

    [res_obj] => stdClass Object
        (
            [access_token] => a1u2nbfumci3rbnyw1wwvqp0r7vwdv
            [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] => 2437224
                    [username] => info@mkmage.com
                    [email] => info@mkmage.com
                )

            [context] => stores/byznwdb8us
            [ajs_anonymous_id] => 9393b719-4ac0-4194-859e-41f9bfe1103a
            [account_uuid] => 48dd1f6a-e8ba-406c-8fd5-320ca1f14ddd
        )

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

    [channel_data] => Array
        (
            [data] => Array
                (
                    [0] => Array
                        (
                            [id] => 1
                            [name] => toolstoday
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2022-06-15T13:54:58Z
                            [date_modified] => 2023-08-08T07:21:14Z
                            [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] => 1133410
                            [name] => Facebook
                            [platform] => facebook
                            [type] => marketplace
                            [date_created] => 2022-07-05T15:32:35Z
                            [date_modified] => 2023-09-21T17:23:33Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/facebook.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 1
                            [is_visible] => 1
                            [status] => connected
                        )

                    [2] => Array
                        (
                            [id] => 1133411
                            [name] => facebookAnalytics-0
                            [platform] => facebook
                            [type] => marketing
                            [date_created] => 2022-07-05T15:32:41Z
                            [date_modified] => 2022-07-05T15:32:41Z
                            [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
                        )

                    [3] => Array
                        (
                            [id] => 1330964
                            [name] => toolstoday international
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2023-02-03T09:12:24Z
                            [date_modified] => 2023-08-08T07:21:18Z
                            [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
                        )

                    [4] => Array
                        (
                            [id] => 1447112
                            [name] => instagram
                            [platform] => instagram
                            [type] => marketplace
                            [date_created] => 2023-08-08T15:46:15Z
                            [date_modified] => 2023-09-21T17:24:52Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/instagram.svg
                            [is_listable_from_ui] => 
                            [is_enabled] => 1
                            [is_visible] => 1
                            [status] => connected
                        )

                    [5] => Array
                        (
                            [id] => 1447732
                            [name] => TikTok
                            [platform] => tiktok
                            [type] => marketing
                            [date_created] => 2023-08-09T16:31:10Z
                            [date_modified] => 2023-08-09T16:31:10Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/tiktok.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 1
                            [is_visible] => 1
                            [status] => connected
                            [config_meta] => Array
                                (
                                    [app] => Array
                                        (
                                            [id] => 32552
                                            [sections] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [title] => Overview
                                                            [query_path] => overview
                                                        )

                                                    [1] => Array
                                                        (
                                                            [title] => Analytics
                                                            [query_path] => analytics
                                                        )

                                                    [2] => Array
                                                        (
                                                            [title] => Settings
                                                            [query_path] => settings
                                                        )

                                                    [3] => Array
                                                        (
                                                            [title] => Help Center
                                                            [query_path] => helpcenter
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [meta] => Array
                (
                    [pagination] => Array
                        (
                            [total] => 6
                            [count] => 6
                            [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
            [4] => yes
            [5] => yes
        )

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

    [result_site] => Array
        (
            [0] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1000
                                    [url] => https://toolstoday.com
                                    [channel_id] => 1
                                    [created_at] => 2022-06-15T13:54:58Z
                                    [updated_at] => 2023-08-08T06:24:08Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://store-byznwdb8us.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2022-06-15T13:54:58Z
                                                    [updated_at] => 2022-06-15T13:54:58Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://toolstoday.com
                                                    [type] => primary
                                                    [created_at] => 2022-06-15T13:54:58Z
                                                    [updated_at] => 2023-08-08T06:24:08Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://toolstoday.com
                                                    [type] => checkout
                                                    [created_at] => 2022-06-15T13:54:58Z
                                                    [updated_at] => 2023-08-08T06:24:08Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

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

                        )

                )

            [3] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1001
                                    [url] => https://global.toolstoday.com
                                    [channel_id] => 1330964
                                    [created_at] => 2023-02-03T09:12:25Z
                                    [updated_at] => 2023-08-08T06:25:42Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://global.toolstoday.com
                                                    [type] => primary
                                                    [created_at] => 2023-02-03T09:12:25Z
                                                    [updated_at] => 2023-08-08T06:25:41Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://store-byznwdb8us-1330964.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2023-02-03T09:12:25Z
                                                    [updated_at] => 2023-02-03T09:12:25Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://global.toolstoday.com
                                                    [type] => checkout
                                                    [created_at] => 2023-02-03T09:12:25Z
                                                    [updated_at] => 2023-08-08T06:25:41Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

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

                        )

                )

        )

    [query_data] => Array
        (
            [0] => Array
                (
                    [access_token] => a1u2nbfumci3rbnyw1wwvqp0r7vwdv
                    [store_id] => byznwdb8us
                    [store_url] => https://toolstoday.com
                    [store_name] => toolstoday
                    [channel_id] => 1
                    [admin_first_name] => Eric
                    [admin_last_name] => Einstein
                    [country] => United States
                    [country_code] => US
                    [phone] => 
                    [admin_email] => eric@toolstoday.com
                    [currency] => USD
                    [currency_symbol] => $
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [created_at] => 2023-10-13 09:17:22
                )

            [3] => Array
                (
                    [access_token] => a1u2nbfumci3rbnyw1wwvqp0r7vwdv
                    [store_id] => byznwdb8us
                    [store_url] => https://global.toolstoday.com
                    [store_name] => toolstoday international
                    [channel_id] => 1330964
                    [admin_first_name] => Eric
                    [admin_last_name] => Einstein
                    [country] => United States
                    [country_code] => US
                    [phone] => 
                    [admin_email] => eric@toolstoday.com
                    [currency] => USD
                    [currency_symbol] => $
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [created_at] => 2023-10-13 09:17:22
                )

        )

    [in_channel_data_each_else] => Array
        (
            [1] => yes
            [2] => yes
            [4] => yes
            [5] => yes
        )

)
