stdClass Object
(
    [meta] => stdClass Object
        (
            [href] => https://online.moysklad.ru/api/remap/1.1/entity/purchaseorder/4c9dd6c3-f574-11e9-0a80-030c0035da46
            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/purchaseorder/metadata
            [type] => purchaseorder
            [mediaType] => application/json
            [uuidHref] => https://online.moysklad.ru/app/#purchaseorder/edit?id=4c9dd6c3-f574-11e9-0a80-030c0035da46
        )

    [id] => 4c9dd6c3-f574-11e9-0a80-030c0035da46
    [accountId] => fa060d7b-e0eb-11e7-7a69-971100002be4
    [owner] => stdClass Object
        (
            [meta] => stdClass Object
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/employee/894b5b34-17e9-11e8-9ff4-34e80017428f
                    [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=894b5b34-17e9-11e8-9ff4-34e80017428f
                )

        )

    [shared] => 
    [group] => stdClass Object
        (
            [meta] => stdClass Object
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/group/fa062e23-e0eb-11e7-7a69-971100002be5
                    [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/group/metadata
                    [type] => group
                    [mediaType] => application/json
                )

        )

    [version] => 1
    [updated] => 2019-11-22 12:57:35
    [name] => 01030
    [externalCode] => jS1ubiiTjA7qMfT2zWaJk2
    [moment] => 2019-10-23 11:59:00
    [applicable] => 1
    [rate] => stdClass Object
        (
            [currency] => stdClass Object
                (
                    [meta] => stdClass Object
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/fa1d7741-e0eb-11e7-7a31-d0fd00108625
                            [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=fa1d7741-e0eb-11e7-7a31-d0fd00108625
                        )

                )

        )

    [sum] => 1626900
    [store] => stdClass Object
        (
            [meta] => stdClass Object
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/store/9bbd4211-9da0-11e9-9107-50480014d61a
                    [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=9bbd4211-9da0-11e9-9107-50480014d61a
                )

        )

    [agent] => stdClass Object
        (
            [meta] => stdClass Object
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/fa1d69f9-e0eb-11e7-7a31-d0fd00108621
                    [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=fa1d69f9-e0eb-11e7-7a31-d0fd00108621
                )

        )

    [organization] => stdClass Object
        (
            [meta] => stdClass Object
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/fa1c9ee1-e0eb-11e7-7a31-d0fd0010861e
                    [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=fa1c9ee1-e0eb-11e7-7a31-d0fd0010861e
                )

        )

    [organizationAccount] => stdClass Object
        (
            [meta] => stdClass Object
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/fa1c9ee1-e0eb-11e7-7a31-d0fd0010861e/accounts/fa1ca1df-e0eb-11e7-7a31-d0fd0010861f
                    [type] => account
                    [mediaType] => application/json
                )

        )

    [documents] => stdClass Object
        (
            [meta] => stdClass Object
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/purchaseorder/4c9dd6c3-f574-11e9-0a80-030c0035da46/documents
                    [mediaType] => application/json
                    [size] => 0
                    [limit] => 100
                    [offset] => 0
                )

        )

    [created] => 2019-10-23 12:05:46
    [positions] => stdClass Object
        (
            [meta] => stdClass Object
                (
                    [href] => https://online.moysklad.ru/api/remap/1.1/entity/purchaseorder/4c9dd6c3-f574-11e9-0a80-030c0035da46/positions
                    [type] => purchaseorderposition
                    [mediaType] => application/json
                    [size] => 14
                    [limit] => 100
                    [offset] => 0
                )

        )

    [vatEnabled] => 1
    [vatIncluded] => 1
    [vatSum] => 0
    [payedSum] => 1626900
    [shippedSum] => 1626900
    [invoicedSum] => 0
    [waitSum] => 0
    [supplies] => Array
        (
            [0] => stdClass Object
                (
                    [meta] => stdClass Object
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/supply/4ba5ed9c-f57a-11e9-0a80-030d00345acd
                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/supply/metadata
                            [type] => supply
                            [mediaType] => application/json
                            [uuidHref] => https://online.moysklad.ru/app/#supply/edit?id=4ba5ed9c-f57a-11e9-0a80-030d00345acd
                        )

                )

        )

    [payments] => Array
        (
            [0] => stdClass Object
                (
                    [meta] => stdClass Object
                        (
                            [href] => https://online.moysklad.ru/api/remap/1.1/entity/cashout/b6de40b2-f63b-11e9-0a80-03200004bcb4
                            [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/cashout/metadata
                            [type] => cashout
                            [mediaType] => application/json
                            [uuidHref] => https://online.moysklad.ru/app/#cashout/edit?id=b6de40b2-f63b-11e9-0a80-03200004bcb4
                        )

                    [linkedSum] => 1626900
                )

        )

)
https://online.moysklad.ru/api/remap/1.1/entity/purchaseorder/4c9dd6c3-f574-11e9-0a80-030c0035da46/positions
{"assortment":{"meta":{"href":"https:\/\/online.moysklad.ru\/api\/remap\/1.1\/entity\/variant\/fe661bbd-85db-11e8-9ff4-34e8000a55d4","metadataHref":"https:\/\/online.moysklad.ru\/api\/remap\/1.1\/entity\/variant\/metadata","type":"variant","mediaType":"application\/json","uuidHref":"https:\/\/online.moysklad.ru\/app\/#feature\/edit?id=fe66145c-85db-11e8-9ff4-34e8000a55d2"}},"quantity":5}