{"section":"announcements","requestedLocale":"en","requestedSlug":"2019-04-08-new-returned-object-in-api-get-order-itemmetadata","locale":"en","slug":"2019-04-08-new-returned-object-in-api-get-order-itemmetadata","path":"docs/en/announcements/2019/april/2019-04-08-new-returned-object-in-api-get-order-itemmetadata.md","branch":"main","content":"As of May 10, 2019, the request JSON will return a new object called itemMetadata.\n\nThis object will be responsible for delivering the assembly options variables linked to a SKU. This scenario is now specific to stores that use the assembly options function. In the future it will house the information attached to a SKU.\n\nExample of Json with assembly options:\n``` \n\"orderId\": \"922480366938-01\",\n    \"sequence\": \"500367\",\n    \"marketplaceOrderId\": \"\",\n    \"marketplaceServicesEndpoint\": \"http://oms.vtexinternal.com.br/api/oms?an=partnerslatam\",\n    \"sellerOrderId\": \"00-922480366938-01\",\n    \"origin\": \"Marketplace\",\n    \"affiliateId\": \"\",\n    \"salesChannel\": \"1\",\n    \"merchantName\": null,\n    \"status\": \"canceled\",\n    \"statusDescription\": \"Cancelado\",\n    \"value\": 11000000,\n    \"creationDate\": \"2019-04-04T16:06:37.4898827+00:00\",\n    \"lastChange\": \"2019-04-04T16:08:51.0329191+00:00\",\n    \"orderGroup\": \"922480366938\",\n    \"totals\": [ ],\n    \"items\": [ ],\n    \"marketplaceItems\": [ ],\n    \"clientProfileData\": { },\n    \"giftRegistryData\": null,\n    \"marketingData\": null,\n    \"ratesAndBenefitsData\": { },\n    \"shippingData\": { },\n    \"paymentData\": { },\n    \"packageAttachment\": { },\n    \"sellers\": [ ],\n    \"callCenterOperatorData\": null,\n    \"followUpEmail\": \"30715524e1464d1fb9d43a0e303fa332@ct.vtex.com.br\",\n    \"lastMessage\": null,\n    \"hostname\": \"partnerslatam\",\n    \"invoiceData\": null,\n    \"changesAttachment\": null,\n    \"openTextField\": null,\n    \"roundingError\": 0,\n    \"orderFormId\": \"fd5936d662e94b9cafb63a1ff8d92dd3\",\n    \"commercialConditionData\": null,\n    \"isCompleted\": true,\n    \"customData\": null,\n    \"storePreferencesData\": { },\n    \"allowCancellation\": false,\n    \"allowEdition\": false,\n    \"isCheckedIn\": false,\n    \"marketplace\": {},\n    \"authorizedDate\": null,\n    \"invoicedDate\": null,\n    \"itemMetadata\": {\n        \"Items\": [\n            {\n                \"Id\": \"4\",\n                \"Seller\": \"1\",\n                \"Name\": \"CAFE ORGANICO\",\n                \"SkuName\": \"CAFE ORGANICO\",\n                \"ProductId\": \"2\",\n                \"RefId\": null,\n                \"Ean\": \"CAFE4\",\n                \"ImageUrl\": \"http://partnerslatam.vteximg.com.br/arquivos/ids/155710-300-300/Juan-paquete-2.jpg?v=636567404918200000\",\n                \"DetailUrl\": \"/cafe-organico/p\",\n                \"AssemblyOptions\": []\n            }\n        ]\n    },\n    \"cancelReason\": \"The customer bought the wrong product size\n  ```\n## Main Advantages \nFor the stores that have the function of assembly options can get them through the get order inside the object Itemmetadata, we can thus handle the organized data within that array.\n\n## What you need to do\nReviewing integrations using the Get Order APIs is critical.\nERPs that flow as a parse of the data should review if the delivery of this new field will not cause inconveniences, but we emphasize that only the stores that use the Assembly Options received the data at the moment.\n\nThose who are not prepared to receive the new answer need to be adjusted before April 30, 2019."}