stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/df69e202-4536-11e7-7a69-93a7001a3256 [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=df69e202-4536-11e7-7a69-93a7001a3256 ) [id] => df69e202-4536-11e7-7a69-93a7001a3256 [accountId] => 70bd1423-b7cd-11e6-7a69-97110000077b [shared] => [group] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/group/70bd4c07-b7cd-11e6-7a69-97110000077c [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/group/metadata [type] => group [mediaType] => application/json ) ) [version] => 16 [updated] => 2017-06-01 19:06:42 [name] => fl_27121 [description] => 01 06 [code] => 27121 [externalCode] => 27121 [moment] => 2017-05-30 15:49:44 [applicable] => 1 [rate] => stdClass Object ( [currency] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/currency/70ea459a-b7cd-11e6-7a31-d0fd0015e06c [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=70ea459a-b7cd-11e6-7a31-d0fd0015e06c ) ) ) [sum] => 137500 [store] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/store/70ea39d3-b7cd-11e6-7a31-d0fd0015e067 [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=70ea39d3-b7cd-11e6-7a31-d0fd0015e067 ) ) [agent] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/counterparty/df6402cd-4536-11e7-7a69-93a7001a3251 [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=df6402cd-4536-11e7-7a69-93a7001a3251 ) ) [organization] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/48f06b58-b863-11e6-7a69-8f550019a36d [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=48f06b58-b863-11e6-7a69-8f550019a36d ) ) [organizationAccount] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/organization/48f06b58-b863-11e6-7a69-8f550019a36d/accounts/48f06ee9-b863-11e6-7a69-8f550019a36e [type] => account [mediaType] => application/json ) ) [state] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/states/55b3c209-ba27-11e6-7a69-93a700b28b03 [type] => state [mediaType] => application/json ) ) [attributes] => Array ( [0] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/attributes/ab4a5172-bd34-11e6-7a31-d0fd00111a7c [type] => attributemetadata [mediaType] => application/json ) [id] => ab4a5172-bd34-11e6-7a31-d0fd00111a7c [name] => Способ доставки [type] => customentity [value] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customentity/14da1468-bd31-11e6-7a31-d0fd000feeab/97bd7759-bd34-11e6-7a31-d0fd00111583 [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/companysettings/metadata/customEntities/14da1468-bd31-11e6-7a31-d0fd000feeab [type] => customentity [mediaType] => application/json [uuidHref] => https://online.moysklad.ru/app/#custom_14da1468-bd31-11e6-7a31-d0fd000feeab/edit?id=97bd7759-bd34-11e6-7a31-d0fd00111583 ) [name] => Самовывоз ) ) [1] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/attributes/43a821f3-bd39-11e6-7a31-d0fd00126bc8 [type] => attributemetadata [mediaType] => application/json ) [id] => 43a821f3-bd39-11e6-7a31-d0fd00126bc8 [name] => Способ оплаты [type] => customentity [value] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customentity/1ce87339-bd31-11e6-7a31-d0fd000ff019/0534ec9c-bd3c-11e6-7a31-d0fd00133d84 [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/companysettings/metadata/customEntities/1ce87339-bd31-11e6-7a31-d0fd000ff019 [type] => customentity [mediaType] => application/json [uuidHref] => https://online.moysklad.ru/app/#custom_1ce87339-bd31-11e6-7a31-d0fd000ff019/edit?id=0534ec9c-bd3c-11e6-7a31-d0fd00133d84 ) [name] => Оплата наличными при самовывозе ) ) [2] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/metadata/attributes/a4d0103e-d601-11e6-7a31-d0fd003cdba5 [type] => attributemetadata [mediaType] => application/json ) [id] => a4d0103e-d601-11e6-7a31-d0fd003cdba5 [name] => Синхронизация [type] => boolean [value] => ) ) [documents] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/df69e202-4536-11e7-7a69-93a7001a3256/documents [mediaType] => application/json [size] => 1 [limit] => 100 [offset] => 0 ) ) [created] => 2017-05-30 15:52:43 [positions] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/customerorder/df69e202-4536-11e7-7a69-93a7001a3256/positions [type] => customerorderposition [mediaType] => application/json [size] => 1 [limit] => 100 [offset] => 0 ) ) [vatEnabled] => 1 [vatIncluded] => 1 [vatSum] => 0 [payedSum] => 137500 [shippedSum] => 137500 [invoicedSum] => 0 [reservedSum] => 0 [demands] => Array ( [0] => stdClass Object ( [meta] => stdClass Object ( [href] => https://online.moysklad.ru/api/remap/1.1/entity/demand/8c42c27b-46a0-11e7-7a6c-d2a9002ce8f5 [metadataHref] => https://online.moysklad.ru/api/remap/1.1/entity/demand/metadata [type] => demand [mediaType] => application/json [uuidHref] => https://online.moysklad.ru/app/#demand/edit?id=8c42c27b-46a0-11e7-7a6c-d2a9002ce8f5 ) ) ) ) test die