Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Merge pull request #13764 from spree/fix/sdk-0-9-0
Damian Legawiec05a32326f1c8
diff --git a/docs/api-reference/store.yaml b/docs/api-reference/store.yamlindex c5c1a38eec..a017e38323 100644--- a/docs/api-reference/store.yaml+++ b/docs/api-reference/store.yaml@@ -661,16 +661,16 @@ paths:content:application/json:example:- token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6IjI4NGQ4YTMzLWFlN2UtNGRhZi04NjllLTI5NWQ2ZTYyNTEyNiIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzczMzEwNTQ4fQ.yAWJcJfwuPf2xhzYFY-VTklDlNXqpEmLu2jg7kPdMEo+ token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6IjlhYTI3NmNkLTYyYmYtNDM5ZC1hNGNlLWZkOWEzZmMzOWM0YiIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzczMzE2OTcyfQ.-jiv9QqxaOAkIm9of9pt3IXMtBBDnCHX3vr48XjHgBwuser:id: cus_UkLWZg9DAJemail: [email protected]- first_name: Rodrick- last_name: Kshlerin+ first_name: Reginald+ last_name: Wymanphone:accepts_email_marketing: false- created_at: '2026-03-12T09:15:48.006Z'- updated_at: '2026-03-12T09:15:48.006Z'+ created_at: '2026-03-12T11:02:52.408Z'+ updated_at: '2026-03-12T11:02:52.408Z'addresses: []default_billing_address:default_shipping_address:@@ -747,16 +747,16 @@ paths:content:application/json:example:- token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6IjA1NDlhYTcyLWFiZTMtNGEwZC05NmVmLTI4MjZhYTlhZDYwMSIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzczMzEwNTQ5fQ.A6Z_Eewbap_WUk8k_WI8oPvnu8zY7FmXlNHj2OOxJlo+ token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6ImM1YTI1NGQyLTNiNjEtNDA1ZS1hZWI5LTlmM2Y4YTgzOWExOSIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzczMzE2OTczfQ.pjMVxf_SHTDS2WL7eAhMQoAyGFV9TetQpFL0FweZENwuser:id: cus_UkLWZg9DAJemail: [email protected]- first_name: Marcel- last_name: Vandervort+ first_name: Kena+ last_name: Marksphone:accepts_email_marketing: false- created_at: '2026-03-12T09:15:49.445Z'- updated_at: '2026-03-12T09:15:49.445Z'+ created_at: '2026-03-12T11:02:53.836Z'+ updated_at: '2026-03-12T11:02:53.836Z'addresses: []default_billing_address:default_shipping_address:@@ -828,8 +828,8 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R499009231- token: 60QazEbZa7-Um7T3oyRyiA1773306950226+ number: R444676807+ token: 2IQsRMgRO83n2G7YHQxwew1773313374623email:special_instructions:currency: USD@@ -851,8 +851,8 @@ paths:display_additional_tax_total: "$0.00"total: '0.0'display_total: "$0.00"- created_at: '2026-03-12T09:15:50.227Z'- updated_at: '2026-03-12T09:15:50.227Z'+ created_at: '2026-03-12T11:02:54.625Z'+ updated_at: '2026-03-12T11:02:54.625Z'current_step: addresscompleted_steps: []requirements:@@ -868,8 +868,8 @@ paths:- step: deliveryfield: shipping_methodmessage: Select a shipping method for all shipments- order_promotions: []- line_items: []+ promotions: []+ items: []shipments: []payments: []bill_address:@@ -993,9 +993,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R626687381- token: jSwsK2nfC2wZ1TgbJhdxv7HXPUuAFU6d7tC- email: [email protected]+ number: R815446004+ token: frUZtW2DD2R64CF2ed1XC69uUNo9C7Us8LV+ email: [email protected]special_instructions:currency: USDlocale: en@@ -1016,22 +1016,22 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:15:51.312Z'- updated_at: '2026-03-12T09:15:51.371Z'+ created_at: '2026-03-12T11:02:55.627Z'+ updated_at: '2026-03-12T11:02:55.687Z'current_step: addresscompleted_steps: []requirements:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 36511- slug: product-36511+ name: Product 34547+ slug: product-34547options_text: ''price: '10.0'display_price: "$10.00"@@ -1050,23 +1050,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:15:51.345Z'- updated_at: '2026-03-12T09:15:51.345Z'+ created_at: '2026-03-12T11:02:55.662Z'+ updated_at: '2026-03-12T11:02:55.662Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H50818630911+ number: H26905428503state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:15:51.352Z'- updated_at: '2026-03-12T09:15:51.368Z'+ created_at: '2026-03-12T11:02:55.668Z'+ updated_at: '2026-03-12T11:02:55.685Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -1074,7 +1074,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_42- name: Debra Mayert+ name: Irina Kuhnaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -1233,9 +1233,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R608743303- token: VhjaK3YhvMZDCAdghEGJkm4TbQEyTC23qPz- email: [email protected]+ number: R859728395+ token: 9J3r7QQfHRG3n8aLbVjNSwF3N6c2uhB2U6u+ email: [email protected]special_instructions:currency: USDlocale: en@@ -1256,22 +1256,22 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:15:52.596Z'- updated_at: '2026-03-12T09:15:52.646Z'+ created_at: '2026-03-12T11:02:56.912Z'+ updated_at: '2026-03-12T11:02:56.960Z'current_step: addresscompleted_steps: []requirements:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 54502- slug: product-54502+ name: Product 54840+ slug: product-54840options_text: ''price: '10.0'display_price: "$10.00"@@ -1290,23 +1290,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:15:52.626Z'- updated_at: '2026-03-12T09:15:52.626Z'+ created_at: '2026-03-12T11:02:56.940Z'+ updated_at: '2026-03-12T11:02:56.940Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H62160033361+ number: H14918773498state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:15:52.631Z'- updated_at: '2026-03-12T09:15:52.643Z'+ created_at: '2026-03-12T11:02:56.945Z'+ updated_at: '2026-03-12T11:02:56.958Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -1314,7 +1314,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_50- name: Holli Wiza+ name: Alison Boyeraddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -1433,9 +1433,9 @@ paths:example:data:- id: cart_gbHJdmfrXB- number: R151314057- token: Zc4Woyn2doGc6WVfSWYm8rmiVwuiJb8LpKM- email: [email protected]+ number: R814368838+ token: 2VCTJwra1PHZDVLgNoatuq7QBf756Tti68e+ email: [email protected]special_instructions:currency: USDlocale: en@@ -1456,22 +1456,22 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:15:55.412Z'- updated_at: '2026-03-12T09:15:55.456Z'+ created_at: '2026-03-12T11:02:59.696Z'+ updated_at: '2026-03-12T11:02:59.744Z'current_step: addresscompleted_steps: []requirements:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_gbHJdmfrXBvariant_id: variant_gbHJdmfrXBquantity: 1currency: USD- name: Product 107565- slug: product-107565+ name: Product 107531+ slug: product-107531options_text: ''price: '10.0'display_price: "$10.00"@@ -1490,23 +1490,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:15:55.437Z'- updated_at: '2026-03-12T09:15:55.437Z'+ created_at: '2026-03-12T11:02:59.722Z'+ updated_at: '2026-03-12T11:02:59.722Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_gbHJdmfrXB- number: H54853402827+ number: H05290586723state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:15:55.444Z'- updated_at: '2026-03-12T09:15:55.454Z'+ created_at: '2026-03-12T11:02:59.731Z'+ updated_at: '2026-03-12T11:02:59.742Z'shipping_method:id: shpm_gbHJdmfrXBname: UPS Ground@@ -1514,7 +1514,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_66- name: Ozella McKenzie+ name: Isaias Hesseladdress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -1569,9 +1569,9 @@ paths:state_name: STATE_NAME_71payment_methods: []- id: cart_UkLWZg9DAJ- number: R916575973- token: WZuuRH9CBcvENZhDDyaBgbfBP8Vn6fXgJgV- email: [email protected]+ number: R892264243+ token: RYpjSFuiKYNrJ9rtmtauESMByXb41GN5ih2+ email: [email protected]special_instructions:currency: USDlocale: en@@ -1592,22 +1592,22 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:15:55.331Z'- updated_at: '2026-03-12T09:15:55.405Z'+ created_at: '2026-03-12T11:02:59.632Z'+ updated_at: '2026-03-12T11:02:59.690Z'current_step: addresscompleted_steps: []requirements:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 91699- slug: product-91699+ name: Product 93378+ slug: product-93378options_text: ''price: '10.0'display_price: "$10.00"@@ -1626,23 +1626,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:15:55.376Z'- updated_at: '2026-03-12T09:15:55.376Z'+ created_at: '2026-03-12T11:02:59.667Z'+ updated_at: '2026-03-12T11:02:59.667Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H15664343601+ number: H98177595730state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:15:55.385Z'- updated_at: '2026-03-12T09:15:55.402Z'+ created_at: '2026-03-12T11:02:59.673Z'+ updated_at: '2026-03-12T11:02:59.688Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -1650,7 +1650,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_66- name: Ozella McKenzie+ name: Isaias Hesseladdress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -1792,8 +1792,8 @@ paths:meta_description:meta_keywords:children_count: 1- created_at: '2026-03-12T09:15:55.915Z'- updated_at: '2026-03-12T09:15:55.963Z'+ created_at: '2026-03-12T11:03:00.192Z'+ updated_at: '2026-03-12T11:03:00.239Z'parent_id:description: ''description_html: ''@@ -1811,8 +1811,8 @@ paths:meta_description:meta_keywords:children_count: 1- created_at: '2026-03-12T09:15:55.923Z'- updated_at: '2026-03-12T09:15:55.963Z'+ created_at: '2026-03-12T11:03:00.200Z'+ updated_at: '2026-03-12T11:03:00.239Z'parent_id: ctg_UkLWZg9DAJdescription: ''description_html: ''@@ -1830,8 +1830,8 @@ paths:meta_description:meta_keywords:children_count: 0- created_at: '2026-03-12T09:15:55.932Z'- updated_at: '2026-03-12T09:15:55.937Z'+ created_at: '2026-03-12T11:03:00.208Z'+ updated_at: '2026-03-12T11:03:00.213Z'parent_id: ctg_gbHJdmfrXBdescription: ''description_html: ''@@ -1932,8 +1932,8 @@ paths:meta_description:meta_keywords:children_count: 1- created_at: '2026-03-12T09:15:56.391Z'- updated_at: '2026-03-12T09:15:56.429Z'+ created_at: '2026-03-12T11:03:00.643Z'+ updated_at: '2026-03-12T11:03:00.679Z'parent_id: ctg_UkLWZg9DAJdescription: ''description_html: ''@@ -2060,17 +2060,17 @@ paths:example:data:- id: prod_UkLWZg9DAJ- name: Product 203371+ name: Product 207555description: |-- Odio excepturi autem repellendus a. Pariatur architecto repudiandae reiciendis corrupti nobis. Quas doloremque enim soluta id voluptates.- Optio officiis totam quae id. Enim numquam adipisci alias voluptas sequi distinctio impedit. Quis aspernatur deserunt esse veniam eos enim aut. Distinctio dolores neque quia atque. Sed laboriosam omnis ullam dicta voluptates.- slug: product-203371+ Eaque est a odio at ut. Tenetur assumenda quos accusantium a autem. Pariatur hic nobis quae amet voluptas.+ Suscipit sequi alias velit nobis sapiente ipsam. Quam perferendis beatae autem praesentium et. Tempora dolores quia blanditiis ut assumenda. Mollitia enim dolor necessitatibus a.+ slug: product-207555meta_description:meta_keywords:variant_count: 0- available_on: '2025-03-12T09:15:56.899Z'- created_at: '2026-03-12T09:15:56.914Z'- updated_at: '2026-03-12T09:15:56.928Z'+ available_on: '2025-03-12T11:03:01.155Z'+ created_at: '2026-03-12T11:03:01.168Z'+ updated_at: '2026-03-12T11:03:01.180Z'purchasable: truein_stock: falsebackorderable: true@@ -2193,9 +2193,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R232840484- token: M2ZjMQxhkpPrJWKqZtXX5t86Woa2Au7PZMS- email: [email protected]+ number: R124919587+ token: CcPjjKoNocxpAkTCuuras5KqfDEabpmxHsA+ email: [email protected]special_instructions: Leave at doorcurrency: USDlocale: en@@ -2216,22 +2216,22 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:15:57.863Z'- updated_at: '2026-03-12T09:15:57.934Z'+ created_at: '2026-03-12T11:03:02.103Z'+ updated_at: '2026-03-12T11:03:02.169Z'current_step: addresscompleted_steps: []requirements:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 235056- slug: product-235056+ name: Product 232670+ slug: product-232670options_text: ''price: '10.0'display_price: "$10.00"@@ -2250,23 +2250,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:15:57.893Z'- updated_at: '2026-03-12T09:15:57.893Z'+ created_at: '2026-03-12T11:03:02.131Z'+ updated_at: '2026-03-12T11:03:02.131Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H71035350624+ number: H83568061706state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:15:57.898Z'- updated_at: '2026-03-12T09:15:57.913Z'+ created_at: '2026-03-12T11:03:02.136Z'+ updated_at: '2026-03-12T11:03:02.149Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -2274,7 +2274,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_86- name: Jeanelle Feest+ name: See Kirlinaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -2444,8 +2444,8 @@ paths:application/json:example:id: or_gbHJdmfrXB- number: R880956650- email: [email protected]+ number: R100780089+ email: [email protected]special_instructions:currency: USDlocale: en@@ -2468,17 +2468,17 @@ paths:display_additional_tax_total: "$0.00"total: '29.99'display_total: "$29.99"- completed_at: '2026-03-12T09:15:58.772Z'- created_at: '2026-03-12T09:15:58.554Z'- updated_at: '2026-03-12T09:15:58.772Z'- order_promotions: []- line_items:+ completed_at: '2026-03-12T11:03:02.983Z'+ created_at: '2026-03-12T11:03:02.773Z'+ updated_at: '2026-03-12T11:03:02.983Z'+ promotions: []+ items:- id: li_gbHJdmfrXBvariant_id: variant_gbHJdmfrXBquantity: 1currency: USD- name: Product 251236- slug: product-251236+ name: Product 251301+ slug: product-251301options_text: ''price: '19.99'display_price: "$19.99"@@ -2497,23 +2497,23 @@ paths:discounted_amount: '19.99'display_discounted_amount: "$19.99"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:15:58.580Z'- updated_at: '2026-03-12T09:15:58.628Z'+ created_at: '2026-03-12T11:03:02.799Z'+ updated_at: '2026-03-12T11:03:02.844Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_EfhxLZ9ck8- number: H17784765265+ number: H33943132790state: pendingtracking:tracking_url:cost: '10.0'display_cost: "$10.00"shipped_at:- created_at: '2026-03-12T09:15:58.647Z'- updated_at: '2026-03-12T09:15:58.766Z'+ created_at: '2026-03-12T11:03:02.862Z'+ updated_at: '2026-03-12T11:03:02.976Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -2521,7 +2521,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_90- name: Rosaura Leuschke+ name: Beryl Croninaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -2554,11 +2554,11 @@ paths:payment_method_id: pm_UkLWZg9DAJstate: completedresponse_code: '12345'- number: PL2AWR0X+ number: PYQ1LRYRamount: '29.99'display_amount: "$29.99"- created_at: '2026-03-12T09:15:58.723Z'- updated_at: '2026-03-12T09:15:58.750Z'+ created_at: '2026-03-12T11:03:02.938Z'+ updated_at: '2026-03-12T11:03:02.963Z'source_type: credit_cardsource_id: card_UkLWZg9DAJsource:@@ -2828,9 +2828,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R171344928- token: dhxagu7sCqDXm3rg37EejP61rYyrB2nEKx1- email: [email protected]+ number: R335281823+ token: Rz7WFUsVFaJZyJ5nN6quMc22YPebxccFCuR+ email: [email protected]special_instructions:currency: USDlocale: en@@ -2851,22 +2851,19 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:16:00.964Z'- updated_at: '2026-03-12T09:16:01.117Z'+ created_at: '2026-03-12T11:03:05.129Z'+ updated_at: '2026-03-12T11:03:05.228Z'current_step: addresscompleted_steps: []- requirements:- - step: payment- field: payment- message: Add a payment method- order_promotions: []- line_items:+ requirements: []+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 285504- slug: product-285504+ name: Product 289663+ slug: product-289663options_text: ''price: '10.0'display_price: "$10.00"@@ -2885,23 +2882,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:01.014Z'- updated_at: '2026-03-12T09:16:01.014Z'+ created_at: '2026-03-12T11:03:05.155Z'+ updated_at: '2026-03-12T11:03:05.155Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H48407680008+ number: H16772496724state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:01.021Z'- updated_at: '2026-03-12T09:16:01.036Z'+ created_at: '2026-03-12T11:03:05.161Z'+ updated_at: '2026-03-12T11:03:05.174Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -2909,7 +2906,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_104- name: Valrie McKenzie+ name: Wenona Binsaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -2931,12 +2928,12 @@ paths:- id: py_UkLWZg9DAJpayment_method_id: pm_UkLWZg9DAJstate: checkout- response_code: 1-SC-20260312091601109175- number: PQ587MJD+ response_code: 1-SC-20260312110305221962+ number: P2QKMSSDamount: '50.0'display_amount: "$50.00"- created_at: '2026-03-12T09:16:01.110Z'- updated_at: '2026-03-12T09:16:01.110Z'+ created_at: '2026-03-12T11:03:05.223Z'+ updated_at: '2026-03-12T11:03:05.223Z'source_type: store_creditsource_id: credit_UkLWZg9DAJsource:@@ -3073,9 +3070,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R421628859- token: Peuh7kyRkdR3aZhAeJw8DVfXheHQUjdScnt- email: [email protected]+ number: R968960758+ token: WGRRA4PHnCcd9T1WakVGN3pYUR6g6Fv6A2Z+ email: [email protected]special_instructions:currency: USDlocale: en@@ -3096,22 +3093,22 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:16:02.304Z'- updated_at: '2026-03-12T09:16:02.418Z'+ created_at: '2026-03-12T11:03:06.388Z'+ updated_at: '2026-03-12T11:03:06.496Z'current_step: addresscompleted_steps: []requirements:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 307733- slug: product-307733+ name: Product 301309+ slug: product-301309options_text: ''price: '10.0'display_price: "$10.00"@@ -3130,23 +3127,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:02.337Z'- updated_at: '2026-03-12T09:16:02.414Z'+ created_at: '2026-03-12T11:03:06.416Z'+ updated_at: '2026-03-12T11:03:06.490Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H26651858682+ number: H93628650111state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:02.343Z'- updated_at: '2026-03-12T09:16:02.358Z'+ created_at: '2026-03-12T11:03:06.421Z'+ updated_at: '2026-03-12T11:03:06.433Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -3154,7 +3151,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_112- name: Felicitas Swaniawski+ name: Fanny Turcotteaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -3546,8 +3543,8 @@ paths:example:data:- id: or_UkLWZg9DAJ- number: R615290401- email: [email protected]+ number: R430787068+ email: [email protected]special_instructions:currency: USDlocale: en@@ -3570,17 +3567,17 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- completed_at: '2026-03-12T09:16:07.134Z'- created_at: '2026-03-12T09:16:07.080Z'- updated_at: '2026-03-12T09:16:07.134Z'- order_promotions: []- line_items:+ completed_at: '2026-03-12T11:03:11.132Z'+ created_at: '2026-03-12T11:03:11.082Z'+ updated_at: '2026-03-12T11:03:11.132Z'+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 328748- slug: product-328748+ name: Product 324126+ slug: product-324126options_text: ''price: '10.0'display_price: "$10.00"@@ -3599,23 +3596,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:07.111Z'- updated_at: '2026-03-12T09:16:07.111Z'+ created_at: '2026-03-12T11:03:11.113Z'+ updated_at: '2026-03-12T11:03:11.113Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H72164232623+ number: H87399186637state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:07.116Z'- updated_at: '2026-03-12T09:16:07.132Z'+ created_at: '2026-03-12T11:03:11.117Z'+ updated_at: '2026-03-12T11:03:11.130Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -3623,7 +3620,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_132- name: Jerrica Mueller+ name: Sherell Hammesaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -3743,8 +3740,8 @@ paths:application/json:example:id: or_UkLWZg9DAJ- number: R866772594- email: [email protected]+ number: R521038493+ email: [email protected]special_instructions:currency: USDlocale: en@@ -3767,17 +3764,17 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- completed_at: '2026-03-12T09:16:07.805Z'- created_at: '2026-03-12T09:16:07.758Z'- updated_at: '2026-03-12T09:16:07.805Z'- order_promotions: []- line_items:+ completed_at: '2026-03-12T11:03:11.810Z'+ created_at: '2026-03-12T11:03:11.757Z'+ updated_at: '2026-03-12T11:03:11.810Z'+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 346963- slug: product-346963+ name: Product 341335+ slug: product-341335options_text: ''price: '10.0'display_price: "$10.00"@@ -3796,23 +3793,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:07.786Z'- updated_at: '2026-03-12T09:16:07.786Z'+ created_at: '2026-03-12T11:03:11.789Z'+ updated_at: '2026-03-12T11:03:11.789Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H24666627910+ number: H80054789977state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:07.790Z'- updated_at: '2026-03-12T09:16:07.803Z'+ created_at: '2026-03-12T11:03:11.795Z'+ updated_at: '2026-03-12T11:03:11.808Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -3820,7 +3817,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_138- name: Jani Smitham+ name: Zoraida Abshireaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -3928,7 +3925,7 @@ paths:content:application/json:example:- token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6ImM4MGRjYWRmLWExOGQtNDMwYS04ZDVhLTM2ZDU4Zjg5M2E1MiIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzczMzEwNTY5fQ.fI9N_jETSyJCtggRZdqgGEN02rmOeMzemBNPghH6sq0+ token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6ImI4ZDdhYmFkLTg1ZTUtNGI4My1hMmUyLWQ4NTMxYTU1OGM4MyIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzczMzE2OTkzfQ.euOfxsfqQPaintG2O49t4gOuHuTPRcVROHNE27iwTmQuser:id: cus_UkLWZg9DAJemail: [email protected]@@ -3936,8 +3933,8 @@ paths:last_name: Doephone: "+1234567890"accepts_email_marketing: true- created_at: '2026-03-12T09:16:09.013Z'- updated_at: '2026-03-12T09:16:09.013Z'+ created_at: '2026-03-12T11:03:13.001Z'+ updated_at: '2026-03-12T11:03:13.001Z'addresses: []default_billing_address:default_shipping_address:@@ -4041,13 +4038,13 @@ paths:application/json:example:id: cus_UkLWZg9DAJ- email: [email protected]- first_name: Louvenia- last_name: Crist+ email: [email protected]+ first_name: Bailey+ last_name: Moorephone: 555-555-0199accepts_email_marketing: false- created_at: '2026-03-12T09:16:09.558Z'- updated_at: '2026-03-12T09:16:09.824Z'+ created_at: '2026-03-12T11:03:13.554Z'+ updated_at: '2026-03-12T11:03:13.820Z'addresses:- id: addr_gbHJdmfrXBfirstname: John@@ -4171,13 +4168,13 @@ paths:application/json:example:id: cus_UkLWZg9DAJ- email: [email protected]+ email: [email protected]first_name: Updatedlast_name: Namephone: 555-555-0199accepts_email_marketing: false- created_at: '2026-03-12T09:16:10.125Z'- updated_at: '2026-03-12T09:16:10.403Z'+ created_at: '2026-03-12T11:03:14.111Z'+ updated_at: '2026-03-12T11:03:14.388Z'addresses:- id: addr_gbHJdmfrXBfirstname: John@@ -4401,7 +4398,7 @@ paths:example:data:- id: gc_UkLWZg9DAJ- code: 3E4DD37149EC053B+ code: E27753D43EB9B7E2state: activecurrency: USDamount: '10.0'@@ -4415,8 +4412,8 @@ paths:redeemed_at:expired: falseactive: true- created_at: '2026-03-12T09:16:13.488Z'- updated_at: '2026-03-12T09:16:13.488Z'+ created_at: '2026-03-12T11:03:17.415Z'+ updated_at: '2026-03-12T11:03:17.415Z'meta:page: 1limit: 25@@ -4499,7 +4496,7 @@ paths:application/json:example:id: gc_UkLWZg9DAJ- code: 37DE86DA57381B3C+ code: '081CBB2948E5FF8C'state: activecurrency: USDamount: '10.0'@@ -4513,8 +4510,8 @@ paths:redeemed_at:expired: falseactive: true- created_at: '2026-03-12T09:16:14.590Z'- updated_at: '2026-03-12T09:16:14.590Z'+ created_at: '2026-03-12T11:03:18.499Z'+ updated_at: '2026-03-12T11:03:18.499Z'schema:"$ref": "#/components/schemas/GiftCard"'404':@@ -4585,9 +4582,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R941027820- token: 4dfyuRuDvjBw6BUVVdPU9YngkPU37GmiZ4w- email: [email protected]+ number: R812647036+ token: LrfNbFy45m7JE9oZWj2XD3MtWAXT1U6UJsD+ email: [email protected]special_instructions:currency: USDlocale: en@@ -4608,8 +4605,8 @@ paths:display_additional_tax_total: "$0.00"total: '29.99'display_total: "$29.99"- created_at: '2026-03-12T09:16:16.415Z'- updated_at: '2026-03-12T09:16:16.523Z'+ created_at: '2026-03-12T11:03:20.231Z'+ updated_at: '2026-03-12T11:03:20.374Z'current_step: addresscompleted_steps: []requirements:@@ -4622,14 +4619,14 @@ paths:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 442792- slug: product-442792+ name: Product 445365+ slug: product-445365options_text: ''price: '10.0'display_price: "$10.00"@@ -4648,8 +4645,8 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:16.444Z'- updated_at: '2026-03-12T09:16:16.444Z'+ created_at: '2026-03-12T11:03:20.269Z'+ updated_at: '2026-03-12T11:03:20.269Z'compare_at_amount:thumbnail_url:option_values: []@@ -4658,8 +4655,8 @@ paths:variant_id: variant_gbHJdmfrXBquantity: 1currency: USD- name: Product 453921- slug: product-453921+ name: Product 458064+ slug: product-458064options_text: ''price: '19.99'display_price: "$19.99"@@ -4678,8 +4675,8 @@ paths:discounted_amount: '19.99'display_discounted_amount: "$19.99"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:16.497Z'- updated_at: '2026-03-12T09:16:16.497Z'+ created_at: '2026-03-12T11:03:20.319Z'+ updated_at: '2026-03-12T11:03:20.319Z'compare_at_amount:thumbnail_url:option_values: []@@ -4793,9 +4790,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R691705517- token: EWR4oZxAiBMjzzr4YnL3GkjmQwhSuL983MM- email: [email protected]+ number: R048104757+ token: HcCquBCDtvPmM7GiNr578fEsaU1o6q5tV2Q+ email: [email protected]special_instructions:currency: USDlocale: en@@ -4816,8 +4813,8 @@ paths:display_additional_tax_total: "$0.00"total: '0.0'display_total: "$0.00"- created_at: '2026-03-12T09:16:18.286Z'- updated_at: '2026-03-12T09:16:18.316Z'+ created_at: '2026-03-12T11:03:22.117Z'+ updated_at: '2026-03-12T11:03:22.145Z'current_step: addresscompleted_steps: []requirements:@@ -4827,14 +4824,14 @@ paths:- step: deliveryfield: shipping_methodmessage: Select a shipping method for all shipments- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 481521- slug: product-481521+ name: Product 484149+ slug: product-484149options_text: ''price: '10.0'display_price: "$10.00"@@ -4853,8 +4850,8 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:18.315Z'- updated_at: '2026-03-12T09:16:18.348Z'+ created_at: '2026-03-12T11:03:22.145Z'+ updated_at: '2026-03-12T11:03:22.161Z'compare_at_amount:thumbnail_url:option_values: []@@ -4948,9 +4945,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R844378796- token: mPfnnKWeKzSTHgGmKMazDuWc3Wx9WCWpp9G- email: [email protected]+ number: R610522316+ token: 3ptdcsZnLpYqCffEYFphF6geVxHGG2iXGqe+ email: [email protected]special_instructions:currency: USDlocale: en@@ -4971,8 +4968,8 @@ paths:display_additional_tax_total: "$0.00"total: '0.0'display_total: "$0.00"- created_at: '2026-03-12T09:16:18.912Z'- updated_at: '2026-03-12T09:16:19.017Z'+ created_at: '2026-03-12T11:03:22.703Z'+ updated_at: '2026-03-12T11:03:22.751Z'current_step: addresscompleted_steps: []requirements:@@ -4985,8 +4982,8 @@ paths:- step: deliveryfield: shipping_methodmessage: Select a shipping method for all shipments- order_promotions: []- line_items: []+ promotions: []+ items: []shipments: []payments: []bill_address:@@ -5526,7 +5523,7 @@ paths:application/json:example:id: or_UkLWZg9DAJ- number: R629853947+ number: R902483276email: [email protected]special_instructions:currency: USD@@ -5550,17 +5547,17 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- completed_at: '2026-03-12T09:16:20.797Z'- created_at: '2026-03-12T09:16:20.749Z'- updated_at: '2026-03-12T09:16:20.797Z'- order_promotions: []- line_items:+ completed_at: '2026-03-12T11:03:24.589Z'+ created_at: '2026-03-12T11:03:24.544Z'+ updated_at: '2026-03-12T11:03:24.589Z'+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 52522- slug: product-52522+ name: Product 528624+ slug: product-528624options_text: ''price: '10.0'display_price: "$10.00"@@ -5579,23 +5576,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:20.777Z'- updated_at: '2026-03-12T09:16:20.777Z'+ created_at: '2026-03-12T11:03:24.571Z'+ updated_at: '2026-03-12T11:03:24.571Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H72182556184+ number: H75029097237state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:20.782Z'- updated_at: '2026-03-12T09:16:20.795Z'+ created_at: '2026-03-12T11:03:24.575Z'+ updated_at: '2026-03-12T11:03:24.587Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -5603,7 +5600,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_197- name: Willette Wuckert+ name: Jo Padbergaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -5798,13 +5795,13 @@ paths:id: ps_gbHJdmfrXBstatus: pendingcurrency: USD- external_id: bogus_6e271386d876ecf70966484f+ external_id: bogus_0908915197a432f75f23ec94external_data:- client_secret: bogus_secret_9cf8b7fec7696687+ client_secret: bogus_secret_cbc5c78c1fa0cc68customer_external_id:expires_at:- created_at: '2026-03-12T09:16:23.240Z'- updated_at: '2026-03-12T09:16:23.240Z'+ created_at: '2026-03-12T11:03:26.992Z'+ updated_at: '2026-03-12T11:03:26.992Z'amount: '110.0'payment_method_id: pm_UkLWZg9DAJorder_id: or_UkLWZg9DAJ@@ -5893,13 +5890,13 @@ paths:id: ps_UkLWZg9DAJstatus: pendingcurrency: USD- external_id: bogus_5768847c2cdf415629f8709c+ external_id: bogus_805c9e470e9e60b226c649bbexternal_data:client_secret: secret_123customer_external_id:expires_at:- created_at: '2026-03-12T09:16:23.843Z'- updated_at: '2026-03-12T09:16:23.843Z'+ created_at: '2026-03-12T11:03:27.586Z'+ updated_at: '2026-03-12T11:03:27.586Z'amount: '110.0'payment_method_id: pm_UkLWZg9DAJorder_id: or_UkLWZg9DAJ@@ -5956,13 +5953,13 @@ paths:id: ps_UkLWZg9DAJstatus: pendingcurrency: USD- external_id: bogus_2666c07bda0c167f4ae48bc3+ external_id: bogus_e3691aaa7b754cb6a5723c32external_data:client_secret: secret_123customer_external_id:expires_at:- created_at: '2026-03-12T09:16:25.089Z'- updated_at: '2026-03-12T09:16:25.102Z'+ created_at: '2026-03-12T11:03:28.810Z'+ updated_at: '2026-03-12T11:03:28.824Z'amount: '50.0'payment_method_id: pm_UkLWZg9DAJorder_id: or_UkLWZg9DAJ@@ -6053,13 +6050,13 @@ paths:id: ps_UkLWZg9DAJstatus: completedcurrency: USD- external_id: bogus_c592e2e176a379eea8d3d70a+ external_id: bogus_6efe50f584e39ef71d8a51d6external_data:client_secret: secret_123customer_external_id:expires_at:- created_at: '2026-03-12T09:16:25.707Z'- updated_at: '2026-03-12T09:16:25.721Z'+ created_at: '2026-03-12T11:03:29.415Z'+ updated_at: '2026-03-12T11:03:29.429Z'amount: '110.0'payment_method_id: pm_UkLWZg9DAJorder_id: or_UkLWZg9DAJ@@ -6139,11 +6136,11 @@ paths:example:id: pss_gbHJdmfrXBstatus: pending- external_id: bogus_seti_058c9a088f6b00e703d74733- external_client_secret: bogus_seti_secret_ea3be35a6b9d6cf7+ external_id: bogus_seti_fd739262d1cf8622d6120f9b+ external_client_secret: bogus_seti_secret_2278cd088f53287fexternal_data: {}- created_at: '2026-03-12T09:16:27.050Z'- updated_at: '2026-03-12T09:16:27.050Z'+ created_at: '2026-03-12T11:03:30.597Z'+ updated_at: '2026-03-12T11:03:30.597Z'payment_method_id: pm_UkLWZg9DAJpayment_source_id:payment_source_type:@@ -6240,12 +6237,12 @@ paths:example:id: pss_UkLWZg9DAJstatus: pending- external_id: seti_test_3ce26f6ba67fe132b945e418- external_client_secret: seti_secret_71fa514934b449ae898e8d67+ external_id: seti_test_b2aba257abc62d90c6a578e7+ external_client_secret: seti_secret_24386d85df69122030fb709aexternal_data:client_secret: secret_123- created_at: '2026-03-12T09:16:28.707Z'- updated_at: '2026-03-12T09:16:28.707Z'+ created_at: '2026-03-12T11:03:32.243Z'+ updated_at: '2026-03-12T11:03:32.243Z'payment_method_id: pm_UkLWZg9DAJpayment_source_id:payment_source_type:@@ -6318,12 +6315,12 @@ paths:example:id: pss_UkLWZg9DAJstatus: completed- external_id: seti_test_5cfb5dd8a36cc4bcf9731e23- external_client_secret: seti_secret_95ae516a56c5b4607c2c124f+ external_id: seti_test_a8725ff61951e1d4341fd93d+ external_client_secret: seti_secret_3b4c6c472bc6e8d08cf2127cexternal_data:client_secret: secret_123- created_at: '2026-03-12T09:16:29.792Z'- updated_at: '2026-03-12T09:16:29.804Z'+ created_at: '2026-03-12T11:03:33.331Z'+ updated_at: '2026-03-12T11:03:33.344Z'payment_method_id: pm_UkLWZg9DAJpayment_source_id: card_UkLWZg9DAJpayment_source_type: Spree::CreditCard@@ -6405,11 +6402,11 @@ paths:payment_method_id: pm_UkLWZg9DAJstate: checkoutresponse_code: '12345'- number: PEKKKT4W+ number: PV2GSDE4amount: '110.0'display_amount: "$110.00"- created_at: '2026-03-12T09:16:30.954Z'- updated_at: '2026-03-12T09:16:30.954Z'+ created_at: '2026-03-12T11:03:34.525Z'+ updated_at: '2026-03-12T11:03:34.525Z'source_type: credit_cardsource_id: card_UkLWZg9DAJsource:@@ -6490,11 +6487,11 @@ paths:payment_method_id: pm_UkLWZg9DAJstate: checkoutresponse_code:- number: PGJ3BUP1+ number: PIENLJLPamount: '110.0'display_amount: "$110.00"- created_at: '2026-03-12T09:16:31.592Z'- updated_at: '2026-03-12T09:16:31.592Z'+ created_at: '2026-03-12T11:03:35.211Z'+ updated_at: '2026-03-12T11:03:35.211Z'source_type:source_id:source:@@ -6651,20 +6648,19 @@ paths:example:data:- id: prod_UkLWZg9DAJ- name: Product 646269+ name: Product 647331description: |-- Voluptatem nihil hic id provident incidunt nemo. Odio nisi consequatur corrupti alias error accusantium. Debitis et voluptatem corporis sed. Mollitia dignissimos error ducimus deleniti. Quibusdam nisi modi error unde iste.- Blanditiis nihil quam at sapiente odit impedit. Necessitatibus dolorum quasi quis nobis. Illo similique asperiores modi dicta aspernatur eum. Occaecati facilis quas consequatur nisi optio.- Rem voluptatem soluta eum explicabo eligendi. Aspernatur eligendi nihil incidunt et dicta ea ipsa ducimus. Et quas officia dolorum nostrum occaecati. Adipisci molestiae aliquam laborum quae quod fugiat. Labore totam unde asperiores beatae commodi nulla dolores atque.- Numquam earum vero magni ea amet. Ipsum sed autem doloribus provident. Cupiditate eos unde nisi impedit ad facilis iure fugiat. Officiis sunt et consequatur quo similique. A possimus nulla fuga excepturi voluptate.- Consequatur necessitatibus ipsa esse repellendus at impedit. Sapiente officiis incidunt nobis laudantium placeat. Fugit animi cum culpa tempore occaecati voluptatibus fuga. Odit nulla saepe aperiam quod. Pariatur vitae consectetur exercitationem quod provident dolorem aspernatur occaecati.- slug: product-646269+ Repellat debitis autem iste accusantium porro. Placeat quibusdam ad ex occaecati explicabo. Sed saepe explicabo iure mollitia minima occaecati qui ea. Neque aspernatur iste vitae dolorem architecto impedit maiores voluptates. Fugit voluptas aut voluptates vitae quibusdam.+ Sit corrupti illum consectetur dicta doloribus reprehenderit veritatis totam. Sed harum ratione ipsa doloribus. Dolorem repudiandae explicabo reiciendis sequi magnam ad molestiae. Ipsa ab itaque sint ex veniam quasi.+ Doloribus itaque ex corrupti temporibus. Architecto porro fuga accusamus tenetur nesciunt velit vero nostrum. Quod adipisci nisi incidunt praesentium eum veniam tempore. Nobis sequi provident quas ab alias voluptatem. Ipsam tempora eos est rem ullam modi laboriosam corporis.+ Voluptas quas officiis qui sed cupiditate id consectetur necessitatibus. Fugiat accusantium distinctio fuga non corporis. Incidunt autem veniam modi consequatur. Deserunt beatae eius rem inventore id doloribus.+ slug: product-647331meta_description:meta_keywords:variant_count: 1- available_on: '2025-03-12T09:16:32.253Z'- created_at: '2026-03-12T09:16:32.266Z'- updated_at: '2026-03-12T09:16:32.302Z'+ available_on: '2025-03-12T11:03:35.851Z'+ created_at: '2026-03-12T11:03:35.864Z'+ updated_at: '2026-03-12T11:03:35.903Z'purchasable: truein_stock: falsebackorderable: true@@ -6684,17 +6680,16 @@ paths:price_list_id:original_price:- id: prod_gbHJdmfrXB- name: Product 658929- description: |-- Non dolore est sint quasi placeat excepturi modi temporibus. Incidunt cum atque eveniet expedita reprehenderit amet voluptates. Iusto exercitationem odit ipsam magnam aliquid reiciendis necessitatibus.- Repudiandae vitae aperiam ad ex. Neque minima commodi inventore magni earum. Incidunt mollitia ipsum possimus harum rem ipsa excepturi odit.- slug: product-658929+ name: Product 657176+ description: Omnis nesciunt quia vitae possimus. Minus dolor similique+ qui fuga quidem. Itaque quasi at asperiores id.+ slug: product-657176meta_description:meta_keywords:variant_count: 0- available_on: '2025-03-12T09:16:32.307Z'- created_at: '2026-03-12T09:16:32.316Z'- updated_at: '2026-03-12T09:16:32.327Z'+ available_on: '2025-03-12T11:03:35.908Z'+ created_at: '2026-03-12T11:03:35.917Z'+ updated_at: '2026-03-12T11:03:35.929Z'purchasable: truein_stock: falsebackorderable: true@@ -6800,18 +6795,20 @@ paths:application/json:example:id: prod_UkLWZg9DAJ- name: Product 767950+ name: Product 763933description: |-- Cupiditate illum architecto possimus blanditiis. Placeat nam autem beatae veritatis nisi officia culpa nesciunt. Veniam ut neque beatae alias. Est eaque sed quae ducimus. Itaque officiis quos ab consequuntur.- Pariatur dolores ducimus eaque minus. Incidunt nulla nostrum possimus libero assumenda suscipit pariatur. Eaque illo eos delectus voluptas minima aliquid explicabo.- Iure sequi nam quidem quas ad reiciendis nisi. Blanditiis porro tempore atque dolorem architecto. Suscipit repellat quo unde enim omnis dolorem. Possimus velit provident occaecati repellat omnis.- slug: product-767950+ Omnis nihil aut libero fuga nulla minima itaque laudantium. Modi corrupti esse a dolorem quas ducimus repellat tenetur. Autem dolorum earum commodi occaecati ut nisi laboriosam blanditiis. Earum at repellat ea in corrupti. Labore aut facilis excepturi quae laudantium sunt consectetur.+ Quod excepturi incidunt explicabo repudiandae adipisci ipsam. Necessitatibus natus magni rem unde pariatur est. Consequatur unde quo doloremque ipsa deserunt sed aliquid. Doloremque omnis enim laboriosam quibusdam eum dolore sed.+ Id porro iste dolorum a occaecati molestias. Aut rem ex necessitatibus accusantium quasi aperiam. Debitis minima veritatis vel commodi autem dolor blanditiis.+ Consectetur cumque aliquid exercitationem accusantium itaque ratione necessitatibus cum. Non quidem architecto quibusdam quasi suscipit. Hic ipsum veniam veritatis recusandae.+ Iure rerum eligendi incidunt velit dignissimos consequatur. Aliquid deserunt itaque vitae molestiae dolorem sit modi repellendus. In cupiditate veritatis excepturi eveniet commodi pariatur beatae consequatur. Ullam repellat vel minus quia quaerat officia minima itaque.+ slug: product-763933meta_description:meta_keywords:variant_count: 1- available_on: '2025-03-12T09:16:32.871Z'- created_at: '2026-03-12T09:16:32.888Z'- updated_at: '2026-03-12T09:16:32.927Z'+ available_on: '2025-03-12T11:03:36.463Z'+ created_at: '2026-03-12T11:03:36.480Z'+ updated_at: '2026-03-12T11:03:36.517Z'purchasable: truein_stock: falsebackorderable: true@@ -7023,15 +7020,15 @@ paths:example:data:- id: ship_UkLWZg9DAJ- number: H22884700230+ number: H40658723961state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:34.891Z'- updated_at: '2026-03-12T09:16:34.904Z'+ created_at: '2026-03-12T11:03:38.450Z'+ updated_at: '2026-03-12T11:03:38.465Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -7039,7 +7036,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_269- name: Elsa Herman+ name: Georgeann Marquardtaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -7115,9 +7112,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R411812718- token: 7UBRx54Po8joHP633fg8vbCLstacktmyuhu- email: [email protected]+ number: R214105735+ token: J21UZ987T6vdk8HLeuRfaf7zf1EFoqccMEM+ email: [email protected]special_instructions:currency: USDlocale: en@@ -7138,8 +7135,8 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:16:35.468Z'- updated_at: '2026-03-12T09:16:35.549Z'+ created_at: '2026-03-12T11:03:39.027Z'+ updated_at: '2026-03-12T11:03:39.101Z'current_step: deliverycompleted_steps:- address@@ -7147,14 +7144,14 @@ paths:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 1053693- slug: product-1053693+ name: Product 1051948+ slug: product-1051948options_text: ''price: '10.0'display_price: "$10.00"@@ -7173,23 +7170,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:35.507Z'- updated_at: '2026-03-12T09:16:35.507Z'+ created_at: '2026-03-12T11:03:39.059Z'+ updated_at: '2026-03-12T11:03:39.059Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H48004239465+ number: H17947471362state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:35.513Z'- updated_at: '2026-03-12T09:16:35.548Z'+ created_at: '2026-03-12T11:03:39.066Z'+ updated_at: '2026-03-12T11:03:39.100Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -7197,7 +7194,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_273- name: Elodia Thiel+ name: Alfonzo Simonisaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -7328,9 +7325,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R017505750- token: J1tqA7U9v1UkX3cjTBoLryPYsDRWkBA5u1X- email: [email protected]+ number: R931310416+ token: LmVmBgYQJXmdFQMAitHzVHKYn7Tzwg2PDuQ+ email: [email protected]special_instructions:currency: USDlocale: en@@ -7351,22 +7348,19 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:16:36.713Z'- updated_at: '2026-03-12T09:16:36.788Z'+ created_at: '2026-03-12T11:03:40.266Z'+ updated_at: '2026-03-12T11:03:40.312Z'current_step: addresscompleted_steps: []- requirements:- - step: payment- field: payment- message: Add a payment method- order_promotions: []- line_items:+ requirements: []+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 1071314- slug: product-1071314+ name: Product 1079130+ slug: product-1079130options_text: ''price: '10.0'display_price: "$10.00"@@ -7385,23 +7379,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:36.749Z'- updated_at: '2026-03-12T09:16:36.749Z'+ created_at: '2026-03-12T11:03:40.293Z'+ updated_at: '2026-03-12T11:03:40.293Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H04422519647+ number: H52211052578state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:36.759Z'- updated_at: '2026-03-12T09:16:36.784Z'+ created_at: '2026-03-12T11:03:40.297Z'+ updated_at: '2026-03-12T11:03:40.310Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -7409,7 +7403,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_281- name: Basilia Torphy+ name: Lamont Adamsaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -7431,12 +7425,12 @@ paths:- id: py_UkLWZg9DAJpayment_method_id: pm_UkLWZg9DAJstate: checkout- response_code: 1-SC-20260312091637134595- number: PUHHRWX1+ response_code: 1-SC-20260312110340616671+ number: PM556UT3amount: '10.0'display_amount: "$10.00"- created_at: '2026-03-12T09:16:37.140Z'- updated_at: '2026-03-12T09:16:37.140Z'+ created_at: '2026-03-12T11:03:40.620Z'+ updated_at: '2026-03-12T11:03:40.620Z'source_type: store_creditsource_id: credit_UkLWZg9DAJsource:@@ -7561,9 +7555,9 @@ paths:application/json:example:id: cart_UkLWZg9DAJ- number: R426571297- token: vwPVWQvhLRwXGc6KB7LqAz24PmmQ7iHCpb2- email: [email protected]+ number: R118253424+ token: 4aFcY7GRY1HBm7yJ1oACFsyjeXT5i3rS4d2+ email: [email protected]special_instructions:currency: USDlocale: en@@ -7584,22 +7578,22 @@ paths:display_additional_tax_total: "$0.00"total: '110.0'display_total: "$110.00"- created_at: '2026-03-12T09:16:38.311Z'- updated_at: '2026-03-12T09:16:38.358Z'+ created_at: '2026-03-12T11:03:41.801Z'+ updated_at: '2026-03-12T11:03:41.851Z'current_step: addresscompleted_steps: []requirements:- step: paymentfield: paymentmessage: Add a payment method- order_promotions: []- line_items:+ promotions: []+ items:- id: li_UkLWZg9DAJvariant_id: variant_UkLWZg9DAJquantity: 1currency: USD- name: Product 1092715- slug: product-1092715+ name: Product 1091704+ slug: product-1091704options_text: ''price: '10.0'display_price: "$10.00"@@ -7618,23 +7612,23 @@ paths:discounted_amount: '10.0'display_discounted_amount: "$10.00"display_compare_at_amount: "$0.00"- created_at: '2026-03-12T09:16:38.338Z'- updated_at: '2026-03-12T09:16:38.338Z'+ created_at: '2026-03-12T11:03:41.830Z'+ updated_at: '2026-03-12T11:03:41.830Z'compare_at_amount:thumbnail_url:option_values: []digital_links: []shipments:- id: ship_UkLWZg9DAJ- number: H94897631388+ number: H95577787913state: pendingtracking: U10000tracking_url:cost: '100.0'display_cost: "$100.00"shipped_at:- created_at: '2026-03-12T09:16:38.343Z'- updated_at: '2026-03-12T09:16:38.356Z'+ created_at: '2026-03-12T11:03:41.836Z'+ updated_at: '2026-03-12T11:03:41.849Z'shipping_method:id: shpm_UkLWZg9DAJname: UPS Ground@@ -7642,7 +7636,7 @@ paths:stock_location:id: sloc_UkLWZg9DAJstate_abbr: STATE_ABBR_289- name: Yessenia Hettinger+ name: Tula Cruickshankaddress1: 1600 Pennsylvania Ave NWcity: Washingtonzipcode: '20500'@@ -7758,9 +7752,9 @@ paths:data:- id: wl_UkLWZg9DAJname: My Wishlist- token: 2iHmZ51BPyq4an6gjALiqHBn- created_at: '2026-03-12T09:16:38.933Z'- updated_at: '2026-03-12T09:16:38.933Z'+ token: Dj8pwFAnFgwJRmhKTsmtLyUv+ created_at: '2026-03-12T11:03:42.418Z'+ updated_at: '2026-03-12T11:03:42.418Z'is_default: falseis_private: truemeta:@@ -7836,9 +7830,9 @@ paths:example:id: wl_gbHJdmfrXBname: Birthday Ideas- token: ds89ih2cPLFaLTUjFb5Z9fVA- created_at: '2026-03-12T09:16:40.116Z'- updated_at: '2026-03-12T09:16:40.116Z'+ token: 46SeewNe18s7mrncyyCMUvj3+ created_at: '2026-03-12T11:03:43.688Z'+ updated_at: '2026-03-12T11:03:43.688Z'is_default: falseis_private: trueschema:@@ -7934,9 +7928,9 @@ paths:example:id: wl_UkLWZg9DAJname: My Wishlist- token: xYnFQpEEhvC7FdK4emLTP1dz- created_at: '2026-03-12T09:16:41.264Z'- updated_at: '2026-03-12T09:16:41.264Z'+ token: Dx3enhfSCUfDaGRTNjirim6Y+ created_at: '2026-03-12T11:03:45.001Z'+ updated_at: '2026-03-12T11:03:45.001Z'is_default: falseis_private: trueschema:@@ -7998,9 +7992,9 @@ paths:example:id: wl_UkLWZg9DAJname: Updated Name- token: 3eEH9rUH9qUfbeUmck6C35dR- created_at: '2026-03-12T09:16:42.401Z'- updated_at: '2026-03-12T09:16:42.446Z'+ token: chzedzK3Gwdv3TZaXJvxFKvj+ created_at: '2026-03-12T11:03:46.163Z'+ updated_at: '2026-03-12T11:03:46.203Z'is_default: falseis_private: trueschema:@@ -8112,8 +8106,8 @@ paths:variant_id: variant_gbHJdmfrXBwishlist_id: wl_UkLWZg9DAJquantity: 1- created_at: '2026-03-12T09:16:43.621Z'- updated_at: '2026-03-12T09:16:43.621Z'+ created_at: '2026-03-12T11:03:47.388Z'+ updated_at: '2026-03-12T11:03:47.388Z'variant:id: variant_gbHJdmfrXBproduct_id: prod_gbHJdmfrXB@@ -8122,8 +8116,8 @@ paths:options_text: ''track_inventory: trueimage_count: 0- created_at: '2026-03-12T09:16:43.598Z'- updated_at: '2026-03-12T09:16:43.606Z'+ created_at: '2026-03-12T11:03:47.357Z'+ updated_at: '2026-03-12T11:03:47.370Z'thumbnail:purchasable: truein_stock: false@@ -8496,6 +8490,34 @@ components:required:- idx-typelizer: true+ CartPromotion:+ type: object+ properties:+ id:+ type: string+ promotion_id:+ type: string+ name:+ type: string+ description:+ type: string+ nullable: true+ code:+ type: string+ nullable: true+ amount:+ type: string+ display_amount:+ type: string+ required:+ - id+ - promotion_id+ - name+ - description+ - code+ - amount+ - display_amount+ x-typelizer: trueCart:type: objectproperties:@@ -8564,11 +8586,11 @@ components:type: arrayitems:"$ref": "#/components/schemas/CheckoutRequirement"- order_promotions:+ promotions:type: arrayitems:- "$ref": "#/components/schemas/OrderPromotion"- line_items:+ "$ref": "#/components/schemas/CartPromotion"+ items:type: arrayitems:"$ref": "#/components/schemas/LineItem"@@ -8622,8 +8644,8 @@ components:- current_step- completed_steps- requirements- - order_promotions- - line_items+ - promotions+ - items- shipments- payments- bill_address@@ -9548,11 +9570,11 @@ components:type: stringupdated_at:type: string- order_promotions:+ promotions:type: arrayitems:"$ref": "#/components/schemas/OrderPromotion"- line_items:+ items:type: arrayitems:"$ref": "#/components/schemas/LineItem"@@ -9601,8 +9623,8 @@ components:- completed_at- created_at- updated_at- - order_promotions- - line_items+ - promotions+ - items- shipments- payments- bill_addressdiff --git a/docs/api-reference/webhooks-events.mdx b/docs/api-reference/webhooks-events.mdxindex 39019804d6..f5bca8381e 100644--- a/docs/api-reference/webhooks-events.mdx+++ b/docs/api-reference/webhooks-events.mdx@@ -39,7 +39,7 @@ Event payloads include the same top-level attributes and unconditional associatiEvents: `order.created`, `order.updated`, `order.completed`, `order.canceled`, `order.resumed`, `order.paid`, `order.shipped`-Order payloads include nested `line_items`, `shipments`, `payments`, `bill_address`, `ship_address`, `payment_methods`, and `order_promotions`.+Order payloads include nested `items`, `shipments`, `payments`, `bill_address`, `ship_address`, `payment_methods`, and `promotions`.```json{@@ -72,8 +72,8 @@ Order payloads include nested `line_items`, `shipments`, `payments`, `bill_addre"completed_at": "2025-01-15T10:30:00Z","created_at": "2025-01-15T10:00:00Z","updated_at": "2025-01-15T10:30:00Z",- "order_promotions": [],- "line_items": [+ "promotions": [],+ "items": [{"id": "li_7xRt4wPq","variant_id": "var_k5nR8xLq",diff --git a/docs/developer/core-concepts/adjustments.mdx b/docs/developer/core-concepts/adjustments.mdxindex 82aac05352..1a5348e0ee 100644--- a/docs/developer/core-concepts/adjustments.mdx+++ b/docs/developer/core-concepts/adjustments.mdx@@ -76,12 +76,12 @@ Adjustments appear in order responses when you expand line items or shipments:```typescript SDKconst order = await client.orders.get('or_abc123', {- expand: ['line_items', 'shipments'],+ expand: ['items', 'shipments'],orderToken: '<token>',})// Line item adjustments (promotions, taxes)-order.line_items?.forEach(item => {+order.items?.forEach(item => {item.adjustment_total // total adjustments on this itemitem.additional_tax_totalitem.included_tax_total@@ -95,7 +95,7 @@ order.included_tax_total``````bash cURL-curl 'https://api.mystore.com/api/v3/store/orders/or_abc123?expand=line_items,shipments' \+curl 'https://api.mystore.com/api/v3/store/orders/or_abc123?expand=items,shipments' \-H 'Authorization: Bearer spree_pk_xxx' \-H 'X-Spree-Order-Token: <token>'```diff --git a/docs/developer/core-concepts/orders.mdx b/docs/developer/core-concepts/orders.mdxindex f6711b38d2..bc6987dd04 100644--- a/docs/developer/core-concepts/orders.mdx+++ b/docs/developer/core-concepts/orders.mdx@@ -285,7 +285,7 @@ const { data: orders } = await client.customer.orders.list()// Get a specific order with detailsconst order = await client.orders.get('or_xxx', {- expand: ['line_items', 'shipments', 'payments'],+ expand: ['items', 'shipments', 'payments'],})```@@ -295,7 +295,7 @@ curl 'https://api.mystore.com/api/v3/store/customer/orders' \-H 'Authorization: Bearer <jwt_token>'# Get a specific order-curl 'https://api.mystore.com/api/v3/store/orders/or_xxx?expand=line_items,shipments,payments' \+curl 'https://api.mystore.com/api/v3/store/orders/or_xxx?expand=items,shipments,payments' \-H 'Authorization: Bearer <jwt_token>'```diff --git a/docs/developer/core-concepts/webhooks.mdx b/docs/developer/core-concepts/webhooks.mdxindex 14e2d15cb1..3e6bcee0c1 100644--- a/docs/developer/core-concepts/webhooks.mdx+++ b/docs/developer/core-concepts/webhooks.mdx@@ -128,7 +128,7 @@ Each webhook delivery sends a JSON payload with the following structure. The `da"display_total": "$99.99","item_count": 3,"currency": "USD",- "line_items": [ ... ],+ "items": [ ... ],"shipments": [ ... ],"payments": [ ... ]},diff --git a/docs/developer/customization/metadata.mdx b/docs/developer/customization/metadata.mdxindex 3781989636..93c9b0d843 100644--- a/docs/developer/customization/metadata.mdx+++ b/docs/developer/customization/metadata.mdx@@ -129,7 +129,7 @@ Metadata is **readable** in Admin API responses on orders and line items:"source": "mobile_app","utm_campaign": "summer_sale"},- "line_items": [+ "items": [{"id": "li_x8Kp2qWz","metadata": {diff --git a/docs/developer/sdk/store/cart-checkout.mdx b/docs/developer/sdk/store/cart-checkout.mdxindex 7948c3c380..3eb4c3fbac 100644--- a/docs/developer/sdk/store/cart-checkout.mdx+++ b/docs/developer/sdk/store/cart-checkout.mdx@@ -124,7 +124,7 @@ await client.checkout.storeCredits.remove(options);```typescriptconst order = await client.orders.get('R123456789', {- expand: ['line_items', 'shipments'],+ expand: ['items', 'shipments'],}, { spreeToken: cart.token });```diff --git a/docs/snippets/objects/spree_order.mdx b/docs/snippets/objects/spree_order.mdxindex 07973a9997..1a790c4c91 100644--- a/docs/snippets/objects/spree_order.mdx+++ b/docs/snippets/objects/spree_order.mdx@@ -149,7 +149,7 @@ import SpreeLineItem from '/snippets/objects/spree_line_item.mdx';Example: 1</ResponseField>- <ResponseField name="line_items" type="array">+ <ResponseField name="items" type="array">Line items in the order<SpreeLineItem /></ResponseField>diff --git a/packages/admin-sdk/src/types/generated/Order.ts b/packages/admin-sdk/src/types/generated/Order.tsindex 461d4fd7ee..51c119f04d 100644--- a/packages/admin-sdk/src/types/generated/Order.ts+++ b/packages/admin-sdk/src/types/generated/Order.ts@@ -1,4 +1,4 @@-// Typelizer digest 2c54cfb0b1b1be672e0793136aae19c9+// Typelizer digest 62a8feea70c57de3b193c71ad3674ea1//// DO NOT MODIFY: This file was automatically generated by Typelizer.import type {OrderPromotion, LineItem, Shipment, Payment, Address, PaymentMethod, Customer, Adjustment, ReturnAuthorization, Reimbursement} from '@/types'@@ -32,8 +32,8 @@ type Order = {completed_at: string | null;created_at: string;updated_at: string;- order_promotions?: Array<OrderPromotion>;- line_items?: Array<LineItem>;+ promotions?: Array<OrderPromotion>;+ items?: Array<LineItem>;shipments?: Array<Shipment>;payments?: Array<Payment>;bill_address?: Address | null;diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.mdindex 82d8d4a411..8530c91c57 100644--- a/packages/next/CHANGELOG.md+++ b/packages/next/CHANGELOG.md@@ -5,6 +5,8 @@### Minor Changes- **Breaking:** Cart responses no longer include `state`, `checkout_steps`, or `state_lock_version`. Use `current_step`, `completed_steps`, and `requirements` instead.+- **Breaking:** `line_items` renamed to `items` in both `Cart` and `Order` responses.+- **Breaking:** `order_promotions` renamed to `promotions` in both `Cart` and `Order` responses.### Patch Changesdiff --git a/packages/next/package.json b/packages/next/package.jsonindex f99ebcb210..c6ae74f469 100644--- a/packages/next/package.json+++ b/packages/next/package.json@@ -1,6 +1,6 @@{"name": "@spree/next",- "version": "0.8.2",+ "version": "0.9.0","description": "Next.js integration for Spree Commerce — server actions, caching, and cookie-based auth","type": "module","main": "./dist/index.js",@@ -62,7 +62,7 @@"url": "https://github.com/spree/spree/issues"},"peerDependencies": {- "@spree/sdk": ">=0.8.3",+ "@spree/sdk": ">=0.9.0","next": ">=15.0.0","react": ">=19.0.0"},diff --git a/packages/next/src/index.ts b/packages/next/src/index.tsindex 5e4b492534..1bf0a98bcf 100644--- a/packages/next/src/index.ts+++ b/packages/next/src/index.ts@@ -94,6 +94,7 @@ export type {OptionType,OptionValue,Price,+ CartPromotion,OrderPromotion,PaginatedResponse,AddressParams,diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.mdindex 050d79ae2e..5b8e968761 100644--- a/packages/sdk/CHANGELOG.md+++ b/packages/sdk/CHANGELOG.md@@ -11,6 +11,14 @@- Added `CheckoutRequirement` type for the new `requirements` field on `Cart`.+- **Breaking:** `line_items` renamed to `items` in both `Cart` and `Order` responses.++- **Breaking:** `order_promotions` renamed to `promotions` in both `Cart` and `Order` responses. Cart promotions use `CartPromotion` type (with `cpromo_` prefixed IDs), Order promotions use `OrderPromotion` (with `oprom_` prefixed IDs).++- Added `CartPromotion` type and `CartPromotionSchema` Zod schema.++- `OrderPromotion` now has a prefixed ID (`oprom_`).+- Zod generator now supports inline object types (`Array<{...}>`) and correctly handles nested braces in TypeScript type definitions.## 0.8.2diff --git a/packages/sdk/README.md b/packages/sdk/README.mdindex dad287483c..bc1ba9a220 100644--- a/packages/sdk/README.md+++ b/packages/sdk/README.md@@ -378,7 +378,7 @@ Completed orders can be looked up by ID or number:```typescript// Get a completed order by ID or numberconst order = await client.orders.get('R123456789', {- expand: ['line_items', 'shipments'],+ expand: ['items', 'shipments'],}, { spreeToken: orderToken });```@@ -392,7 +392,7 @@ const orders = await client.customer.orders.list({}, options);// Get a specific order from historyconst order = await client.customer.orders.get('or_xxx', {- expand: ['line_items', 'shipments'],+ expand: ['items', 'shipments'],}, options);```@@ -686,6 +686,8 @@ The SDK exports all Store API types:- `StoreShippingMethod` - Shipping method- `StoreCreditCard` - Saved credit card- `StoreGiftCard` - Gift card+- `StoreCartPromotion` - Promotion applied to a cart (uses `cpromo_` prefixed IDs)+- `StoreOrderPromotion` - Promotion applied to an order (uses `oprom_` prefixed IDs)### Product Types- `StoreImage` - Product image@@ -715,6 +717,7 @@ The SDK exports all Store API types:- `UpdatePaymentSessionParams` - Payment session update parameters- `CompletePaymentSessionParams` - Payment session completion parameters- `ProductFiltersResponse` - Product filters response+- `CheckoutRequirement` - Checkout requirement (`{ step, field, message }`)## Custom Fetchdiff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex f939493a43..2b5effc0fd 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -1,6 +1,6 @@{"name": "@spree/sdk",- "version": "0.8.2",+ "version": "0.9.0","description": "Official TypeScript SDK for Spree Commerce Store API","type": "module","main": "./dist/index.cjs",diff --git a/packages/sdk/src/types/generated/Cart.ts b/packages/sdk/src/types/generated/Cart.tsindex a42fe7f8ce..69b9243343 100644--- a/packages/sdk/src/types/generated/Cart.ts+++ b/packages/sdk/src/types/generated/Cart.ts@@ -1,7 +1,7 @@-// Typelizer digest 2f4e6497b509653a633fccb660cfbd77+// Typelizer digest 42a3a95104e213338454965d6434e06a//// DO NOT MODIFY: This file was automatically generated by Typelizer.-import type {OrderPromotion, LineItem, Shipment, Payment, Address, PaymentMethod} from '@/types'+import type {CartPromotion, LineItem, Shipment, Payment, Address, PaymentMethod} from '@/types'type Cart = {id: string;@@ -33,8 +33,8 @@ type Cart = {current_step: string;completed_steps: Array<string>;requirements: Array<{step: string, field: string, message: string}>;- order_promotions: Array<OrderPromotion>;- line_items: Array<LineItem>;+ promotions: Array<CartPromotion>;+ items: Array<LineItem>;shipments: Array<Shipment>;payments: Array<Payment>;bill_address: Address | null;diff --git a/packages/sdk/src/types/generated/CartPromotion.ts b/packages/sdk/src/types/generated/CartPromotion.tsnew file mode 100644index 0000000000..410af20439--- /dev/null+++ b/packages/sdk/src/types/generated/CartPromotion.ts@@ -0,0 +1,15 @@+// Typelizer digest 54401dcd6412f0dc49765976206fe66f+//+// DO NOT MODIFY: This file was automatically generated by Typelizer.++type CartPromotion = {+ id: string;+ promotion_id: string;+ name: string;+ description: string | null;+ code: string | null;+ amount: string;+ display_amount: string;+}++export default CartPromotion;diff --git a/packages/sdk/src/types/generated/Order.ts b/packages/sdk/src/types/generated/Order.tsindex e90eee49c9..81ee4fd4e7 100644--- a/packages/sdk/src/types/generated/Order.ts+++ b/packages/sdk/src/types/generated/Order.ts@@ -1,4 +1,4 @@-// Typelizer digest 00690139290656f5d604f525be3f822d+// Typelizer digest d1c33d8d2b45afa6cbe3b585a13796fd//// DO NOT MODIFY: This file was automatically generated by Typelizer.import type {OrderPromotion, LineItem, Shipment, Payment, Address} from '@/types'@@ -32,8 +32,8 @@ type Order = {completed_at: string | null;created_at: string;updated_at: string;- order_promotions: Array<OrderPromotion>;- line_items: Array<LineItem>;+ promotions: Array<OrderPromotion>;+ items: Array<LineItem>;shipments: Array<Shipment>;payments: Array<Payment>;bill_address: Address | null;diff --git a/packages/sdk/src/types/generated/index.ts b/packages/sdk/src/types/generated/index.tsindex c97b02bfe7..f0f356051b 100644--- a/packages/sdk/src/types/generated/index.ts+++ b/packages/sdk/src/types/generated/index.ts@@ -1,9 +1,10 @@-// Typelizer digest f872a587635fbfb2192dbd96b097b4e3+// Typelizer digest 5925290903d07bde49afb5187341cc20//// DO NOT MODIFY: This file was automatically generated by Typelizer.export type { default as Address } from './Address'export type { default as Asset } from './Asset'export type { default as Base } from './Base'+export type { default as CartPromotion } from './CartPromotion'export type { default as Cart } from './Cart'export type { default as Category } from './Category'export type { default as Country } from './Country'diff --git a/packages/sdk/src/types/index.ts b/packages/sdk/src/types/index.tsindex 2a7084734d..5db4377abf 100644--- a/packages/sdk/src/types/index.ts+++ b/packages/sdk/src/types/index.ts@@ -6,6 +6,7 @@ export type {Asset,Base,Cart,+ CartPromotion,Category,Country,CreditCard,@@ -80,6 +81,7 @@ export type { Market as StoreMarket } from './generated';export type { Metafield as StoreMetafield } from './generated';export type { OptionType as StoreOptionType } from './generated';export type { OptionValue as StoreOptionValue } from './generated';+export type { CartPromotion as StoreCartPromotion } from './generated';export type { OrderPromotion as StoreOrderPromotion } from './generated';export type { Order as StoreOrder } from './generated';export type { PaymentMethod as StorePaymentMethod } from './generated';diff --git a/packages/sdk/src/zod/generated/Cart.ts b/packages/sdk/src/zod/generated/Cart.tsindex a46d143720..f403520fa5 100644--- a/packages/sdk/src/zod/generated/Cart.ts+++ b/packages/sdk/src/zod/generated/Cart.ts@@ -1,8 +1,8 @@// This file is auto-generated. Do not edit directly.import { z } from 'zod';import { AddressSchema } from './Address';+import { CartPromotionSchema } from './CartPromotion';import { LineItemSchema } from './LineItem';-import { OrderPromotionSchema } from './OrderPromotion';import { PaymentSchema } from './Payment';import { PaymentMethodSchema } from './PaymentMethod';import { ShipmentSchema } from './Shipment';@@ -37,8 +37,8 @@ export const CartSchema = z.object({current_step: z.string(),completed_steps: z.array(z.string()),requirements: z.array(z.object({ step: z.string(), field: z.string(), message: z.string() })),- order_promotions: z.array(OrderPromotionSchema),- line_items: z.array(LineItemSchema),+ promotions: z.array(CartPromotionSchema),+ items: z.array(LineItemSchema),shipments: z.array(ShipmentSchema),payments: z.array(PaymentSchema),bill_address: AddressSchema.nullable(),diff --git a/packages/sdk/src/zod/generated/CartPromotion.ts b/packages/sdk/src/zod/generated/CartPromotion.tsnew file mode 100644index 0000000000..f50dd4d51d--- /dev/null+++ b/packages/sdk/src/zod/generated/CartPromotion.ts@@ -0,0 +1,14 @@+// This file is auto-generated. Do not edit directly.+import { z } from 'zod';++export const CartPromotionSchema = z.object({+ id: z.string(),+ promotion_id: z.string(),+ name: z.string(),+ description: z.string().nullable(),+ code: z.string().nullable(),+ amount: z.string(),+ display_amount: z.string(),+});++export type CartPromotion = z.infer<typeof CartPromotionSchema>;diff --git a/packages/sdk/src/zod/generated/Order.ts b/packages/sdk/src/zod/generated/Order.tsindex 7ee082fe4d..311f77add9 100644--- a/packages/sdk/src/zod/generated/Order.ts+++ b/packages/sdk/src/zod/generated/Order.ts@@ -35,8 +35,8 @@ export const OrderSchema = z.object({completed_at: z.string().nullable(),created_at: z.string(),updated_at: z.string(),- order_promotions: z.array(OrderPromotionSchema),- line_items: z.array(LineItemSchema),+ promotions: z.array(OrderPromotionSchema),+ items: z.array(LineItemSchema),shipments: z.array(ShipmentSchema),payments: z.array(PaymentSchema),bill_address: AddressSchema.nullable(),diff --git a/packages/sdk/src/zod/generated/index.ts b/packages/sdk/src/zod/generated/index.tsindex 04f293b040..e6aa2509e2 100644--- a/packages/sdk/src/zod/generated/index.ts+++ b/packages/sdk/src/zod/generated/index.ts@@ -3,6 +3,7 @@ export { AddressSchema, type Address } from './Address';export { AssetSchema, type Asset } from './Asset';export { BaseSchema, type Base } from './Base';export { CartSchema, type Cart } from './Cart';+export { CartPromotionSchema, type CartPromotion } from './CartPromotion';export { CategorySchema, type Category } from './Category';export { CountrySchema, type Country } from './Country';export { CreditCardSchema, type CreditCard } from './CreditCard';diff --git a/spree/api/app/serializers/spree/api/v3/admin/order_serializer.rb b/spree/api/app/serializers/spree/api/v3/admin/order_serializer.rbindex c4e812f7b6..ba44652bcf 100644--- a/spree/api/app/serializers/spree/api/v3/admin/order_serializer.rb+++ b/spree/api/app/serializers/spree/api/v3/admin/order_serializer.rb@@ -43,8 +43,8 @@ module Spreeend# Override inherited associations to use admin serializers- many :order_promotions, resource: Spree.api.admin_order_promotion_serializer, if: proc { expand?('order_promotions') }- many :line_items, resource: Spree.api.admin_line_item_serializer, if: proc { expand?('line_items') }+ many :order_promotions, key: :promotions, resource: Spree.api.admin_order_promotion_serializer, if: proc { expand?('promotions') }+ many :line_items, key: :items, resource: Spree.api.admin_line_item_serializer, if: proc { expand?('items') }many :shipments, resource: Spree.api.admin_shipment_serializer, if: proc { expand?('shipments') }many :payments, resource: Spree.api.admin_payment_serializer, if: proc { expand?('payments') }diff --git a/spree/api/app/serializers/spree/api/v3/cart_promotion_serializer.rb b/spree/api/app/serializers/spree/api/v3/cart_promotion_serializer.rbnew file mode 100644index 0000000000..94c14575ee--- /dev/null+++ b/spree/api/app/serializers/spree/api/v3/cart_promotion_serializer.rb@@ -0,0 +1,18 @@+module Spree+ module Api+ module V3+ # Cart-facing promotion serializer.+ # Same data as OrderPromotionSerializer but IDs use the cp_ prefix.+ class CartPromotionSerializer < BaseSerializer+ typelize name: :string, description: [:string, nullable: true], code: [:string, nullable: true],+ amount: :string, display_amount: :string, promotion_id: :string++ attribute :promotion_id do |cart_promotion|+ cart_promotion.promotion&.prefixed_id+ end++ attributes :name, :description, :code, :amount, :display_amount+ end+ end+ end+enddiff --git a/spree/api/app/serializers/spree/api/v3/cart_serializer.rb b/spree/api/app/serializers/spree/api/v3/cart_serializer.rbindex ee75aecb8d..0d2013d540 100644--- a/spree/api/app/serializers/spree/api/v3/cart_serializer.rb+++ b/spree/api/app/serializers/spree/api/v3/cart_serializer.rb@@ -42,8 +42,8 @@ module SpreeSpree::Checkout::Requirements.new(order).callend- many :order_promotions, resource: Spree.api.order_promotion_serializer- many :line_items, resource: Spree.api.line_item_serializer+ many :cart_promotions, key: :promotions, resource: Spree.api.cart_promotion_serializer+ many :line_items, key: :items, resource: Spree.api.line_item_serializermany :shipments, resource: Spree.api.shipment_serializermany :payments, resource: Spree.api.payment_serializerone :bill_address, resource: Spree.api.address_serializerdiff --git a/spree/api/app/serializers/spree/api/v3/order_serializer.rb b/spree/api/app/serializers/spree/api/v3/order_serializer.rbindex e612f7afa6..859669a207 100644--- a/spree/api/app/serializers/spree/api/v3/order_serializer.rb+++ b/spree/api/app/serializers/spree/api/v3/order_serializer.rb@@ -25,8 +25,8 @@ module Spree:additional_tax_total, :display_additional_tax_total, :total, :display_total,completed_at: :iso8601, created_at: :iso8601, updated_at: :iso8601- many :order_promotions, resource: Spree.api.order_promotion_serializer- many :line_items, resource: Spree.api.line_item_serializer+ many :order_promotions, key: :promotions, resource: Spree.api.order_promotion_serializer+ many :line_items, key: :items, resource: Spree.api.line_item_serializermany :shipments, resource: Spree.api.shipment_serializermany :payments, resource: Spree.api.payment_serializerone :bill_address, resource: Spree.api.address_serializerdiff --git a/spree/api/lib/spree/api/dependencies.rb b/spree/api/lib/spree/api/dependencies.rbindex 07e41156af..71f37693d9 100644--- a/spree/api/lib/spree/api/dependencies.rb+++ b/spree/api/lib/spree/api/dependencies.rb@@ -120,6 +120,7 @@ module Spreeshipping_rate_serializer: 'Spree::Api::V3::ShippingRateSerializer',stock_location_serializer: 'Spree::Api::V3::StockLocationSerializer',category_serializer: 'Spree::Api::V3::CategorySerializer',+ cart_promotion_serializer: 'Spree::Api::V3::CartPromotionSerializer',order_promotion_serializer: 'Spree::Api::V3::OrderPromotionSerializer',digital_link_serializer: 'Spree::Api::V3::DigitalLinkSerializer',gift_card_serializer: 'Spree::Api::V3::GiftCardSerializer',diff --git a/spree/api/spec/controllers/spree/api/v3/store/cart_controller_spec.rb b/spree/api/spec/controllers/spree/api/v3/store/cart_controller_spec.rbindex 3b3706e7cd..b610b03a04 100644--- a/spree/api/spec/controllers/spree/api/v3/store/cart_controller_spec.rb+++ b/spree/api/spec/controllers/spree/api/v3/store/cart_controller_spec.rb@@ -103,8 +103,8 @@ RSpec.describe Spree::Api::V3::Store::CartController, type: :controller do}expect(response).to have_http_status(:created)- expect(json_response['line_items'].size).to eq(1)- expect(json_response['line_items'].first['quantity']).to eq(3)+ expect(json_response['items'].size).to eq(1)+ expect(json_response['items'].first['quantity']).to eq(3)endit 'defaults quantity to 1 when not specified' do@@ -157,8 +157,8 @@ RSpec.describe Spree::Api::V3::Store::CartController, type: :controller doit 'returns cart with line items' doget :show- expect(json_response['line_items']).to be_present- expect(json_response['line_items'].size).to eq(cart.line_items.count)+ expect(json_response['items']).to be_present+ expect(json_response['items'].size).to eq(cart.line_items.count)endit 'returns cart token in response' do@@ -293,7 +293,7 @@ RSpec.describe Spree::Api::V3::Store::CartController, type: :controller doit 'returns line item attributes' doget :show- line_item = json_response['line_items'].first+ line_item = json_response['items'].firstexpect(line_item).to include('id','variant_id',diff --git a/spree/api/spec/integration/spree/api/v3/store/cart_spec.rb b/spree/api/spec/integration/spree/api/v3/store/cart_spec.rbindex 0e6c9787b1..980ab07b7d 100644--- a/spree/api/spec/integration/spree/api/v3/store/cart_spec.rb+++ b/spree/api/spec/integration/spree/api/v3/store/cart_spec.rb@@ -97,9 +97,9 @@ RSpec.describe 'Cart API', type: :request, swagger_doc: 'api-reference/store.yamrun_test! do |response|data = JSON.parse(response.body)- expect(data['line_items'].size).to eq(1)- expect(data['line_items'].first['quantity']).to eq(3)- expect(data['line_items'].first['variant_id']).to eq(variant.prefixed_id)+ expect(data['items'].size).to eq(1)+ expect(data['items'].first['quantity']).to eq(3)+ expect(data['items'].first['variant_id']).to eq(variant.prefixed_id)endend@@ -203,7 +203,7 @@ RSpec.describe 'Cart API', type: :request, swagger_doc: 'api-reference/store.yamexpect(data['id']).to start_with('cart_')expect(data['number']).to eq(cart.number)expect(data['token']).to eq(cart.token)- expect(data['line_items']).to be_present+ expect(data['items']).to be_presentendenddiff --git a/spree/api/spec/integration/spree/api/v3/store/line_items_spec.rb b/spree/api/spec/integration/spree/api/v3/store/line_items_spec.rbindex e3878354e9..cb352acbe2 100644--- a/spree/api/spec/integration/spree/api/v3/store/line_items_spec.rb+++ b/spree/api/spec/integration/spree/api/v3/store/line_items_spec.rb@@ -57,7 +57,7 @@ RSpec.describe 'Cart Items API', type: :request, swagger_doc: 'api-reference/stodata = JSON.parse(response.body)expect(data['id']).to start_with('cart_')expect(data['number']).to eq(order.number)- expect(data['line_items'].first).to have_key('currency')+ expect(data['items'].first).to have_key('currency')endenddiff --git a/spree/api/spec/serializers/spree/api/v3/admin/order_serializer_spec.rb b/spree/api/spec/serializers/spree/api/v3/admin/order_serializer_spec.rbindex 9326728f8a..383b58ac1a 100644--- a/spree/api/spec/serializers/spree/api/v3/admin/order_serializer_spec.rb+++ b/spree/api/spec/serializers/spree/api/v3/admin/order_serializer_spec.rb@@ -23,14 +23,14 @@ RSpec.describe Spree::Api::V3::Admin::OrderSerializer doendend- describe 'line_items' do+ describe 'items' dolet(:order) { create(:order_with_line_items, store: store) }- let(:base_params) { { store: store, currency: store.default_currency, expand: 'line_items' } }+ let(:base_params) { { store: store, currency: store.default_currency, expand: 'items' } }before { order.line_items.first.update!(private_metadata: { 'gift' => true }) }it 'uses admin line item serializer with metadata' do- line_item_data = subject['line_items'].first+ line_item_data = subject['items'].firstexpect(line_item_data).to have_key('metadata')expect(line_item_data['metadata']).to eq({ 'gift' => true })enddiff --git a/spree/core/app/models/spree/cart_promotion.rb b/spree/core/app/models/spree/cart_promotion.rbnew file mode 100644index 0000000000..8325ab5431--- /dev/null+++ b/spree/core/app/models/spree/cart_promotion.rb@@ -0,0 +1,7 @@+module Spree+ # Cart-facing view of an OrderPromotion.+ # Same table, different prefix ID (cp_) for the Cart API.+ class CartPromotion < OrderPromotion+ has_prefix_id :cpromo+ end+enddiff --git a/spree/core/app/models/spree/order.rb b/spree/core/app/models/spree/order.rbindex 0ed95cc87d..1d98a55b3f 100644--- a/spree/core/app/models/spree/order.rb+++ b/spree/core/app/models/spree/order.rb@@ -139,6 +139,7 @@ module Spreeinverse_of: :orderhas_many :order_promotions, class_name: 'Spree::OrderPromotion'+ has_many :cart_promotions, class_name: 'Spree::CartPromotion', foreign_key: :order_idhas_many :promotions, through: :order_promotions, class_name: 'Spree::Promotion'has_many :shipments, class_name: 'Spree::Shipment', dependent: :destroy, inverse_of: :order dodiff --git a/spree/core/app/models/spree/order_promotion.rb b/spree/core/app/models/spree/order_promotion.rbindex e5bcaedd44..1c0a06f79b 100644--- a/spree/core/app/models/spree/order_promotion.rb+++ b/spree/core/app/models/spree/order_promotion.rb@@ -1,5 +1,7 @@module Spreeclass OrderPromotion < Spree.base_class+ has_prefix_id :oprom+belongs_to :order, class_name: 'Spree::Order'belongs_to :promotion, class_name: 'Spree::Promotion'