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
Add back in digital, variants line_items for includes Platform API side.
Matthew Kennedyfc1bc6dd2cfb
diff --git a/api/app/serializers/spree/api/v2/platform/digital_link_serializer.rb b/api/app/serializers/spree/api/v2/platform/digital_link_serializer.rbindex d511d477f7..fe8cd7f21a 100644--- a/api/app/serializers/spree/api/v2/platform/digital_link_serializer.rb+++ b/api/app/serializers/spree/api/v2/platform/digital_link_serializer.rb@@ -6,6 +6,9 @@ module Spreeset_type :digital_linkattributes :token, :access_counter++ belongs_to :digital+ belongs_to :line_itemendendenddiff --git a/api/app/serializers/spree/api/v2/platform/digital_serializer.rb b/api/app/serializers/spree/api/v2/platform/digital_serializer.rbindex fe16e6f0b2..e3a03c795c 100644--- a/api/app/serializers/spree/api/v2/platform/digital_serializer.rb+++ b/api/app/serializers/spree/api/v2/platform/digital_serializer.rb@@ -21,6 +21,8 @@ module Spreeattribute :byte_size do |digital|digital.attachment.byte_size.to_iend++ belongs_to :variantendendenddiff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yamlindex 848ad36d79..a9cabf74fd 100644--- a/api/docs/v2/platform/index.yaml+++ b/api/docs/v2/platform/index.yaml@@ -63,8 +63,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-10T21:56:57.757Z'- updated_at: '2021-10-10T21:56:57.757Z'+ created_at: '2021-10-11T15:47:34.950Z'+ updated_at: '2021-10-11T15:47:34.950Z'deleted_at:label:relationships:@@ -91,8 +91,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-10T21:56:57.761Z'- updated_at: '2021-10-10T21:56:57.761Z'+ created_at: '2021-10-11T15:47:34.953Z'+ updated_at: '2021-10-11T15:47:34.953Z'deleted_at:label:relationships:@@ -162,8 +162,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-10T21:56:57.902Z'- updated_at: '2021-10-10T21:56:57.902Z'+ created_at: '2021-10-11T15:47:35.104Z'+ updated_at: '2021-10-11T15:47:35.104Z'deleted_at:label:relationships:@@ -253,8 +253,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-10T21:56:57.948Z'- updated_at: '2021-10-10T21:56:57.948Z'+ created_at: '2021-10-11T15:47:35.147Z'+ updated_at: '2021-10-11T15:47:35.147Z'deleted_at:label:relationships:@@ -327,8 +327,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-10T21:56:58.002Z'- updated_at: '2021-10-10T21:56:58.010Z'+ created_at: '2021-10-11T15:47:35.199Z'+ updated_at: '2021-10-11T15:47:35.207Z'deleted_at:label:relationships:@@ -460,8 +460,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-10T21:56:58.207Z'- updated_at: '2021-10-10T21:56:58.207Z'+ created_at: '2021-10-11T15:47:35.434Z'+ updated_at: '2021-10-11T15:47:35.434Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -487,8 +487,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-10T21:56:58.230Z'- updated_at: '2021-10-10T21:56:58.230Z'+ created_at: '2021-10-11T15:47:35.458Z'+ updated_at: '2021-10-11T15:47:35.458Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -557,8 +557,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-10T21:56:58.489Z'- updated_at: '2021-10-10T21:56:58.489Z'+ created_at: '2021-10-11T15:47:35.739Z'+ updated_at: '2021-10-11T15:47:35.739Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -636,8 +636,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-10T21:56:58.584Z'- updated_at: '2021-10-10T21:56:58.588Z'+ created_at: '2021-10-11T15:47:35.840Z'+ updated_at: '2021-10-11T15:47:35.844Z'state: openincluded: falsedisplay_amount: "$1.00"@@ -709,8 +709,8 @@ paths:label: New labelmandatory:eligible: true- created_at: '2021-10-10T21:56:58.756Z'- updated_at: '2021-10-10T21:56:58.768Z'+ created_at: '2021-10-11T15:47:36.030Z'+ updated_at: '2021-10-11T15:47:36.044Z'state: openincluded: falsedisplay_amount: "$15.00"@@ -838,8 +838,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-10T21:56:59.300Z'- updated_at: '2021-10-10T21:56:59.300Z'+ created_at: '2021-10-11T15:47:36.637Z'+ updated_at: '2021-10-11T15:47:36.637Z'relationships:product:data:@@ -853,8 +853,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-10T21:56:59.399Z'- updated_at: '2021-10-10T21:56:59.399Z'+ created_at: '2021-10-11T15:47:36.742Z'+ updated_at: '2021-10-11T15:47:36.742Z'relationships:product:data:@@ -911,8 +911,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-10T21:56:59.779Z'- updated_at: '2021-10-10T21:56:59.779Z'+ created_at: '2021-10-11T15:47:37.135Z'+ updated_at: '2021-10-11T15:47:37.135Z'relationships:product:data:@@ -975,8 +975,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-10T21:56:59.929Z'- updated_at: '2021-10-10T21:56:59.929Z'+ created_at: '2021-10-11T15:47:37.291Z'+ updated_at: '2021-10-11T15:47:37.291Z'relationships:product:data:@@ -1036,8 +1036,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-10T21:57:00.190Z'- updated_at: '2021-10-10T21:57:00.190Z'+ created_at: '2021-10-11T15:47:37.575Z'+ updated_at: '2021-10-11T15:47:37.575Z'relationships:product:data:@@ -1147,8 +1147,8 @@ paths:type: classificationattributes:position: 2- created_at: '2021-10-10T21:57:00.852Z'- updated_at: '2021-10-10T21:57:00.871Z'+ created_at: '2021-10-11T15:47:38.300Z'+ updated_at: '2021-10-11T15:47:38.321Z'relationships:product:data:@@ -1233,35 +1233,34 @@ paths:- id: '1'type: cms_pageattributes:- title: Animi veritatis assumenda itaque fugit possimus.+ title: Aliquid iure suscipit ut ipsum deleniti.meta_title:content:meta_description:visible: true- slug: animi-veritatis-assumenda-itaque-fugit-possimus+ slug: aliquid-iure-suscipit-ut-ipsum-delenititype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-10T21:57:01.173Z'- updated_at: '2021-10-10T21:57:01.173Z'+ created_at: '2021-10-11T15:47:38.652Z'+ updated_at: '2021-10-11T15:47:38.652Z'relationships:cms_sections:data: []- id: '2'type: cms_pageattributes:- title: Consequuntur rerum beatae molestiae explicabo veniam- occaecati non voluptatem.+ title: Culpa ad sed velit reprehenderit voluptatibus.meta_title:content:meta_description:visible: true- slug: consequuntur-rerum-beatae-molestiae-explicabo-veniam-occaecati-non-voluptatem+ slug: culpa-ad-sed-velit-reprehenderit-voluptatibustype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-10T21:57:01.183Z'- updated_at: '2021-10-10T21:57:01.183Z'+ created_at: '2021-10-11T15:47:38.657Z'+ updated_at: '2021-10-11T15:47:38.657Z'relationships:cms_sections:data: []@@ -1311,17 +1310,17 @@ paths:id: '5'type: cms_pageattributes:- title: Recusandae assumenda numquam voluptate asperiores aperiam.+ title: Assumenda iste laboriosam quos nam optio expedita.meta_title:content:meta_description:visible: true- slug: recusandae-assumenda-numquam-voluptate-asperiores-aperiam+ slug: assumenda-iste-laboriosam-quos-nam-optio-expeditatype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-10T21:57:01.250Z'- updated_at: '2021-10-10T21:57:01.250Z'+ created_at: '2021-10-11T15:47:38.728Z'+ updated_at: '2021-10-11T15:47:38.728Z'relationships:cms_sections:data: []@@ -1377,17 +1376,17 @@ paths:id: '6'type: cms_pageattributes:- title: Sapiente ullam repellat ea eos minima quam voluptatem.+ title: Consequatur quos rerum blanditiis labore incidunt.meta_title:content:meta_description:visible: true- slug: sapiente-ullam-repellat-ea-eos-minima-quam-voluptatem+ slug: consequatur-quos-rerum-blanditiis-labore-incidunttype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-10T21:57:01.281Z'- updated_at: '2021-10-10T21:57:01.281Z'+ created_at: '2021-10-11T15:47:38.762Z'+ updated_at: '2021-10-11T15:47:38.762Z'relationships:cms_sections:data: []@@ -1445,12 +1444,12 @@ paths:content:meta_description:visible: true- slug: corrupti-minus-mollitia-eos-ducimus-occaecati-nulla+ slug: adipisci-accusantium-ad-libero-cum-aliquam-quos-repudiandae-magnitype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-10T21:57:01.334Z'- updated_at: '2021-10-10T21:57:01.343Z'+ created_at: '2021-10-11T15:47:38.817Z'+ updated_at: '2021-10-11T15:47:38.831Z'relationships:cms_sections:data: []@@ -1564,8 +1563,7 @@ paths:- id: '1'type: cms_sectionattributes:- name: Accusantium nobis adipisci beatae reprehenderit ipsum- cum nesciunt provident.+ name: Repellat ratione qui nihil esse.content: {}settings:gutters: No Gutters@@ -1574,8 +1572,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 1linked_resource_type: Spree::Taxon- created_at: '2021-10-10T21:57:01.498Z'- updated_at: '2021-10-10T21:57:01.498Z'+ created_at: '2021-10-11T15:47:38.997Z'+ updated_at: '2021-10-11T15:47:38.997Z'relationships:cms_page:data:@@ -1586,7 +1584,7 @@ paths:- id: '2'type: cms_sectionattributes:- name: Facilis ipsa quo voluptatum cumque animi architecto.+ name: Fuga voluptas soluta mollitia earum.content:link_type_one: Spree::Taxonlink_type_two: Spree::Taxon@@ -1598,8 +1596,8 @@ paths:type: Spree::Cms::Sections::ImageGalleryposition: 2linked_resource_type:- created_at: '2021-10-10T21:57:01.501Z'- updated_at: '2021-10-10T21:57:01.501Z'+ created_at: '2021-10-11T15:47:39.001Z'+ updated_at: '2021-10-11T15:47:39.001Z'relationships:cms_page:data:@@ -1610,8 +1608,7 @@ paths:- id: '3'type: cms_sectionattributes:- name: Nihil eaque cumque culpa quibusdam laudantium consequuntur- nobis.+ name: Molestias ipsam porro a aliquid rem aperiam.content: {}settings:gutters: No Gutters@@ -1620,8 +1617,8 @@ paths:type: Spree::Cms::Sections::FeaturedArticleposition: 3linked_resource_type: Spree::Taxon- created_at: '2021-10-10T21:57:01.509Z'- updated_at: '2021-10-10T21:57:01.509Z'+ created_at: '2021-10-11T15:47:39.010Z'+ updated_at: '2021-10-11T15:47:39.010Z'relationships:cms_page:data:@@ -1632,7 +1629,7 @@ paths:- id: '4'type: cms_sectionattributes:- name: Ab voluptates dolorum eum cum.+ name: Doloremque magni eos provident qui quaerat.content: {}settings:gutters: No Gutters@@ -1641,8 +1638,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-10T21:57:01.522Z'- updated_at: '2021-10-10T21:57:01.522Z'+ created_at: '2021-10-11T15:47:39.023Z'+ updated_at: '2021-10-11T15:47:39.023Z'relationships:cms_page:data:@@ -1655,7 +1652,7 @@ paths:- id: '5'type: cms_sectionattributes:- name: Delectus ea voluptatem libero sit eaque quam.+ name: Modi voluptatum nam facere amet veritatis ex cum placeat.content: {}settings:gutters: No Gutters@@ -1664,8 +1661,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 5linked_resource_type: Spree::Product- created_at: '2021-10-10T21:57:01.529Z'- updated_at: '2021-10-10T21:57:01.529Z'+ created_at: '2021-10-11T15:47:39.031Z'+ updated_at: '2021-10-11T15:47:39.031Z'relationships:cms_page:data:@@ -1721,7 +1718,8 @@ paths:id: '14'type: cms_sectionattributes:- name: Ullam necessitatibus omnis numquam voluptatem.+ name: Suscipit impedit fugit ducimus dolores porro tempora+ in.content: {}settings:gutters: No Gutters@@ -1730,8 +1728,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-10T21:57:01.679Z'- updated_at: '2021-10-10T21:57:01.679Z'+ created_at: '2021-10-11T15:47:39.188Z'+ updated_at: '2021-10-11T15:47:39.188Z'relationships:cms_page:data:@@ -1793,8 +1791,7 @@ paths:id: '21'type: cms_sectionattributes:- name: Accusantium illo alias nam repellendus dolorum molestiae- nemo.+ name: Magni nam voluptatum facilis nobis molestias quisquam.content: {}settings:gutters: No Gutters@@ -1803,8 +1800,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-10T21:57:01.871Z'- updated_at: '2021-10-10T21:57:01.871Z'+ created_at: '2021-10-11T15:47:39.386Z'+ updated_at: '2021-10-11T15:47:39.386Z'relationships:cms_page:data:@@ -1872,8 +1869,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-10T21:57:02.065Z'- updated_at: '2021-10-10T21:57:02.076Z'+ created_at: '2021-10-11T15:47:39.596Z'+ updated_at: '2021-10-11T15:47:39.608Z'relationships:cms_page:data:@@ -1975,8 +1972,7 @@ paths:id: '58'type: cms_sectionattributes:- name: Harum iste blanditiis suscipit saepe incidunt mollitia- nam dignissimos.+ name: Pariatur dolore quibusdam ut aut voluptatibus officiis.content: {}settings:gutters: No Gutters@@ -1985,8 +1981,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 3linked_resource_type: Spree::Product- created_at: '2021-10-10T21:57:02.711Z'- updated_at: '2021-10-10T21:57:02.726Z'+ created_at: '2021-10-11T15:47:40.239Z'+ updated_at: '2021-10-11T15:47:40.253Z'relationships:cms_page:data:@@ -2044,9 +2040,9 @@ paths:name: United States of Americanumcode: 840states_required: true- updated_at: '2021-10-10T21:57:02.897Z'+ updated_at: '2021-10-11T15:47:40.421Z'zipcode_required: true- created_at: '2021-10-10T21:57:02.897Z'+ created_at: '2021-10-11T15:47:40.421Z'relationships:states:data: []@@ -2059,9 +2055,9 @@ paths:name: NAME_2numcode: 840states_required: false- updated_at: '2021-10-10T21:57:02.904Z'+ updated_at: '2021-10-11T15:47:40.428Z'zipcode_required: true- created_at: '2021-10-10T21:57:02.904Z'+ created_at: '2021-10-11T15:47:40.428Z'relationships:states:data: []@@ -2074,9 +2070,9 @@ paths:name: NAME_3numcode: 840states_required: false- updated_at: '2021-10-10T21:57:02.906Z'+ updated_at: '2021-10-11T15:47:40.431Z'zipcode_required: true- created_at: '2021-10-10T21:57:02.906Z'+ created_at: '2021-10-11T15:47:40.431Z'relationships:states:data: []@@ -2131,9 +2127,9 @@ paths:name: NAME_6numcode: 840states_required: false- updated_at: '2021-10-10T21:57:02.944Z'+ updated_at: '2021-10-11T15:47:40.477Z'zipcode_required: true- created_at: '2021-10-10T21:57:02.944Z'+ created_at: '2021-10-11T15:47:40.477Z'relationships:states:data: []@@ -2185,13 +2181,31 @@ paths:- id: '1'type: digital_linkattributes:- token: L3nTwrBBi1MLipY1qLTNfj8E+ token: QEVR9rwwbs3i4ZmsbUmdZHhTaccess_counter: 0+ relationships:+ digital:+ data:+ id: '1'+ type: digital+ line_item:+ data:+ id: '9'+ type: line_item- id: '2'type: digital_linkattributes:- token: 3vWUKqAJB51HqypnDVUjfquN+ token: gck6YKkFUJFgWhJeneiqmTGqaccess_counter: 0+ relationships:+ digital:+ data:+ id: '2'+ type: digital+ line_item:+ data:+ id: '10'+ type: line_itemmeta:count: 2total_count: 2@@ -2231,8 +2245,17 @@ paths:id: '5'type: digital_linkattributes:- token: A4xDxqPGFfT6SArHvmStDmYd+ token: VtDhJHGWJi5EdGjjXREJwaPjaccess_counter: 0+ relationships:+ digital:+ data:+ id: '5'+ type: digital+ line_item:+ data:+ id: '13'+ type: line_item'422':description: invalid requestcontent:@@ -2281,8 +2304,17 @@ paths:id: '6'type: digital_linkattributes:- token: tDxJzNDvXmYRmUyUfzYXTmPr+ token: 5K7HRyEVvpr3QFKMerBCQnB4access_counter: 0+ relationships:+ digital:+ data:+ id: '6'+ type: digital+ line_item:+ data:+ id: '14'+ type: line_item'404':description: Record not foundcontent:@@ -2325,8 +2357,17 @@ paths:id: '8'type: digital_linkattributes:- token: 5boBPB45fH4bic4sBUSHJbyJ+ token: 2TFGZtYxUJABT1kDPivuQeLZaccess_counter: 0+ relationships:+ digital:+ data:+ id: '8'+ type: digital+ line_item:+ data:+ id: '16'+ type: line_item'422':description: invalid requestcontent:@@ -2419,8 +2460,17 @@ paths:id: '13'type: digital_linkattributes:- token: 7NA9oawRMGPQXJJrXAzYqmYx+ token: qVCBvXjXQFQUDQFL4n9ZYZ78access_counter: 0+ relationships:+ digital:+ data:+ id: '13'+ type: digital+ line_item:+ data:+ id: '21'+ type: line_item"/api/v2/platform/digitals":get:summary: Returns a list of Digitals@@ -2457,6 +2507,11 @@ paths:content_type: image/jpegfilename: thinking-cat.jpgbyte_size: 18090+ relationships:+ variant:+ data:+ id: '83'+ type: variant- id: '15'type: digitalattributes:@@ -2464,6 +2519,11 @@ paths:content_type: image/jpegfilename: thinking-cat.jpgbyte_size: 18090+ relationships:+ variant:+ data:+ id: '85'+ type: variant- id: '16'type: digitalattributes:@@ -2471,6 +2531,11 @@ paths:content_type: image/jpegfilename: thinking-cat.jpgbyte_size: 18090+ relationships:+ variant:+ data:+ id: '87'+ type: variantmeta:count: 3total_count: 3@@ -2514,6 +2579,11 @@ paths:content_type: image/pngfilename: icon_256x256.jpgbyte_size: 818+ relationships:+ variant:+ data:+ id: '97'+ type: variant'422':description: invalid requestcontent:@@ -2563,6 +2633,11 @@ paths:content_type: image/jpegfilename: thinking-cat.jpgbyte_size: 18090+ relationships:+ variant:+ data:+ id: '115'+ type: variant'404':description: Record not foundcontent:@@ -2609,6 +2684,11 @@ paths:content_type: image/pngfilename: icon_256x256.jpgbyte_size: 818+ relationships:+ variant:+ data:+ id: '137'+ type: variant'422':description: invalid requestcontent:@@ -2721,8 +2801,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-10T21:57:09.684Z'- updated_at: '2021-10-10T21:57:09.692Z'+ created_at: '2021-10-11T15:47:47.477Z'+ updated_at: '2021-10-11T15:47:47.487Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2768,8 +2848,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-10T21:57:09.730Z'- updated_at: '2021-10-10T21:57:09.737Z'+ created_at: '2021-10-11T15:47:47.529Z'+ updated_at: '2021-10-11T15:47:47.537Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2858,8 +2938,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-10T21:57:09.938Z'- updated_at: '2021-10-10T21:57:09.973Z'+ created_at: '2021-10-11T15:47:47.767Z'+ updated_at: '2021-10-11T15:47:47.870Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2957,8 +3037,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-10T21:57:10.171Z'- updated_at: '2021-10-10T21:57:10.178Z'+ created_at: '2021-10-11T15:47:48.012Z'+ updated_at: '2021-10-11T15:47:48.019Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -3050,8 +3130,8 @@ paths:attributes:quantity: 4price: '10.0'- created_at: '2021-10-10T21:57:10.390Z'- updated_at: '2021-10-10T21:57:10.427Z'+ created_at: '2021-10-11T15:47:48.242Z'+ updated_at: '2021-10-11T15:47:48.278Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -3099,10 +3179,10 @@ paths:examples:Example:value:- error: 'Quantity selected of "Product #131 - 7218" is not available.'+ error: 'Quantity selected of "Product #131 - 8765" is not available.'errors:quantity:- - 'selected of "Product #131 - 7218" is not available.'+ - 'selected of "Product #131 - 8765" is not available.''404':description: Record not foundcontent:@@ -3212,8 +3292,8 @@ paths:lft: 2rgt: 3depth: 1- created_at: '2021-10-10T21:57:10.981Z'- updated_at: '2021-10-10T21:57:10.986Z'+ created_at: '2021-10-11T15:47:48.879Z'+ updated_at: '2021-10-11T15:47:48.883Z'link:is_container: falseis_root: false@@ -3249,8 +3329,8 @@ paths:lft: 4rgt: 5depth: 1- created_at: '2021-10-10T21:57:11.031Z'- updated_at: '2021-10-10T21:57:11.035Z'+ created_at: '2021-10-11T15:47:48.931Z'+ updated_at: '2021-10-11T15:47:48.935Z'link:is_container: falseis_root: false@@ -3286,8 +3366,8 @@ paths:lft: 6rgt: 7depth: 1- created_at: '2021-10-10T21:57:11.078Z'- updated_at: '2021-10-10T21:57:11.083Z'+ created_at: '2021-10-11T15:47:48.981Z'+ updated_at: '2021-10-11T15:47:48.985Z'link:is_container: falseis_root: false@@ -3323,8 +3403,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-10T21:57:11.127Z'- updated_at: '2021-10-10T21:57:11.131Z'+ created_at: '2021-10-11T15:47:49.031Z'+ updated_at: '2021-10-11T15:47:49.036Z'link:is_container: falseis_root: false@@ -3360,8 +3440,8 @@ paths:lft: 10rgt: 11depth: 1- created_at: '2021-10-10T21:57:11.176Z'- updated_at: '2021-10-10T21:57:11.180Z'+ created_at: '2021-10-11T15:47:49.090Z'+ updated_at: '2021-10-11T15:47:49.094Z'link:is_container: falseis_root: false@@ -3397,8 +3477,8 @@ paths:lft: 12rgt: 13depth: 1- created_at: '2021-10-10T21:57:11.225Z'- updated_at: '2021-10-10T21:57:11.230Z'+ created_at: '2021-10-11T15:47:49.141Z'+ updated_at: '2021-10-11T15:47:49.145Z'link:is_container: falseis_root: false@@ -3434,8 +3514,8 @@ paths:lft: 14rgt: 15depth: 1- created_at: '2021-10-10T21:57:11.276Z'- updated_at: '2021-10-10T21:57:11.280Z'+ created_at: '2021-10-11T15:47:49.192Z'+ updated_at: '2021-10-11T15:47:49.196Z'link:is_container: falseis_root: false@@ -3461,8 +3541,7 @@ paths:- id: '1'type: menu_itemattributes:- name: Corrupti quam occaecati accusamus sapiente sed minima- veniam ipsam.+ name: Assumenda quos unde omnis sit temporibus.subtitle:destination:new_window: false@@ -3472,8 +3551,8 @@ paths:lft: 1rgt: 16depth: 0- created_at: '2021-10-10T21:57:10.932Z'- updated_at: '2021-10-10T21:57:11.289Z'+ created_at: '2021-10-11T15:47:48.820Z'+ updated_at: '2021-10-11T15:47:49.207Z'link:is_container: trueis_root: true@@ -3562,8 +3641,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-10T21:57:11.888Z'- updated_at: '2021-10-10T21:57:11.892Z'+ created_at: '2021-10-11T15:47:49.815Z'+ updated_at: '2021-10-11T15:47:49.819Z'link:is_container: falseis_root: false@@ -3649,8 +3728,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-10T21:57:12.287Z'- updated_at: '2021-10-10T21:57:12.291Z'+ created_at: '2021-10-11T15:47:50.295Z'+ updated_at: '2021-10-11T15:47:50.298Z'link:is_container: falseis_root: false@@ -3732,8 +3811,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-10T21:57:13.016Z'- updated_at: '2021-10-10T21:57:13.041Z'+ created_at: '2021-10-11T15:47:50.929Z'+ updated_at: '2021-10-11T15:47:50.956Z'link:is_container: falseis_root: false@@ -3858,8 +3937,8 @@ paths:lft: 5rgt: 6depth: 2- created_at: '2021-10-10T21:57:14.547Z'- updated_at: '2021-10-10T21:57:14.571Z'+ created_at: '2021-10-11T15:47:52.492Z'+ updated_at: '2021-10-11T15:47:52.516Z'link:is_container: falseis_root: false@@ -3951,34 +4030,34 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-10T21:57:15.001Z'- updated_at: '2021-10-10T21:57:15.117Z'+ created_at: '2021-10-11T15:47:52.968Z'+ updated_at: '2021-10-11T15:47:53.089Z'relationships:menu_items:data:- id: '89'type: menu_item- - id: '90'- type: menu_item- id: '87'type: menu_item+ - id: '90'+ type: menu_item- id: '19'type: menuattributes:name: Footer Menulocation: footerlocale: en- created_at: '2021-10-10T21:57:15.010Z'- updated_at: '2021-10-10T21:57:15.216Z'+ created_at: '2021-10-11T15:47:52.978Z'+ updated_at: '2021-10-11T15:47:53.189Z'relationships:menu_items:data:- id: '91'type: menu_item- - id: '92'- type: menu_item- id: '88'type: menu_item+ - id: '92'+ type: menu_itemmeta:count: 2total_count: 2@@ -4028,8 +4107,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-10T21:57:15.492Z'- updated_at: '2021-10-10T21:57:15.499Z'+ created_at: '2021-10-11T15:47:53.477Z'+ updated_at: '2021-10-11T15:47:53.484Z'relationships:menu_items:data:@@ -4093,8 +4172,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-10T21:57:15.533Z'- updated_at: '2021-10-10T21:57:15.540Z'+ created_at: '2021-10-11T15:47:53.520Z'+ updated_at: '2021-10-11T15:47:53.527Z'relationships:menu_items:data:@@ -4152,8 +4231,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-10T21:57:15.600Z'- updated_at: '2021-10-10T21:57:15.616Z'+ created_at: '2021-10-11T15:47:53.669Z'+ updated_at: '2021-10-11T15:47:53.676Z'relationships:menu_items:data:@@ -4277,8 +4356,8 @@ paths:name: foo-size-67presentation: Sizeposition: 1- created_at: '2021-10-10T21:57:15.839Z'- updated_at: '2021-10-10T21:57:15.839Z'+ created_at: '2021-10-11T15:47:53.846Z'+ updated_at: '2021-10-11T15:47:53.846Z'filterable: truerelationships:option_values:@@ -4289,8 +4368,8 @@ paths:name: foo-size-68presentation: Sizeposition: 2- created_at: '2021-10-10T21:57:15.841Z'- updated_at: '2021-10-10T21:57:15.841Z'+ created_at: '2021-10-11T15:47:53.847Z'+ updated_at: '2021-10-11T15:47:53.847Z'filterable: truerelationships:option_values:@@ -4344,8 +4423,8 @@ paths:name: foo-size-71presentation: Sizeposition: 1- created_at: '2021-10-10T21:57:15.887Z'- updated_at: '2021-10-10T21:57:15.887Z'+ created_at: '2021-10-11T15:47:53.902Z'+ updated_at: '2021-10-11T15:47:53.902Z'filterable: truerelationships:option_values:@@ -4405,8 +4484,8 @@ paths:name: foo-size-72presentation: Sizeposition: 1- created_at: '2021-10-10T21:57:15.920Z'- updated_at: '2021-10-10T21:57:15.920Z'+ created_at: '2021-10-11T15:47:53.933Z'+ updated_at: '2021-10-11T15:47:53.933Z'filterable: truerelationships:option_values:@@ -4463,8 +4542,8 @@ paths:name: Size-Xpresentation: Sizeposition: 1- created_at: '2021-10-10T21:57:15.969Z'- updated_at: '2021-10-10T21:57:15.975Z'+ created_at: '2021-10-11T15:47:53.981Z'+ updated_at: '2021-10-11T15:47:53.988Z'filterable: truerelationships:option_values:@@ -4582,8 +4661,8 @@ paths:position: 1name: Size-67presentation: S- created_at: '2021-10-10T21:57:16.091Z'- updated_at: '2021-10-10T21:57:16.091Z'+ created_at: '2021-10-11T15:47:54.116Z'+ updated_at: '2021-10-11T15:47:54.116Z'relationships:option_type:data:@@ -4595,8 +4674,8 @@ paths:position: 1name: Size-68presentation: S- created_at: '2021-10-10T21:57:16.098Z'- updated_at: '2021-10-10T21:57:16.098Z'+ created_at: '2021-10-11T15:47:54.123Z'+ updated_at: '2021-10-11T15:47:54.123Z'relationships:option_type:data:@@ -4651,8 +4730,8 @@ paths:position: 1name: Size-71presentation: S- created_at: '2021-10-10T21:57:16.149Z'- updated_at: '2021-10-10T21:57:16.149Z'+ created_at: '2021-10-11T15:47:54.178Z'+ updated_at: '2021-10-11T15:47:54.178Z'relationships:option_type:data:@@ -4711,8 +4790,8 @@ paths:position: 1name: Size-72presentation: S- created_at: '2021-10-10T21:57:16.180Z'- updated_at: '2021-10-10T21:57:16.180Z'+ created_at: '2021-10-11T15:47:54.211Z'+ updated_at: '2021-10-11T15:47:54.211Z'relationships:option_type:data:@@ -4770,8 +4849,8 @@ paths:position: 1name: Mpresentation: S- created_at: '2021-10-10T21:57:16.234Z'- updated_at: '2021-10-10T21:57:16.242Z'+ created_at: '2021-10-11T15:47:54.274Z'+ updated_at: '2021-10-11T15:47:54.283Z'relationships:option_type:data:@@ -4887,7 +4966,7 @@ paths:- id: '39'type: orderattributes:- number: R657941002+ number: R033330146item_total: '0.0'total: '0.0'state: cart@@ -4896,10 +4975,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:16.378Z'- updated_at: '2021-10-10T21:57:16.378Z'+ created_at: '2021-10-11T15:47:54.428Z'+ updated_at: '2021-10-11T15:47:54.428Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -4971,7 +5050,7 @@ paths:- id: '40'type: orderattributes:- number: R453206325+ number: R207931619item_total: '0.0'total: '0.0'state: cart@@ -4980,10 +5059,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:16.386Z'- updated_at: '2021-10-10T21:57:16.386Z'+ created_at: '2021-10-11T15:47:54.437Z'+ updated_at: '2021-10-11T15:47:54.437Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5098,7 +5177,7 @@ paths:id: '43'type: orderattributes:- number: R759083599+ number: R434017196item_total: '0.0'total: '0.0'state: cart@@ -5109,8 +5188,8 @@ paths:payment_state:email:special_instructions:- created_at: '2021-10-10T21:57:16.659Z'- updated_at: '2021-10-10T21:57:16.673Z'+ created_at: '2021-10-11T15:47:54.842Z'+ updated_at: '2021-10-11T15:47:54.857Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5222,7 +5301,7 @@ paths:id: '44'type: orderattributes:- number: R547632194+ number: R847789377item_total: '10.0'total: '110.0'state: delivery@@ -5231,10 +5310,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:16.710Z'- updated_at: '2021-10-10T21:57:16.835Z'+ created_at: '2021-10-11T15:47:54.897Z'+ updated_at: '2021-10-11T15:47:55.043Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5358,7 +5437,7 @@ paths:id: '46'type: orderattributes:- number: R223844520+ number: R629186988item_total: '10.0'total: '110.0'state: delivery@@ -5369,8 +5448,8 @@ paths:payment_state:email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:17.072Z'- updated_at: '2021-10-10T21:57:17.157Z'+ created_at: '2021-10-11T15:47:55.287Z'+ updated_at: '2021-10-11T15:47:55.387Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5544,7 +5623,7 @@ paths:id: '51'type: orderattributes:- number: R886792450+ number: R776357843item_total: '10.0'total: '110.0'state: payment@@ -5553,10 +5632,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:17.705Z'- updated_at: '2021-10-10T21:57:17.826Z'+ created_at: '2021-10-11T15:47:55.950Z'+ updated_at: '2021-10-11T15:47:56.081Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5683,7 +5762,7 @@ paths:id: '53'type: orderattributes:- number: R024191269+ number: R823906949item_total: '10.0'total: '110.0'state: payment@@ -5692,10 +5771,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:17.981Z'- updated_at: '2021-10-10T21:57:18.114Z'+ created_at: '2021-10-11T15:47:56.261Z'+ updated_at: '2021-10-11T15:47:56.399Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5822,19 +5901,19 @@ paths:id: '55'type: orderattributes:- number: R166254558+ number: R451461982item_total: '10.0'total: '110.0'state: completeadjustment_total: '0.0'- completed_at: '2021-10-10T21:57:18.447Z'+ completed_at: '2021-10-11T15:47:56.771Z'payment_total: '0.0'shipment_state: pendingpayment_state: balance_due- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:18.265Z'- updated_at: '2021-10-10T21:57:18.447Z'+ created_at: '2021-10-11T15:47:56.564Z'+ updated_at: '2021-10-11T15:47:56.771Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5972,7 +6051,7 @@ paths:id: '58'type: orderattributes:- number: R713464745+ number: R236763839item_total: '0.0'total: '0.0'state: cart@@ -5981,10 +6060,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:18.716Z'- updated_at: '2021-10-10T21:57:18.807Z'+ created_at: '2021-10-11T15:47:57.067Z'+ updated_at: '2021-10-11T15:47:57.172Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -6105,7 +6184,7 @@ paths:id: '60'type: orderattributes:- number: R386479271+ number: R190044219item_total: '10.0'total: '110.0'state: delivery@@ -6114,10 +6193,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:18.957Z'- updated_at: '2021-10-10T21:57:19.097Z'+ created_at: '2021-10-11T15:47:57.334Z'+ updated_at: '2021-10-11T15:47:57.479Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6258,7 +6337,7 @@ paths:id: '63'type: orderattributes:- number: R947124525+ number: R965640253item_total: '10.0'total: '10.0'state: delivery@@ -6267,10 +6346,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-10T21:57:19.401Z'- updated_at: '2021-10-10T21:57:19.522Z'+ created_at: '2021-10-11T15:47:57.819Z'+ updated_at: '2021-10-11T15:47:57.950Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6424,14 +6503,14 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #97'- created_at: '2021-10-10T21:57:19.796Z'- updated_at: '2021-10-10T21:57:19.796Z'+ created_at: '2021-10-11T15:47:58.240Z'+ updated_at: '2021-10-11T15:47:58.240Z'- id: '98'type: shipping_categoryattributes:name: 'ShippingCategory #98'- created_at: '2021-10-10T21:57:19.797Z'- updated_at: '2021-10-10T21:57:19.797Z'+ created_at: '2021-10-11T15:47:58.241Z'+ updated_at: '2021-10-11T15:47:58.241Z'meta:count: 2total_count: 2@@ -6479,8 +6558,8 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #101'- created_at: '2021-10-10T21:57:19.843Z'- updated_at: '2021-10-10T21:57:19.843Z'+ created_at: '2021-10-11T15:47:58.287Z'+ updated_at: '2021-10-11T15:47:58.287Z''422':description: invalid requestcontent:@@ -6532,8 +6611,8 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #102'- created_at: '2021-10-10T21:57:19.873Z'- updated_at: '2021-10-10T21:57:19.873Z'+ created_at: '2021-10-11T15:47:58.315Z'+ updated_at: '2021-10-11T15:47:58.315Z''404':description: Record not foundcontent:@@ -6584,8 +6663,8 @@ paths:type: shipping_categoryattributes:name: Default- created_at: '2021-10-10T21:57:19.920Z'- updated_at: '2021-10-10T21:57:19.926Z'+ created_at: '2021-10-11T15:47:58.362Z'+ updated_at: '2021-10-11T15:47:58.368Z''422':description: invalid requestcontent:@@ -6702,8 +6781,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-10T21:57:20.093Z'- updated_at: '2021-10-10T21:57:20.096Z'+ created_at: '2021-10-11T15:47:58.533Z'+ updated_at: '2021-10-11T15:47:58.537Z'meta_title:meta_description:meta_keywords:@@ -6737,8 +6816,8 @@ paths:lft: 4rgt: 5description:- created_at: '2021-10-10T21:57:20.143Z'- updated_at: '2021-10-10T21:57:20.147Z'+ created_at: '2021-10-11T15:47:58.583Z'+ updated_at: '2021-10-11T15:47:58.586Z'meta_title:meta_description:meta_keywords:@@ -6772,8 +6851,8 @@ paths:lft: 1rgt: 6description:- created_at: '2021-10-10T21:57:20.036Z'- updated_at: '2021-10-10T21:57:20.156Z'+ created_at: '2021-10-11T15:47:58.476Z'+ updated_at: '2021-10-11T15:47:58.595Z'meta_title:meta_description:meta_keywords:@@ -6850,8 +6929,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-10T21:57:20.379Z'- updated_at: '2021-10-10T21:57:20.384Z'+ created_at: '2021-10-11T15:47:58.811Z'+ updated_at: '2021-10-11T15:47:58.816Z'meta_title:meta_description:meta_keywords:@@ -6932,8 +7011,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-10T21:57:20.476Z'- updated_at: '2021-10-10T21:57:20.481Z'+ created_at: '2021-10-11T15:47:58.916Z'+ updated_at: '2021-10-11T15:47:58.919Z'meta_title:meta_description:meta_keywords:@@ -7015,8 +7094,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-10T21:57:20.672Z'- updated_at: '2021-10-10T21:57:20.695Z'+ created_at: '2021-10-11T15:47:59.115Z'+ updated_at: '2021-10-11T15:47:59.137Z'meta_title:meta_description:meta_keywords:@@ -7151,9 +7230,9 @@ paths:- id: '67'type: userattributes:- email: [email protected]- created_at: '2021-10-10T21:57:21.121Z'- updated_at: '2021-10-10T21:57:21.121Z'+ email: [email protected]+ created_at: '2021-10-11T15:47:59.578Z'+ updated_at: '2021-10-11T15:47:59.578Z'average_order_value: []lifetime_value: []store_credits: []@@ -7165,9 +7244,9 @@ paths:- id: '68'type: userattributes:- email: [email protected]- created_at: '2021-10-10T21:57:21.126Z'- updated_at: '2021-10-10T21:57:21.126Z'+ email: [email protected]+ created_at: '2021-10-11T15:47:59.583Z'+ updated_at: '2021-10-11T15:47:59.583Z'average_order_value: []lifetime_value: []store_credits: []@@ -7179,9 +7258,9 @@ paths:- id: '69'type: userattributes:- email: [email protected]- created_at: '2021-10-10T21:57:21.128Z'- updated_at: '2021-10-10T21:57:21.128Z'+ email: [email protected]+ created_at: '2021-10-11T15:47:59.585Z'+ updated_at: '2021-10-11T15:47:59.585Z'average_order_value: []lifetime_value: []store_credits: []@@ -7236,9 +7315,9 @@ paths:id: '74'type: userattributes:- email: [email protected]- created_at: '2021-10-10T21:57:21.195Z'- updated_at: '2021-10-10T21:57:21.195Z'+ email: [email protected]+ created_at: '2021-10-11T15:47:59.648Z'+ updated_at: '2021-10-11T15:47:59.648Z'average_order_value: []lifetime_value: []store_credits: []@@ -7297,9 +7376,9 @@ paths:id: '77'type: userattributes:- email: [email protected]- created_at: '2021-10-10T21:57:21.243Z'- updated_at: '2021-10-10T21:57:21.243Z'+ email: [email protected]+ created_at: '2021-10-11T15:47:59.691Z'+ updated_at: '2021-10-11T15:47:59.691Z'average_order_value: []lifetime_value: []store_credits: []@@ -7358,8 +7437,8 @@ paths:type: userattributes:email: [email protected]- created_at: '2021-10-10T21:57:21.310Z'- updated_at: '2021-10-10T21:57:21.320Z'+ created_at: '2021-10-11T15:47:59.756Z'+ updated_at: '2021-10-11T15:47:59.765Z'average_order_value: []lifetime_value: []store_credits: []@@ -7473,8 +7552,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-10T21:57:21.632Z'- updated_at: '2021-10-10T21:57:21.632Z'+ created_at: '2021-10-11T15:48:00.080Z'+ updated_at: '2021-10-11T15:48:00.080Z'display_price: "$19.99"display_total: "$19.99"price: '19.99'@@ -7488,8 +7567,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-10T21:57:21.677Z'- updated_at: '2021-10-10T21:57:21.677Z'+ created_at: '2021-10-11T15:48:00.132Z'+ updated_at: '2021-10-11T15:48:00.132Z'display_price: "$19.99"display_total: "$19.99"price: '19.99'@@ -7503,8 +7582,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-10T21:57:21.720Z'- updated_at: '2021-10-10T21:57:21.720Z'+ created_at: '2021-10-11T15:48:00.181Z'+ updated_at: '2021-10-11T15:48:00.181Z'display_price: "$19.99"display_total: "$19.99"price: '19.99'@@ -7518,8 +7597,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-10T21:57:21.765Z'- updated_at: '2021-10-10T21:57:21.765Z'+ created_at: '2021-10-11T15:48:00.229Z'+ updated_at: '2021-10-11T15:48:00.229Z'display_price: "$19.99"display_total: "$19.99"price: '19.99'@@ -7576,8 +7655,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-10T21:57:22.122Z'- updated_at: '2021-10-10T21:57:22.122Z'+ created_at: '2021-10-11T15:48:00.610Z'+ updated_at: '2021-10-11T15:48:00.610Z'display_price: "$19.99"display_total: "$19.99"price: '19.99'@@ -7643,8 +7722,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-10T21:57:22.322Z'- updated_at: '2021-10-10T21:57:22.322Z'+ created_at: '2021-10-11T15:48:00.827Z'+ updated_at: '2021-10-11T15:48:00.827Z'display_price: "$19.99"display_total: "$19.99"price: '19.99'@@ -7704,8 +7783,8 @@ paths:type: wished_itemattributes:quantity: 3- created_at: '2021-10-10T21:57:22.654Z'- updated_at: '2021-10-10T21:57:22.663Z'+ created_at: '2021-10-11T15:48:01.184Z'+ updated_at: '2021-10-11T15:48:01.192Z'display_price: "$19.99"display_total: "$59.97"price: '19.99'@@ -7828,9 +7907,9 @@ paths:name: Black Fridayis_private: trueis_default: false- created_at: '2021-10-10T21:57:23.346Z'- updated_at: '2021-10-10T21:57:23.346Z'- token: UArg9HEZVEAi5i6FALH8yEo9+ created_at: '2021-10-11T15:48:01.929Z'+ updated_at: '2021-10-11T15:48:01.929Z'+ token: 6XAD4JiPfCGkYtsB5izdDnRWvariant_included: falserelationships:wished_items:@@ -7845,9 +7924,9 @@ paths:name: Birthdayis_private: trueis_default: false- created_at: '2021-10-10T21:57:23.347Z'- updated_at: '2021-10-10T21:57:23.347Z'- token: qpMf2Yur66pNLdb51AyTyTCn+ created_at: '2021-10-11T15:48:01.931Z'+ updated_at: '2021-10-11T15:48:01.931Z'+ token: nUoYamXN2Ts4FmKdv8Woypovvariant_included: falserelationships:wished_items:@@ -7905,9 +7984,9 @@ paths:name: Wishlist_26is_private: trueis_default: false- created_at: '2021-10-10T21:57:23.796Z'- updated_at: '2021-10-10T21:57:23.796Z'- token: 4THe914yz8kk5nYyGbfcvzCQ+ created_at: '2021-10-11T15:48:02.411Z'+ updated_at: '2021-10-11T15:48:02.411Z'+ token: JDQH8JBdE2vVnLTJycENzsdpvariant_included: falserelationships:wished_items:@@ -7967,9 +8046,9 @@ paths:name: My Wishlistis_private: trueis_default: false- created_at: '2021-10-10T21:57:23.830Z'- updated_at: '2021-10-10T21:57:23.830Z'- token: k2d66sALbe1aWi1DnX9CmiBW+ created_at: '2021-10-11T15:48:02.449Z'+ updated_at: '2021-10-11T15:48:02.449Z'+ token: Scm4gz8oK3v2gESoGMfXrrHbvariant_included: falserelationships:wished_items:@@ -8026,9 +8105,9 @@ paths:name: My Super Wishlistis_private: trueis_default: false- created_at: '2021-10-10T21:57:23.885Z'- updated_at: '2021-10-10T21:57:23.892Z'- token: 6oYfVsGWFnWfs62F4HQM7LHr+ created_at: '2021-10-11T15:48:02.512Z'+ updated_at: '2021-10-11T15:48:02.520Z'+ token: xMXdYQZWQsyK7XQm7z5WKLe8variant_included: falserelationships:wished_items:@@ -8218,10 +8297,10 @@ components:default: falsecreated_at:type: string- example: 2021-10-10 21:56:57 UTC+ example: 2021-10-11 15:47:34 UTCupdated_at:type: string- example: 2021-10-10 21:56:57 UTC+ example: 2021-10-11 15:47:34 UTCrequired:- order_id- label@@ -8323,7 +8402,7 @@ components:completed_at:type: stringformat: date_time- example: 2021-10-10 21:56:57 UTC+ example: 2021-10-11 15:47:34 UTCbill_address_id:type: stringship_address_id:@@ -8375,7 +8454,7 @@ components:approved_at:type: stringformat: date_time- example: 2021-10-10 21:56:57 UTC+ example: 2021-10-11 15:47:34 UTCconfirmation_delivered:type: booleanexample: true@@ -8557,12 +8636,12 @@ components:example: Another Categorycreated_at:type: string- example: 2021-10-10 21:56:57 UTC- default: 2021-10-10 21:56:57 UTC+ example: 2021-10-11 15:47:34 UTC+ default: 2021-10-11 15:47:34 UTCupdated_at:type: string- example: 2021-10-10 21:56:57 UTC- default: 2021-10-10 21:56:57 UTC+ example: 2021-10-11 15:47:34 UTC+ default: 2021-10-11 15:47:34 UTCrequired:- namewishlist_params:diff --git a/api/lib/spree/api/testing_support/v2/current_order.rb b/api/lib/spree/api/testing_support/v2/current_order.rbindex 1122e8d857..727bb2097b 100644--- a/api/lib/spree/api/testing_support/v2/current_order.rb+++ b/api/lib/spree/api/testing_support/v2/current_order.rb@@ -3,7 +3,7 @@ def ensure_order_totalsorder.persist_totalsend-shared_context 'creates an order with a phisical line item' do+shared_context 'creates order with line item' dolet!(:line_item) { create(:line_item, order: order, currency: currency) }let!(:headers) { headers_bearer }@@ -13,7 +13,11 @@ shared_context 'creates an order with a phisical line item' doendend-shared_context 'creates an order with a digital line item' do+shared_context 'order with a physical line item' do+ include_context 'creates order with line item'+end++shared_context 'order with a digital line item' dolet!(:digital) { create(:digital) }let!(:variant_digital) { digital.variant }let!(:line_item) { create(:line_item, variant: variant_digital, order: order, currency: currency) }@@ -25,11 +29,11 @@ shared_context 'creates an order with a digital line item' doendend-shared_context 'creates an order with a phisical and digital line item' do+shared_context 'order with a physical and digital line item' dolet!(:digital) { create(:digital) }let!(:variant_digital) { digital.variant }let!(:digital_line_item) { create(:line_item, variant: variant_digital, order: order, currency: currency) }- let!(:phisical_line_item) { create(:line_item, order: order, currency: currency) }+ let!(:physical_line_item) { create(:line_item, order: order, currency: currency) }let!(:headers) { headers_bearer }diff --git a/api/spec/requests/spree/api/v2/storefront/cart_spec.rb b/api/spec/requests/spree/api/v2/storefront/cart_spec.rbindex 6f4a535d78..448ed46999 100644--- a/api/spec/requests/spree/api/v2/storefront/cart_spec.rb+++ b/api/spec/requests/spree/api/v2/storefront/cart_spec.rb@@ -220,7 +220,7 @@ describe 'API V2 Storefront Cart Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'context 'with existing order' doit_behaves_like 'adds item'@@ -271,7 +271,7 @@ describe 'API V2 Storefront Cart Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'context 'with existing order' doit_behaves_like 'removes line item'@@ -307,7 +307,7 @@ describe 'API V2 Storefront Cart Spec', type: :request docontext 'as a signed in user' docontext 'with existing order with line item' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'emptying the order'end@@ -343,7 +343,7 @@ describe 'API V2 Storefront Cart Spec', type: :request docontext 'as a signed in user' docontext 'with existing order with line item' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'destroying order'it_behaves_like '204 status returned'@@ -437,7 +437,7 @@ describe 'API V2 Storefront Cart Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'set quantity'end@@ -470,7 +470,7 @@ describe 'API V2 Storefront Cart Spec', type: :request doendcontext 'with existing user order with line item' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'showing the cart'end@@ -513,7 +513,7 @@ describe 'API V2 Storefront Cart Spec', type: :request docontext 'as a signed user' docontext 'with valid currency param' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'showing the cart'it 'includes the requested currency' do@@ -523,7 +523,7 @@ describe 'API V2 Storefront Cart Spec', type: :request doendcontext 'with invalid currency param' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'showing the cart'it 'includes the requested currency' do@@ -539,7 +539,7 @@ describe 'API V2 Storefront Cart Spec', type: :request dolet(:bill_addr_params) { { include: 'billing_address' } }let(:ship_addr_params) { { include: 'shipping_address' } }- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'showing the cart'it 'will return included bill_address' do@@ -641,7 +641,7 @@ describe 'API V2 Storefront Cart Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'context 'with existing order' doit_behaves_like 'apply coupon code'@@ -831,7 +831,7 @@ describe 'API V2 Storefront Cart Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'remove coupon code'end@@ -887,7 +887,7 @@ describe 'API V2 Storefront Cart Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates order with line item'+ include_context 'order with a physical line item'it_behaves_like 'returns a list of shipments with shipping rates'enddiff --git a/api/spec/requests/spree/api/v2/storefront/checkout_spec.rb b/api/spec/requests/spree/api/v2/storefront/checkout_spec.rbindex ac0869bb16..1adf9a6371 100644--- a/api/spec/requests/spree/api/v2/storefront/checkout_spec.rb+++ b/api/spec/requests/spree/api/v2/storefront/checkout_spec.rb@@ -103,7 +103,7 @@ describe 'API V2 Storefront Checkout Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates an order with a phisical line item'+ include_context 'order with a physical line item'it_behaves_like 'perform next'end@@ -154,7 +154,7 @@ describe 'API V2 Storefront Checkout Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates an order with a phisical line item'+ include_context 'order with a physical line item'it_behaves_like 'perform advance'end@@ -210,15 +210,15 @@ describe 'API V2 Storefront Checkout Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates an order with a phisical line item'+ include_context 'order with a physical line item'it_behaves_like 'perform complete'endend- order_contexts = ['creates an order with a phisical line item',- 'creates an order with a digital line item',- 'creates an order with a phisical and digital line item'].freeze+ order_contexts = ['order with a physical line item',+ 'order with a digital line item',+ 'order with a physical and digital line item'].freezeorder_contexts.each do |order_context|describe "checkout#update (#{order_context})" do@@ -575,7 +575,7 @@ describe 'API V2 Storefront Checkout Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates an order with a phisical line item'+ include_context 'order with a physical line item'it_behaves_like 'returns a list of available payment methods'end@@ -641,16 +641,16 @@ describe 'API V2 Storefront Checkout Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates an order with a phisical line item'+ include_context 'order with a physical line item'it_behaves_like 'returns a list of shipments with shipping rates'endend- orders_requiring_delivery = ['creates an order with a phisical line item', 'creates an order with a phisical and digital line item'].freeze+ orders_requiring_delivery = ['order with a physical line item', 'order with a physical and digital line item'].freeze- orders_requiring_delivery.each do |phisical_goods_context|- describe "full checkout flow (#{phisical_goods_context})" do+ orders_requiring_delivery.each do |physical_goods_context|+ describe "full checkout flow (#{physical_goods_context})" dolet!(:country) { create(:country) }let(:state) { create(:state, country: country) }let!(:shipping_method) do@@ -731,7 +731,7 @@ describe 'API V2 Storefront Checkout Spec', type: :request doendcontext 'as a signed in user' do- include_context phisical_goods_context+ include_context physical_goods_contextit_behaves_like 'transitions through checkout from start to finish'end@@ -811,7 +811,7 @@ describe 'API V2 Storefront Checkout Spec', type: :request doendcontext 'as a signed in user' do- include_context 'creates an order with a digital line item'+ include_context 'order with a digital line item'it_behaves_like 'transitions through checkout from start to finish'enddiff --git a/api/spec/serializers/spree/api/v2/platform/digital_link_serializer_spec.rb b/api/spec/serializers/spree/api/v2/platform/digital_link_serializer_spec.rbindex 1e109cb16d..568e40b6e8 100644--- a/api/spec/serializers/spree/api/v2/platform/digital_link_serializer_spec.rb+++ b/api/spec/serializers/spree/api/v2/platform/digital_link_serializer_spec.rb@@ -16,6 +16,20 @@ describe Spree::Api::V2::Platform::DigitalLinkSerializer doattributes: {access_counter: 0,token: digital_link.token+ },+ relationships: {+ digital: {+ data: {+ id: digital_link.digital.id.to_s,+ type: :digital+ }+ },+ line_item: {+ data: {+ id: digital_link.line_item.id.to_s,+ type: :line_item+ }+ }}}}diff --git a/api/spec/serializers/spree/api/v2/platform/digital_serializer_spec.rb b/api/spec/serializers/spree/api/v2/platform/digital_serializer_spec.rbindex edc11d5aa4..00577651ec 100644--- a/api/spec/serializers/spree/api/v2/platform/digital_serializer_spec.rb+++ b/api/spec/serializers/spree/api/v2/platform/digital_serializer_spec.rb@@ -18,6 +18,14 @@ describe Spree::Api::V2::Platform::DigitalSerializer docontent_type: digital.attachment.content_type.to_s,filename: digital.attachment.filename.to_s,url: Rails.application.routes.url_helpers.polymorphic_url(digital.attachment, only_path: true)+ },+ relationships: {+ variant: {+ data: {+ id: digital.variant.id.to_s,+ type: :variant+ }+ }}}}diff --git a/core/app/models/spree/order.rb b/core/app/models/spree/order.rbindex f3e3947b51..efda1d5af3 100644--- a/core/app/models/spree/order.rb+++ b/core/app/models/spree/order.rb@@ -213,7 +213,7 @@ module Spreeline_items.exists?end- # Does this order require a phisical delivery.+ # Does this order require a physical delivery.def delivery_required?!digital?end