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

    [res_obj] => stdClass Object
        (
            [access_token] => n2x8dtznm55tij8k6ujohpm7ijfl7fp
            [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] => 703664
                    [username] => ali@webecommercepros.com
                    [email] => ali@webecommercepros.com
                )

            [context] => stores/1pzmyikofr
            [ajs_anonymous_id] => 
            [account_uuid] => 49c0b416-a3a1-455a-ab30-5f246e490b0f
        )

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

    [channel_data] => Array
        (
            [data] => Array
                (
                    [0] => Array
                        (
                            [id] => 1
                            [name] => Checkout Anywhere
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2020-08-18T07:19:02Z
                            [date_modified] => 2020-08-19T07:33:33Z
                            [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] => 911655
                            [name] => Mercado Libre
                            [platform] => mercado_libre
                            [type] => marketplace
                            [date_created] => 2022-01-13T08:13:26Z
                            [date_modified] => 2022-03-11T11:25:21Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/mercado_libre.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 
                            [is_visible] => 1
                            [status] => disconnected
                            [config_meta] => Array
                                (
                                    [app] => Array
                                        (
                                            [id] => 1
                                            [sections] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [title] => App
                                                            [query_path] => https://store-1pzmyikofr.mybigcommerce.com/manage/channel/1/app?section=overview&id=29272
                                                        )

                                                )

                                        )

                                )

                        )

                    [2] => Array
                        (
                            [id] => 992498
                            [name] => Test
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2022-03-08T10:57:28Z
                            [date_modified] => 2022-06-06T11:39:19Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/bigcommerce.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 
                            [is_visible] => 1
                            [status] => terminated
                        )

                    [3] => Array
                        (
                            [id] => 992505
                            [name] => Checkout Anywhere 1
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2022-03-08T11:01:36Z
                            [date_modified] => 2022-03-08T11:01:43Z
                            [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] => 992528
                            [name] => Checkout Anywhere
                            [platform] => custom
                            [type] => marketplace
                            [date_created] => 2022-03-08T11:18:45Z
                            [date_modified] => 2022-03-11T11:25:43Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/custom.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 
                            [is_visible] => 1
                            [status] => disconnected
                            [config_meta] => Array
                                (
                                    [app] => Array
                                        (
                                            [id] => 1
                                            [sections] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [title] => App
                                                            [query_path] => https://store-1pzmyikofr.mybigcommerce.com/manage/channel/1/app?section=overview&id=29272
                                                        )

                                                )

                                        )

                                )

                        )

                    [5] => Array
                        (
                            [id] => 992542
                            [name] => Promotion
                            [platform] => custom
                            [type] => marketplace
                            [date_created] => 2022-03-08T11:38:40Z
                            [date_modified] => 2022-03-11T11:25:52Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/custom.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 
                            [is_visible] => 1
                            [status] => disconnected
                            [config_meta] => Array
                                (
                                    [app] => Array
                                        (
                                            [id] => 1
                                            [sections] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [title] => App
                                                            [query_path] => https://store-1pzmyikofr.mybigcommerce.com/manage/channel/1/app?section=overview&id=29272
                                                        )

                                                )

                                        )

                                )

                        )

                    [6] => Array
                        (
                            [id] => 992548
                            [name] => Promotions App
                            [platform] => custom
                            [type] => marketplace
                            [date_created] => 2022-03-08T11:47:30Z
                            [date_modified] => 2022-03-11T11:26:01Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/custom.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 
                            [is_visible] => 1
                            [status] => disconnected
                            [config_meta] => Array
                                (
                                    [app] => Array
                                        (
                                            [id] => 1
                                            [sections] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [title] => App
                                                            [query_path] => https://store-1pzmyikofr.mybigcommerce.com/manage/channel/1/app?section=overview&id=29272
                                                        )

                                                )

                                        )

                                )

                        )

                    [7] => Array
                        (
                            [id] => 994527
                            [name] => Checkout Text Editor App
                            [platform] => custom
                            [type] => marketplace
                            [date_created] => 2022-03-10T07:35:44Z
                            [date_modified] => 2022-03-11T11:24:52Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/custom.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 
                            [is_visible] => 1
                            [status] => disconnected
                            [config_meta] => Array
                                (
                                    [app] => Array
                                        (
                                            [id] => 1
                                            [sections] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [title] => App
                                                            [query_path] => https://store-1pzmyikofr.mybigcommerce.com/manage/channel/1/app?section=overview&id=29272
                                                        )

                                                )

                                        )

                                )

                        )

                )

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

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

    [result_site] => Array
        (
            [0] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1000
                                    [url] => https://checkout-anywhere.mybigcommerce.com
                                    [channel_id] => 1
                                    [created_at] => 2020-08-18T07:19:02Z
                                    [updated_at] => 2020-08-18T07:19:07Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://checkout-anywhere.mybigcommerce.com
                                                    [type] => primary
                                                    [created_at] => 2020-08-18T07:19:02Z
                                                    [updated_at] => 2020-08-18T07:19:07Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://store-1pzmyikofr.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2020-08-18T07:19:02Z
                                                    [updated_at] => 2020-08-18T07:19:02Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://checkout-anywhere.mybigcommerce.com
                                                    [type] => checkout
                                                    [created_at] => 2020-08-18T07:19:02Z
                                                    [updated_at] => 2020-08-18T07:19:07Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

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

                        )

                )

            [2] => Array
                (
                    [data] => Array
                        (
                        )

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

                        )

                )

            [3] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1002
                                    [url] => https://checkout-anywhere-1-992505.mybigcommerce.com
                                    [channel_id] => 992505
                                    [created_at] => 2022-03-08T11:01:37Z
                                    [updated_at] => 2022-03-08T11:01:37Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://checkout-anywhere-1-992505.mybigcommerce.com
                                                    [type] => primary
                                                    [created_at] => 2022-03-08T11:01:37Z
                                                    [updated_at] => 2022-03-08T11:01:37Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://store-1pzmyikofr-992505.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2022-03-08T11:01:37Z
                                                    [updated_at] => 2022-03-08T11:01:37Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://checkout-anywhere-1-992505.mybigcommerce.com
                                                    [type] => checkout
                                                    [created_at] => 2022-03-08T11:01:37Z
                                                    [updated_at] => 2022-03-08T11:01:37Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

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

                        )

                )

        )

    [query_data] => Array
        (
            [0] => Array
                (
                    [access_token] => n2x8dtznm55tij8k6ujohpm7ijfl7fp
                    [store_id] => 1pzmyikofr
                    [store_url] => https://checkout-anywhere.mybigcommerce.com
                    [store_name] => Checkout Anywhere
                    [channel_id] => 1
                    [admin_first_name] => Developer
                    [admin_last_name] => Test
                    [country] => United States
                    [country_code] => US
                    [phone] => 
                    [admin_email] => ali@webecommercepros.com
                    [currency] => GBP
                    [currency_symbol] => £
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [updated_at] => 2023-10-19 07:42:45
                    [attempt] => 2
                )

            [2] => Array
                (
                    [access_token] => n2x8dtznm55tij8k6ujohpm7ijfl7fp
                    [store_id] => 1pzmyikofr
                    [store_url] => https://checkout-anywhere.mybigcommerce.com
                    [store_name] => Test
                    [channel_id] => 992498
                    [admin_first_name] => Developer
                    [admin_last_name] => Test
                    [country] => United States
                    [country_code] => US
                    [phone] => 
                    [admin_email] => ali@webecommercepros.com
                    [currency] => GBP
                    [currency_symbol] => £
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [created_at] => 2023-10-19 07:42:45
                )

            [3] => Array
                (
                    [access_token] => n2x8dtznm55tij8k6ujohpm7ijfl7fp
                    [store_id] => 1pzmyikofr
                    [store_url] => https://checkout-anywhere-1-992505.mybigcommerce.com
                    [store_name] => Checkout Anywhere 1
                    [channel_id] => 992505
                    [admin_first_name] => Developer
                    [admin_last_name] => Test
                    [country] => United States
                    [country_code] => US
                    [phone] => 
                    [admin_email] => ali@webecommercepros.com
                    [currency] => GBP
                    [currency_symbol] => £
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [updated_at] => 2023-10-19 07:42:45
                    [attempt] => 2
                )

        )

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

)
