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

    [res_obj] => stdClass Object
        (
            [access_token] => 6h90f2b6ywpbcod72cc2jmtytx0t5hn
            [scope] => store_channel_listings store_channel_settings store_sites store_v2_default store_v2_information store_v2_marketing
            [user] => stdClass Object
                (
                    [id] => 2695967
                    [username] => jarek.butryn@donaldrussell.co.uk
                    [email] => jarek.butryn@donaldrussell.co.uk
                )

            [owner] => stdClass Object
                (
                    [id] => 2695967
                    [username] => jarek.butryn@donaldrussell.co.uk
                    [email] => jarek.butryn@donaldrussell.co.uk
                )

            [context] => stores/jlabjsx2qg
            [ajs_anonymous_id] => 
            [account_uuid] => 0c5e6394-402c-47a1-b9f9-22554cecbff9
        )

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

    [channel_data] => Array
        (
            [data] => Array
                (
                    [0] => Array
                        (
                            [id] => 1
                            [name] => Donal Russell Sandbox-jlabjsx2qg-1052
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2023-03-29T18:31:41Z
                            [date_modified] => 2024-02-08T09:13:29Z
                            [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] => 1538489
                            [name] => facebookAnalytics-1
                            [platform] => facebook
                            [type] => marketing
                            [date_created] => 2024-01-22T11:43:02Z
                            [date_modified] => 2024-01-22T11:43:02Z
                            [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
                        )

                    [2] => Array
                        (
                            [id] => 1538954
                            [name] => facebookAnalytics-0
                            [platform] => facebook
                            [type] => marketing
                            [date_created] => 2024-01-23T14:23:25Z
                            [date_modified] => 2024-01-23T14:23:25Z
                            [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] => 3
                            [count] => 3
                            [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
        )

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

    [result_site] => Array
        (
            [0] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1000
                                    [url] => https://donaldrussell.com
                                    [channel_id] => 1
                                    [created_at] => 2023-03-29T18:31:42Z
                                    [updated_at] => 2024-02-08T07:30:24Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://donaldrussell.com
                                                    [type] => primary
                                                    [created_at] => 2023-03-29T18:31:42Z
                                                    [updated_at] => 2024-02-08T07:30:24Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://store-jlabjsx2qg-1.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2023-03-29T18:31:42Z
                                                    [updated_at] => 2023-03-29T18:31:42Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://donaldrussell.com
                                                    [type] => checkout
                                                    [created_at] => 2023-03-29T18:31:42Z
                                                    [updated_at] => 2024-02-08T07:30:24Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

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

                        )

                )

        )

    [query_data] => Array
        (
            [0] => Array
                (
                    [access_token] => 6h90f2b6ywpbcod72cc2jmtytx0t5hn
                    [store_id] => jlabjsx2qg
                    [store_url] => https://donaldrussell.com
                    [store_name] => Donal Russell Sandbox-jlabjsx2qg-1052
                    [channel_id] => 1
                    [admin_first_name] => Jarek
                    [admin_last_name] => Butryn
                    [country] => United Kingdom
                    [country_code] => GB
                    [phone] => 01467 629666
                    [admin_email] => hello@donaldrussell.co.uk
                    [currency] => GBP
                    [currency_symbol] => £
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [created_at] => 2024-10-24 13:21:04
                )

        )

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

)
