2018-07-11

Array
(
)
Array
(
    [0] => Array
        (
            [meta] => Array
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/81f4d0cd-8502-11e8-9107-50480007bbc3?expand=organization,agent,positions.assortment
                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata
                    [type] => customerorder
                    [mediaType] => application/json
                    [uuidHref] => https://online.moysklad.ru/app/#customerorder/edit?id=81f4d0cd-8502-11e8-9107-50480007bbc3
                )

            [id] => 81f4d0cd-8502-11e8-9107-50480007bbc3
            [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
            [owner] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/employee/f4fc3b77-2d63-11e6-7a69-8f55000ccc2e
                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/employee/metadata
                            [type] => employee
                            [mediaType] => application/json
                            [uuidHref] => https://online.moysklad.ru/app/#employee/edit?id=f4fc3b77-2d63-11e6-7a69-8f55000ccc2e
                        )

                )

            [shared] => 
            [group] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/group/0225ab0d-d269-11e4-90a2-8ecb00021071
                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/group/metadata
                            [type] => group
                            [mediaType] => application/json
                        )

                )

            [version] => 4
            [updated] => 2018-07-12 17:51:31
            [name] => PRE777
            [externalCode] => 6navEjdKh94jkyc6Kw1X12
            [moment] => 2018-07-11 14:58:00
            [applicable] => 1
            [rate] => Array
                (
                    [currency] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                    [type] => currency
                                    [mediaType] => application/json
                                    [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                )

                        )

                )

            [sum] => 840000
            [store] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/store/100eb175-6b5b-4991-8f50-04f0ed6ea8aa
                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/store/metadata
                            [type] => store
                            [mediaType] => application/json
                            [uuidHref] => https://online.moysklad.ru/app/#warehouse/edit?id=100eb175-6b5b-4991-8f50-04f0ed6ea8aa
                        )

                )

            [agent] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/33a9ac82-c9af-11e5-7a69-8f55001071b8
                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/metadata
                            [type] => counterparty
                            [mediaType] => application/json
                            [uuidHref] => https://online.moysklad.ru/app/#company/edit?id=33a9ac82-c9af-11e5-7a69-8f55001071b8
                        )

                    [id] => 33a9ac82-c9af-11e5-7a69-8f55001071b8
                    [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
                    [owner] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/employee/d17bd8fe-912f-11e5-90fc-bd41000ccabe
                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/employee/metadata
                                    [type] => employee
                                    [mediaType] => application/json
                                    [uuidHref] => https://online.moysklad.ru/app/#employee/edit?id=d17bd8fe-912f-11e5-90fc-bd41000ccabe
                                )

                        )

                    [shared] => 
                    [group] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/group/0225ab0d-d269-11e4-90a2-8ecb00021071
                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/group/metadata
                                    [type] => group
                                    [mediaType] => application/json
                                )

                        )

                    [version] => 4
                    [updated] => 2018-01-18 17:42:21
                    [name] => Илья Ягодкин
                    [externalCode] => kUTF9YwqiJX4eC-xZuYSV2
                    [archived] => 
                    [created] => 2016-02-02 16:16:42
                    [companyType] => legal
                    [actualAddress] => Ханты-Манскийск, ул. Ленина д 6А, кв. 10
                    [email] => ilyayagodkin@yandex.ru
                    [phone] => 79678800022
                    [attributes] => Array
                        (
                            [0] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/metadata/attributes/30c654a6-8ac6-11e4-90a2-8ecb0018ab05
                                            [type] => attributemetadata
                                            [mediaType] => application/json
                                        )

                                    [id] => 30c654a6-8ac6-11e4-90a2-8ecb0018ab05
                                    [name] => Пол
                                    [type] => customentity
                                    [value] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customentity/4b2c7099-6e40-11e3-d503-7054d21a8d1e/c921571c-8ac5-11e4-90a2-8ecb0018a4da
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/companysettings/metadata/customEntities/4b2c7099-6e40-11e3-d503-7054d21a8d1e
                                                    [type] => customentity
                                                    [mediaType] => application/json
                                                    [uuidHref] => https://online.moysklad.ru/app/#custom_4b2c7099-6e40-11e3-d503-7054d21a8d1e/edit?id=c921571c-8ac5-11e4-90a2-8ecb0018a4da
                                                )

                                            [name] => Мужчина
                                        )

                                )

                            [1] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/metadata/attributes/30c65676-8ac6-11e4-90a2-8ecb0018ab06
                                            [type] => attributemetadata
                                            [mediaType] => application/json
                                        )

                                    [id] => 30c65676-8ac6-11e4-90a2-8ecb0018ab06
                                    [name] => Город
                                    [type] => customentity
                                    [value] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customentity/2c734312-8ac6-11e4-90a2-8ecb0018aab1/46efed25-8ac6-11e4-90a2-8ecb0018acc8
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/companysettings/metadata/customEntities/2c734312-8ac6-11e4-90a2-8ecb0018aab1
                                                    [type] => customentity
                                                    [mediaType] => application/json
                                                    [uuidHref] => https://online.moysklad.ru/app/#custom_2c734312-8ac6-11e4-90a2-8ecb0018aab1/edit?id=46efed25-8ac6-11e4-90a2-8ecb0018acc8
                                                )

                                            [name] => Питер
                                        )

                                )

                            [2] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/metadata/attributes/7d64cb46-ed8e-11e3-c71b-002590a28eca
                                            [type] => attributemetadata
                                            [mediaType] => application/json
                                        )

                                    [id] => 7d64cb46-ed8e-11e3-c71b-002590a28eca
                                    [name] => Как узнали
                                    [type] => customentity
                                    [value] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customentity/755269ec-ed8e-11e3-04e3-002590a28eca/7be044f0-ed90-11e3-6d5f-002590a28eca
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/companysettings/metadata/customEntities/755269ec-ed8e-11e3-04e3-002590a28eca
                                                    [type] => customentity
                                                    [mediaType] => application/json
                                                    [uuidHref] => https://online.moysklad.ru/app/#custom_755269ec-ed8e-11e3-04e3-002590a28eca/edit?id=7be044f0-ed90-11e3-6d5f-002590a28eca
                                                )

                                            [name] => От друзей
                                        )

                                )

                            [3] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/metadata/attributes/40dd88f0-d4da-11e4-b06a-0cc47a419cc0
                                            [type] => attributemetadata
                                            [mediaType] => application/json
                                        )

                                    [id] => 40dd88f0-d4da-11e4-b06a-0cc47a419cc0
                                    [name] => Ответственный
                                    [type] => employee
                                    [value] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/employee/554f490d-2982-4f79-afea-0392360e378c
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/employee/metadata
                                                    [type] => employee
                                                    [mediaType] => application/json
                                                    [uuidHref] => https://online.moysklad.ru/app/#employee/edit?id=554f490d-2982-4f79-afea-0392360e378c
                                                )

                                            [name] => Дану А.
                                        )

                                )

                        )

                    [accounts] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/33a9ac82-c9af-11e5-7a69-8f55001071b8/accounts
                                    [type] => account
                                    [mediaType] => application/json
                                    [size] => 0
                                    [limit] => 100
                                    [offset] => 0
                                )

                        )

                    [tags] => Array
                        (
                            [0] => man spb
                        )

                    [contactpersons] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/33a9ac82-c9af-11e5-7a69-8f55001071b8/contactpersons
                                    [type] => contactperson
                                    [mediaType] => application/json
                                    [size] => 0
                                    [limit] => 100
                                    [offset] => 0
                                )

                        )

                    [notes] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/33a9ac82-c9af-11e5-7a69-8f55001071b8/notes
                                    [type] => note
                                    [mediaType] => application/json
                                    [size] => 0
                                    [limit] => 100
                                    [offset] => 0
                                )

                        )

                    [discountCardNumber] => 5450
                    [salesAmount] => 1870000
                )

            [organization] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/fe2b72d6-2b7d-4099-bfc6-53b8fe1ee306
                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/organization/metadata
                            [type] => organization
                            [mediaType] => application/json
                            [uuidHref] => https://online.moysklad.ru/app/#mycompany/edit?id=fe2b72d6-2b7d-4099-bfc6-53b8fe1ee306
                        )

                    [id] => fe2b72d6-2b7d-4099-bfc6-53b8fe1ee306
                    [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
                    [shared] => 1
                    [group] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/group/0225ab0d-d269-11e4-90a2-8ecb00021071
                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/group/metadata
                                    [type] => group
                                    [mediaType] => application/json
                                )

                        )

                    [version] => 20
                    [updated] => 2018-05-11 14:11:36
                    [name] => Казанская
                    [externalCode] => S6eNd1yFhRiSnUjTe8bde0
                    [archived] => 
                    [created] => 2013-01-10 17:27:39
                    [companyType] => entrepreneur
                    [legalTitle] => Индивидуальный предприниматель Шепеленко Мария Александровна
                    [legalAddress] => 197082 г. Санкт-Петербург, г. Шуваловский пр-кт, 88/1 кв. 178
                    [actualAddress] => 191186 г.Санкт-Петербург, Казанская 20, пом. 4Н
                    [inn] => 470315202870
                    [ogrnip] => 318784700037733
                    [email] => hello@pyeoptics.com
                    [phone] => +78129407325
                    [attributes] => Array
                        (
                            [0] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/metadata/attributes/24fe973a-6ef5-11e6-95a4-0cc47a342ca0
                                            [type] => attributemetadata
                                            [mediaType] => application/json
                                        )

                                    [id] => 24fe973a-6ef5-11e6-95a4-0cc47a342ca0
                                    [name] => Пол
                                    [type] => customentity
                                    [value] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customentity/4b2c7099-6e40-11e3-d503-7054d21a8d1e/cd836133-8ac5-11e4-90a2-8ecb0018a53b
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/companysettings/metadata/customEntities/4b2c7099-6e40-11e3-d503-7054d21a8d1e
                                                    [type] => customentity
                                                    [mediaType] => application/json
                                                    [uuidHref] => https://online.moysklad.ru/app/#custom_4b2c7099-6e40-11e3-d503-7054d21a8d1e/edit?id=cd836133-8ac5-11e4-90a2-8ecb0018a53b
                                                )

                                            [name] => Женщина
                                        )

                                )

                            [1] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/metadata/attributes/24fe9a8c-6ef5-11e6-95a4-0cc47a342ca0
                                            [type] => attributemetadata
                                            [mediaType] => application/json
                                        )

                                    [id] => 24fe9a8c-6ef5-11e6-95a4-0cc47a342ca0
                                    [name] => Город
                                    [type] => customentity
                                    [value] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customentity/2c734312-8ac6-11e4-90a2-8ecb0018aab1/46efed25-8ac6-11e4-90a2-8ecb0018acc8
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/companysettings/metadata/customEntities/2c734312-8ac6-11e4-90a2-8ecb0018aab1
                                                    [type] => customentity
                                                    [mediaType] => application/json
                                                    [uuidHref] => https://online.moysklad.ru/app/#custom_2c734312-8ac6-11e4-90a2-8ecb0018aab1/edit?id=46efed25-8ac6-11e4-90a2-8ecb0018acc8
                                                )

                                            [name] => Питер
                                        )

                                )

                        )

                    [accounts] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/fe2b72d6-2b7d-4099-bfc6-53b8fe1ee306/accounts
                                    [type] => account
                                    [mediaType] => application/json
                                    [size] => 1
                                    [limit] => 100
                                    [offset] => 0
                                )

                        )

                    [isEgaisEnable] => 
                    [payerVat] => 
                    [director] => Шепеленко М.А.
                    [chiefAccountant] => Шепеленко М.А.
                )

            [organizationAccount] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/fe2b72d6-2b7d-4099-bfc6-53b8fe1ee306/accounts/3cc8b062-e5dc-11e3-6dc8-002590a28eca
                            [type] => account
                            [mediaType] => application/json
                        )

                )

            [state] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/states/de08ed50-d9f9-4a4f-8dca-a68b7e276453
                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata
                            [type] => state
                            [mediaType] => application/json
                        )

                )

            [attributes] => Array
                (
                    [0] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/attributes/49c7cd3b-cba5-11e7-7a34-5acf000e0312
                                    [type] => attributemetadata
                                    [mediaType] => application/json
                                )

                            [id] => 49c7cd3b-cba5-11e7-7a34-5acf000e0312
                            [name] => SPH OD (правый)
                            [type] => string
                            [value] => 0
                        )

                    [1] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/attributes/49c7d1b5-cba5-11e7-7a34-5acf000e0315
                                    [type] => attributemetadata
                                    [mediaType] => application/json
                                )

                            [id] => 49c7d1b5-cba5-11e7-7a34-5acf000e0315
                            [name] => SPH OS (левый)
                            [type] => string
                            [value] => 0
                        )

                    [2] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/attributes/cbfbb4d9-d41c-11e7-7a6c-d2a90005fba3
                                    [type] => attributemetadata
                                    [mediaType] => application/json
                                )

                            [id] => cbfbb4d9-d41c-11e7-7a6c-d2a90005fba3
                            [name] => Наложка
                            [type] => boolean
                            [value] => 
                        )

                    [3] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/attributes/cbfbb6e3-d41c-11e7-7a6c-d2a90005fba4
                                    [type] => attributemetadata
                                    [mediaType] => application/json
                                )

                            [id] => cbfbb6e3-d41c-11e7-7a6c-d2a90005fba4
                            [name] => Оплачен
                            [type] => boolean
                            [value] => 
                        )

                    [4] => Array
                        (
                            [meta] => Array
                                (
                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/attributes/5c9f1a2d-eaec-11e7-6b01-4b1d001b49fc
                                    [type] => attributemetadata
                                    [mediaType] => application/json
                                )

                            [id] => 5c9f1a2d-eaec-11e7-6b01-4b1d001b49fc
                            [name] => Частично оплачен
                            [type] => boolean
                            [value] => 
                        )

                )

            [documents] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/81f4d0cd-8502-11e8-9107-50480007bbc3/documents
                            [mediaType] => application/json
                            [size] => 0
                            [limit] => 100
                            [offset] => 0
                        )

                )

            [created] => 2018-07-11 15:04:05
            [positions] => Array
                (
                    [meta] => Array
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/81f4d0cd-8502-11e8-9107-50480007bbc3/positions?expand=assortment
                            [type] => customerorderposition
                            [mediaType] => application/json
                            [size] => 3
                            [limit] => 100
                            [offset] => 0
                        )

                    [rows] => Array
                        (
                            [0] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/81f4d0cd-8502-11e8-9107-50480007bbc3/positions/81f4ed65-8502-11e8-9107-50480007bbc9?expand=assortment
                                            [type] => customerorderposition
                                            [mediaType] => application/json
                                        )

                                    [id] => 81f4ed65-8502-11e8-9107-50480007bbc9
                                    [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
                                    [quantity] => 1
                                    [price] => 650000
                                    [discount] => 5.3846
                                    [vat] => 0
                                    [assortment] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/variant/badd3094-550a-11e7-7a69-8f550011882e
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/variant/metadata
                                                    [type] => variant
                                                    [mediaType] => application/json
                                                )

                                            [id] => badd3094-550a-11e7-7a69-8f550011882e
                                            [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
                                            [version] => 3
                                            [updated] => 2017-06-19 19:17:03
                                            [name] => Оправа Pye Forms Nectarine (Volcano)
                                            [externalCode] => bJnbKT6Ei7Zlv6p5LBWo70
                                            [archived] => 
                                            [characteristics] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [meta] => Array
                                                                (
                                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/variant/metadata/characteristics/68f3ff21-0f7c-11e6-7a69-9711000af014
                                                                    [type] => attributemetadata
                                                                    [mediaType] => application/json
                                                                )

                                                            [id] => 68f3ff21-0f7c-11e6-7a69-9711000af014
                                                            [name] => Цвет оправы
                                                            [value] => Volcano
                                                        )

                                                )

                                            [salePrices] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [value] => 650000
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Розничная
                                                        )

                                                    [1] => Array
                                                        (
                                                            [value] => 0
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Закупочная
                                                        )

                                                    [2] => Array
                                                        (
                                                            [value] => 0
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Себестоимость
                                                        )

                                                )

                                            [barcodes] => Array
                                                (
                                                    [0] => 20012724
                                                )

                                            [product] => Array
                                                (
                                                    [meta] => Array
                                                        (
                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/product/7badb09a-550a-11e7-7a31-d0fd0023b82e
                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/product/metadata
                                                            [type] => product
                                                            [mediaType] => application/json
                                                            [uuidHref] => https://online.moysklad.ru/app/#good/edit?id=7bada42a-550a-11e7-7a31-d0fd0023b829
                                                        )

                                                )

                                        )

                                    [shipped] => 0
                                    [reserve] => 0
                                )

                            [1] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/81f4d0cd-8502-11e8-9107-50480007bbc3/positions/81f4f240-8502-11e8-9107-50480007bbca?expand=assortment
                                            [type] => customerorderposition
                                            [mediaType] => application/json
                                        )

                                    [id] => 81f4f240-8502-11e8-9107-50480007bbca
                                    [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
                                    [quantity] => 2
                                    [price] => 150000
                                    [discount] => 55
                                    [vat] => 0
                                    [assortment] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/variant/4d49688a-51eb-11e7-7a34-5acf0012dd1d
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/variant/metadata
                                                    [type] => variant
                                                    [mediaType] => application/json
                                                )

                                            [id] => 4d49688a-51eb-11e7-7a34-5acf0012dd1d
                                            [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
                                            [version] => 21
                                            [updated] => 2017-06-27 13:06:12
                                            [name] => Линза Zeiss 1.5 Sun (без коррекции) (Super bronze)
                                            [externalCode] => OdtM2cAbgxgrDLRfWge1t3
                                            [archived] => 
                                            [characteristics] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [meta] => Array
                                                                (
                                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/variant/metadata/characteristics/68f3f7c3-0f7c-11e6-7a69-9711000af013
                                                                    [type] => attributemetadata
                                                                    [mediaType] => application/json
                                                                )

                                                            [id] => 68f3f7c3-0f7c-11e6-7a69-9711000af013
                                                            [name] => Цвет линзы
                                                            [value] => Super bronze
                                                        )

                                                )

                                            [buyPrice] => Array
                                                (
                                                    [value] => 465
                                                    [currency] => Array
                                                        (
                                                            [meta] => Array
                                                                (
                                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/b8e9bbcd-6c0b-11e4-90a2-8ecb002f67a6
                                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                    [type] => currency
                                                                    [mediaType] => application/json
                                                                    [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=b8e9bbcd-6c0b-11e4-90a2-8ecb002f67a6
                                                                )

                                                        )

                                                )

                                            [salePrices] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [value] => 150000
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Розничная
                                                        )

                                                    [1] => Array
                                                        (
                                                            [value] => 0
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Закупочная
                                                        )

                                                    [2] => Array
                                                        (
                                                            [value] => 0
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Себестоимость
                                                        )

                                                )

                                            [barcodes] => Array
                                                (
                                                    [0] => 20012267
                                                )

                                            [product] => Array
                                                (
                                                    [meta] => Array
                                                        (
                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/product/ee1307e7-0ed1-11e6-7a69-93a70003f71f
                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/product/metadata
                                                            [type] => product
                                                            [mediaType] => application/json
                                                            [uuidHref] => https://online.moysklad.ru/app/#good/edit?id=ee12ff75-0ed1-11e6-7a69-93a70003f71d
                                                        )

                                                )

                                        )

                                    [shipped] => 0
                                    [reserve] => 0
                                )

                            [2] => Array
                                (
                                    [meta] => Array
                                        (
                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/81f4d0cd-8502-11e8-9107-50480007bbc3/positions/96f1b083-8502-11e8-9107-504800085fd5?expand=assortment
                                            [type] => customerorderposition
                                            [mediaType] => application/json
                                        )

                                    [id] => 96f1b083-8502-11e8-9107-504800085fd5
                                    [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
                                    [quantity] => 1
                                    [price] => 90000
                                    [discount] => 0
                                    [vat] => 0
                                    [assortment] => Array
                                        (
                                            [meta] => Array
                                                (
                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/service/1054042d-6a24-11e7-7a69-97110006dc67
                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/service/metadata
                                                    [type] => service
                                                    [mediaType] => application/json
                                                    [uuidHref] => https://online.moysklad.ru/app/#good/edit?id=1053f740-6a24-11e7-7a69-97110006dc65
                                                )

                                            [id] => 1054042d-6a24-11e7-7a69-97110006dc67
                                            [accountId] => 488efc2a-0e7b-11e2-fa66-3c4a92f3a0a7
                                            [owner] => Array
                                                (
                                                    [meta] => Array
                                                        (
                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/employee/81e985ca-bb07-11e6-7a69-9711005734a3
                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/employee/metadata
                                                            [type] => employee
                                                            [mediaType] => application/json
                                                            [uuidHref] => https://online.moysklad.ru/app/#employee/edit?id=81e985ca-bb07-11e6-7a69-9711005734a3
                                                        )

                                                )

                                            [shared] => 1
                                            [group] => Array
                                                (
                                                    [meta] => Array
                                                        (
                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/group/0225ab0d-d269-11e4-90a2-8ecb00021071
                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/group/metadata
                                                            [type] => group
                                                            [mediaType] => application/json
                                                        )

                                                )

                                            [version] => 2
                                            [updated] => 2017-09-10 16:35:21
                                            [name] => Доставка СДЭК
                                            [description] => Доставка обычная дверь-дверь по России
                                            [externalCode] => LGHg5DLVgc3cddKHfBjuC0
                                            [archived] => 
                                            [pathName] => Услуги/Доставка
                                            [productFolder] => Array
                                                (
                                                    [meta] => Array
                                                        (
                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/productfolder/53f76069-b253-11e6-7a69-8f55000fe296
                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/productfolder/metadata
                                                            [type] => productfolder
                                                            [mediaType] => application/json
                                                            [uuidHref] => https://online.moysklad.ru/app/#good/edit?id=53f76069-b253-11e6-7a69-8f55000fe296
                                                        )

                                                )

                                            [uom] => Array
                                                (
                                                    [meta] => Array
                                                        (
                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/uom/cc1ca282-82ef-4efc-9252-021bb743450b
                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/uom/metadata
                                                            [type] => uom
                                                            [mediaType] => application/json
                                                        )

                                                )

                                            [minPrice] => 0
                                            [salePrices] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [value] => 50000
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Розничная
                                                        )

                                                    [1] => Array
                                                        (
                                                            [value] => 0
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Закупочная
                                                        )

                                                    [2] => Array
                                                        (
                                                            [value] => 0
                                                            [currency] => Array
                                                                (
                                                                    [meta] => Array
                                                                        (
                                                                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                            [type] => currency
                                                                            [mediaType] => application/json
                                                                            [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                        )

                                                                )

                                                            [priceType] => Себестоимость
                                                        )

                                                )

                                            [buyPrice] => Array
                                                (
                                                    [value] => 0
                                                    [currency] => Array
                                                        (
                                                            [meta] => Array
                                                                (
                                                                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/21d4da6c-f852-4059-943c-f4a674eee494
                                                                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/currency/metadata
                                                                    [type] => currency
                                                                    [mediaType] => application/json
                                                                    [uuidHref] => https://online.moysklad.ru/app/#currency/edit?id=21d4da6c-f852-4059-943c-f4a674eee494
                                                                )

                                                        )

                                                )

                                        )

                                    [shipped] => 0
                                )

                        )

                )

            [vatEnabled] => 1
            [vatIncluded] => 1
            [vatSum] => 0
            [payedSum] => 0
            [shippedSum] => 0
            [invoicedSum] => 0
            [reservedSum] => 0
        )

)