{"id":26756,"date":"2025-01-16T14:51:10","date_gmt":"2025-01-16T14:51:10","guid":{"rendered":"https:\/\/ecommerce.folio3.com\/blog\/?p=26756"},"modified":"2025-01-16T15:01:44","modified_gmt":"2025-01-16T15:01:44","slug":"bigcommerce-announces-changes-to-v2-orders-api-consignment-response","status":"publish","type":"post","link":"https:\/\/ecommerce.folio3.com\/blog\/bigcommerce-announces-changes-to-v2-orders-api-consignment-response\/","title":{"rendered":"BigCommerce Announces Changes to v2 Orders API Consignment Response"},"content":{"rendered":"<h2><span style=\"font-weight: 400;\">Attention BigCommerce Developers!<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Change is coming to the v2 Orders API, and it\u2019s one you can\u2019t afford to overlook.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Imagine your integrations breaking overnight simply because they\u2019re not updated to match the new structure. That\u2019s exactly what could happen if you rely on consignments or consignments.line_items and don\u2019t act before August 17, 2025!<\/span><\/p>\n<p><span style=\"font-weight: 400;\">BigCommerce has announced a significant update to the <\/span><b>v2 Orders API<\/b><span style=\"font-weight: 400;\">, set to take effect on <\/span><b>August 17, 2025<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This change introduces a new structure for side-loadable consignment resources, transitioning from an array format to an object format.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Developers using <\/span><span style=\"font-weight: 400;\">consignments<\/span><span style=\"font-weight: 400;\"> or <\/span><span style=\"font-weight: 400;\">consignments.line_items<\/span><span style=\"font-weight: 400;\"> in their API integrations should prepare for this update to avoid disruptions.<\/span><\/p>\n<p style=\"text-align: center;\"><strong>Read Also:<\/strong> <a href=\"https:\/\/ecommerce.folio3.com\/blog\/bigcommerce-presents-the-next-big-thing-experience-commerce-without-compromise\/\">BigCommerce Presents The Next Big Thing \u2013 Experience Commerce Without Compromise<\/a><\/p>\n<h2><span style=\"font-weight: 400;\">What Is Changing?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Currently, the API returns <\/span><span style=\"font-weight: 400;\">consignments<\/span><span style=\"font-weight: 400;\"> as an <\/span><b>array<\/b><span style=\"font-weight: 400;\"> when requests include <\/span><span style=\"font-weight: 400;\">include=consignments<\/span><span style=\"font-weight: 400;\"> or <\/span><span style=\"font-weight: 400;\">include=consignments.line_items<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Current Response Format:<\/b><\/p>\n<pre><span style=\"font-weight: 400;\">{<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\"consignments\": [<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0{<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"pickups\": [...],<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"shipping\": [...],<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"downloads\": [...],<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"email\": {...}<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0}<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0]<\/span>\r\n\r\n<span style=\"font-weight: 400;\">}<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Starting August 17, 2025, <\/span><span style=\"font-weight: 400;\">consignments<\/span><span style=\"font-weight: 400;\"> will instead be returned as an <\/span><b>object<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">New Response Format:<\/span><\/h2>\n<pre><span style=\"font-weight: 400;\">{<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\"consignments\": {<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\"pickups\": [...],<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\"shipping\": [...],<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\"downloads\": [...],<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\"email\": {...}<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0}<\/span>\r\n\r\n<span style=\"font-weight: 400;\">}<\/span><\/pre>\n<h2><span style=\"font-weight: 400;\">Impact on Developers<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If your integration assumes <\/span><span style=\"font-weight: 400;\">consignments<\/span><span style=\"font-weight: 400;\"> is an array, this change will break your functionality. Developers must update their logic and mappings to handle the new object-based structure to ensure seamless operation after the update.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Reasons for the Update<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">BigCommerce is making this change as part of its ongoing efforts to improve API consistency and usability. Transitioning to an object-based structure simplifies integration processes and provides developers with a predictable data format.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">How to Prepare<\/span><\/h2>\n<h3><span style=\"font-weight: 400;\">1. Review Your Code<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/h3>\n<ul>\n<li><span style=\"font-weight: 400;\">Check your API integrations for any use of <\/span><span style=\"font-weight: 400;\">include=consignments<\/span><span style=\"font-weight: 400;\"> or <\/span><span style=\"font-weight: 400;\">include=consignments.line_items<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Update your logic to accommodate the new object-based structure.<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-weight: 400;\">2. Test the New Structure Early<\/span><\/h3>\n<ul>\n<li><span style=\"font-weight: 400;\"><span style=\"font-size: 16px;\">To test your integration before the deadline, include the following flag in your requests: <\/span><\/span><span style=\"font-weight: 400; font-size: 16px;\">consignment_structure=object<\/span><\/li>\n<li><span style=\"font-weight: 400;\">This allows you to validate your integration with the updated response.<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-weight: 400;\">3. Consult Documentation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/h3>\n<ul>\n<li><span style=\"font-weight: 400;\">Detailed technical specifications and examples are available in the <\/span><b>BigCommerce Developer Documentation<\/b><span style=\"font-weight: 400;\"> to guide you through the transition.<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400;\">Supporting Both Approaches for Now<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">BigCommerce has confirmed that for the time being, both the legacy array format and the new object format will be supported. However, after the deadline, only the updated structure will be available.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Take Action Now<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">To ensure uninterrupted performance, BigCommerce strongly recommends developers review and update their integrations well before the August 2025 deadline.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Early testing using the new object-based response structure will be critical to identify and resolve potential issues proactively.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">At Folio3, we specialize in smooth BigCommerce integrations and API updates. Our expert team is ready to help you adapt to these changes and ensure your systems remain optimized.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For technical guidance or support, connect with the BigCommerce Developer Support Team or reach out to Folio3 for customized solutions.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Stay prepared, update your integrations, and use this change to make your workflows more efficient. Let\u2019s work together to build better solutions.<\/span><\/p>\n<p style=\"text-align: center;\"><strong>Read Also:<\/strong> <a href=\"https:\/\/ecommerce.folio3.com\/blog\/bigcommerce-holdings-inc-bigc-stock-price-performance\/\" target=\"_blank\" rel=\"noopener\">BigCommerce Holdings Inc (BIGC) Stock Price Performance<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Attention BigCommerce Developers! Change is coming to the v2 Orders API, and it\u2019s one you can\u2019t afford to overlook.\u00a0 Imagine your integrations breaking overnight simply because they\u2019re not updated to match the new structure. That\u2019s exactly what could happen if you rely on consignments or consignments.line_items and don\u2019t act before August 17, 2025! BigCommerce has<\/p>\n","protected":false},"author":50,"featured_media":26757,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[28],"tags":[105],"class_list":{"0":"post-26756","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-bigcommerce","8":"tag-bigcommerce"},"acf":[],"featured_image_data":{"src":"https:\/\/ecommerce.folio3.com\/blog\/wp-content\/uploads\/2025\/01\/Blue-White-Modern-Marketing-Strategy-Blog-Banner-2.jpg","alt":"bigcommerce","caption":""},"_links":{"self":[{"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/posts\/26756"}],"collection":[{"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/comments?post=26756"}],"version-history":[{"count":0,"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/posts\/26756\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/media\/26757"}],"wp:attachment":[{"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/media?parent=26756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/categories?post=26756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecommerce.folio3.com\/blog\/wp-json\/wp\/v2\/tags?post=26756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}