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
Fix/shipping method serializer attributes (#11441)
Matthew Kennedy528b4bbc52de
diff --git a/api/app/serializers/spree/api/v2/platform/shipping_method_serializer.rb b/api/app/serializers/spree/api/v2/platform/shipping_method_serializer.rbindex c33704a4a7..15af7b20a4 100644--- a/api/app/serializers/spree/api/v2/platform/shipping_method_serializer.rb+++ b/api/app/serializers/spree/api/v2/platform/shipping_method_serializer.rb@@ -3,7 +3,7 @@ module Spreemodule V2module Platformclass ShippingMethodSerializer < BaseSerializer- attributes :name, :code, :admin_name, :display_on, :tracking_url+ attributes :name, :code, :admin_name, :display_on, :tracking_url, :created_at, :updated_at, :deleted_athas_many :shipping_categorieshas_many :shipping_ratesdiff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yamlindex 5931b7030b..1ab2a83d8d 100644--- a/api/docs/v2/platform/index.yaml+++ b/api/docs/v2/platform/index.yaml@@ -69,8 +69,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T13:31:33.824Z'- updated_at: '2021-10-27T13:31:33.824Z'+ created_at: '2021-10-28T19:36:00.112Z'+ updated_at: '2021-10-28T19:36:00.112Z'deleted_at:label:relationships:@@ -97,8 +97,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T13:31:33.828Z'- updated_at: '2021-10-27T13:31:33.828Z'+ created_at: '2021-10-28T19:36:00.116Z'+ updated_at: '2021-10-28T19:36:00.116Z'deleted_at:label:relationships:@@ -168,8 +168,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T13:31:34.040Z'- updated_at: '2021-10-27T13:31:34.040Z'+ created_at: '2021-10-28T19:36:00.330Z'+ updated_at: '2021-10-28T19:36:00.330Z'deleted_at:label:relationships:@@ -259,8 +259,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T13:31:34.073Z'- updated_at: '2021-10-27T13:31:34.073Z'+ created_at: '2021-10-28T19:36:00.361Z'+ updated_at: '2021-10-28T19:36:00.361Z'deleted_at:label:relationships:@@ -333,8 +333,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T13:31:34.121Z'- updated_at: '2021-10-27T13:31:34.128Z'+ created_at: '2021-10-28T19:36:00.408Z'+ updated_at: '2021-10-28T19:36:00.416Z'deleted_at:label:relationships:@@ -466,8 +466,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-27T13:31:34.350Z'- updated_at: '2021-10-27T13:31:34.350Z'+ created_at: '2021-10-28T19:36:00.626Z'+ updated_at: '2021-10-28T19:36:00.626Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -493,8 +493,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-27T13:31:34.370Z'- updated_at: '2021-10-27T13:31:34.370Z'+ created_at: '2021-10-28T19:36:00.646Z'+ updated_at: '2021-10-28T19:36:00.646Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -563,8 +563,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-27T13:31:34.664Z'- updated_at: '2021-10-27T13:31:34.664Z'+ created_at: '2021-10-28T19:36:00.929Z'+ updated_at: '2021-10-28T19:36:00.929Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -642,8 +642,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-27T13:31:34.768Z'- updated_at: '2021-10-27T13:31:34.773Z'+ created_at: '2021-10-28T19:36:01.030Z'+ updated_at: '2021-10-28T19:36:01.034Z'state: openincluded: falsedisplay_amount: "$1.00"@@ -715,8 +715,8 @@ paths:label: New labelmandatory:eligible: true- created_at: '2021-10-27T13:31:34.947Z'- updated_at: '2021-10-27T13:31:34.966Z'+ created_at: '2021-10-28T19:36:01.214Z'+ updated_at: '2021-10-28T19:36:01.234Z'state: openincluded: falsedisplay_amount: "$15.00"@@ -844,8 +844,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T13:31:35.527Z'- updated_at: '2021-10-27T13:31:35.527Z'+ created_at: '2021-10-28T19:36:01.774Z'+ updated_at: '2021-10-28T19:36:01.774Z'relationships:product:data:@@ -859,8 +859,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T13:31:35.612Z'- updated_at: '2021-10-27T13:31:35.612Z'+ created_at: '2021-10-28T19:36:01.848Z'+ updated_at: '2021-10-28T19:36:01.848Z'relationships:product:data:@@ -917,8 +917,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T13:31:36.090Z'- updated_at: '2021-10-27T13:31:36.090Z'+ created_at: '2021-10-28T19:36:02.323Z'+ updated_at: '2021-10-28T19:36:02.323Z'relationships:product:data:@@ -981,8 +981,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T13:31:36.251Z'- updated_at: '2021-10-27T13:31:36.251Z'+ created_at: '2021-10-28T19:36:02.483Z'+ updated_at: '2021-10-28T19:36:02.483Z'relationships:product:data:@@ -1042,8 +1042,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T13:31:36.550Z'- updated_at: '2021-10-27T13:31:36.550Z'+ created_at: '2021-10-28T19:36:02.766Z'+ updated_at: '2021-10-28T19:36:02.766Z'relationships:product:data:@@ -1153,8 +1153,8 @@ paths:type: classificationattributes:position: 2- created_at: '2021-10-27T13:31:37.291Z'- updated_at: '2021-10-27T13:31:37.314Z'+ created_at: '2021-10-28T19:36:03.427Z'+ updated_at: '2021-10-28T19:36:03.448Z'relationships:product:data:@@ -1245,34 +1245,34 @@ paths:- id: '1'type: cms_pageattributes:- title: Ducimus beatae molestiae ad consectetur.+ title: Dolore omnis non voluptas nam optio.meta_title:content:meta_description:visible: true- slug: ducimus-beatae-molestiae-ad-consectetur+ slug: dolore-omnis-non-voluptas-nam-optiotype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T13:31:37.718Z'- updated_at: '2021-10-27T13:31:37.718Z'+ created_at: '2021-10-28T19:36:03.849Z'+ updated_at: '2021-10-28T19:36:03.849Z'relationships:cms_sections:data: []- id: '2'type: cms_pageattributes:- title: A et eos unde voluptatibus animi magni aliquid numquam.+ title: Laboriosam esse assumenda rem modi odit pariatur asperiores.meta_title:content:meta_description:visible: true- slug: a-et-eos-unde-voluptatibus-animi-magni-aliquid-numquam+ slug: laboriosam-esse-assumenda-rem-modi-odit-pariatur-asperiorestype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T13:31:37.723Z'- updated_at: '2021-10-27T13:31:37.723Z'+ created_at: '2021-10-28T19:36:03.852Z'+ updated_at: '2021-10-28T19:36:03.852Z'relationships:cms_sections:data: []@@ -1322,18 +1322,17 @@ paths:id: '5'type: cms_pageattributes:- title: Rem voluptas adipisci tempora reprehenderit dolor laborum- laboriosam.+ title: Tenetur laudantium numquam corporis dolores id praesentium.meta_title:content:meta_description:visible: true- slug: rem-voluptas-adipisci-tempora-reprehenderit-dolor-laborum-laboriosam+ slug: tenetur-laudantium-numquam-corporis-dolores-id-praesentiumtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T13:31:37.799Z'- updated_at: '2021-10-27T13:31:37.799Z'+ created_at: '2021-10-28T19:36:03.931Z'+ updated_at: '2021-10-28T19:36:03.931Z'relationships:cms_sections:data: []@@ -1389,18 +1388,17 @@ paths:id: '6'type: cms_pageattributes:- title: Molestias illo perspiciatis sit repellat exercitationem- optio neque.+ title: A qui reiciendis deleniti aperiam.meta_title:content:meta_description:visible: true- slug: molestias-illo-perspiciatis-sit-repellat-exercitationem-optio-neque+ slug: a-qui-reiciendis-deleniti-aperiamtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T13:31:37.841Z'- updated_at: '2021-10-27T13:31:37.841Z'+ created_at: '2021-10-28T19:36:03.966Z'+ updated_at: '2021-10-28T19:36:03.966Z'relationships:cms_sections:data: []@@ -1458,12 +1456,12 @@ paths:content:meta_description:visible: true- slug: illum-adipisci-sed-sequi-fugiat-quod+ slug: deleniti-eaque-amet-sequi-nihil-explicabotype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T13:31:37.896Z'- updated_at: '2021-10-27T13:31:37.905Z'+ created_at: '2021-10-28T19:36:04.019Z'+ updated_at: '2021-10-28T19:36:04.029Z'relationships:cms_sections:data: []@@ -1577,7 +1575,7 @@ paths:- id: '1'type: cms_sectionattributes:- name: Quae possimus aspernatur cumque soluta sit quaerat.+ name: Impedit harum quae ratione pariatur culpa.content: {}settings:gutters: No Gutters@@ -1586,8 +1584,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 1linked_resource_type: Spree::Taxon- created_at: '2021-10-27T13:31:38.070Z'- updated_at: '2021-10-27T13:31:38.070Z'+ created_at: '2021-10-28T19:36:04.193Z'+ updated_at: '2021-10-28T19:36:04.193Z'relationships:cms_page:data:@@ -1598,7 +1596,7 @@ paths:- id: '2'type: cms_sectionattributes:- name: Quasi accusamus praesentium nulla officiis optio reiciendis.+ name: Eaque occaecati cupiditate perferendis eius quo.content:link_type_one: Spree::Taxonlink_type_two: Spree::Taxon@@ -1610,8 +1608,8 @@ paths:type: Spree::Cms::Sections::ImageGalleryposition: 2linked_resource_type:- created_at: '2021-10-27T13:31:38.074Z'- updated_at: '2021-10-27T13:31:38.074Z'+ created_at: '2021-10-28T19:36:04.198Z'+ updated_at: '2021-10-28T19:36:04.198Z'relationships:cms_page:data:@@ -1622,8 +1620,7 @@ paths:- id: '3'type: cms_sectionattributes:- name: Quas velit dolores quisquam ipsum odit quaerat architecto- officia.+ name: Facilis doloribus ex blanditiis dolore.content: {}settings:gutters: No Gutters@@ -1632,8 +1629,8 @@ paths:type: Spree::Cms::Sections::FeaturedArticleposition: 3linked_resource_type: Spree::Taxon- created_at: '2021-10-27T13:31:38.083Z'- updated_at: '2021-10-27T13:31:38.083Z'+ created_at: '2021-10-28T19:36:04.207Z'+ updated_at: '2021-10-28T19:36:04.207Z'relationships:cms_page:data:@@ -1644,8 +1641,8 @@ paths:- id: '4'type: cms_sectionattributes:- name: Corporis alias deleniti necessitatibus accusamus distinctio- molestias molestiae.+ name: Tempore culpa sapiente minima explicabo dolores nemo+ laborum doloribus.content: {}settings:gutters: No Gutters@@ -1654,8 +1651,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-27T13:31:38.091Z'- updated_at: '2021-10-27T13:31:38.091Z'+ created_at: '2021-10-28T19:36:04.215Z'+ updated_at: '2021-10-28T19:36:04.215Z'relationships:cms_page:data:@@ -1668,7 +1665,7 @@ paths:- id: '5'type: cms_sectionattributes:- name: A maxime facilis eos veritatis nisi suscipit officia.+ name: A omnis in quas recusandae eaque tenetur impedit quibusdam.content: {}settings:gutters: No Gutters@@ -1677,8 +1674,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 5linked_resource_type: Spree::Product- created_at: '2021-10-27T13:31:38.097Z'- updated_at: '2021-10-27T13:31:38.097Z'+ created_at: '2021-10-28T19:36:04.221Z'+ updated_at: '2021-10-28T19:36:04.221Z'relationships:cms_page:data:@@ -1734,7 +1731,7 @@ paths:id: '14'type: cms_sectionattributes:- name: Possimus placeat ad impedit quisquam.+ name: Amet dolore quasi voluptatem ea.content: {}settings:gutters: No Gutters@@ -1743,8 +1740,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-27T13:31:38.261Z'- updated_at: '2021-10-27T13:31:38.261Z'+ created_at: '2021-10-28T19:36:04.383Z'+ updated_at: '2021-10-28T19:36:04.383Z'relationships:cms_page:data:@@ -1806,8 +1803,8 @@ paths:id: '21'type: cms_sectionattributes:- name: Architecto sit mollitia corporis dicta nesciunt eveniet- laboriosam eligendi.+ name: Dignissimos distinctio consequuntur nihil est saepe+ quasi sed accusantium.content: {}settings:gutters: No Gutters@@ -1816,8 +1813,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-27T13:31:38.398Z'- updated_at: '2021-10-27T13:31:38.398Z'+ created_at: '2021-10-28T19:36:04.522Z'+ updated_at: '2021-10-28T19:36:04.522Z'relationships:cms_page:data:@@ -1885,8 +1882,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-27T13:31:38.680Z'- updated_at: '2021-10-27T13:31:38.691Z'+ created_at: '2021-10-28T19:36:04.810Z'+ updated_at: '2021-10-28T19:36:04.829Z'relationships:cms_page:data:@@ -1988,7 +1985,7 @@ paths:id: '58'type: cms_sectionattributes:- name: Quod a fuga molestiae explicabo ullam commodi nam.+ name: Amet tempora harum pariatur hic.content: {}settings:gutters: No Gutters@@ -1997,8 +1994,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 3linked_resource_type: Spree::Product- created_at: '2021-10-27T13:31:39.188Z'- updated_at: '2021-10-27T13:31:39.200Z'+ created_at: '2021-10-28T19:36:05.313Z'+ updated_at: '2021-10-28T19:36:05.323Z'relationships:cms_page:data:@@ -2056,9 +2053,9 @@ paths:name: United States of Americanumcode: 840states_required: true- updated_at: '2021-10-27T13:31:39.353Z'+ updated_at: '2021-10-28T19:36:05.463Z'zipcode_required: true- created_at: '2021-10-27T13:31:39.353Z'+ created_at: '2021-10-28T19:36:05.463Z'relationships:states:data: []@@ -2071,9 +2068,9 @@ paths:name: NAME_2numcode: 840states_required: false- updated_at: '2021-10-27T13:31:39.358Z'+ updated_at: '2021-10-28T19:36:05.469Z'zipcode_required: true- created_at: '2021-10-27T13:31:39.358Z'+ created_at: '2021-10-28T19:36:05.469Z'relationships:states:data: []@@ -2086,9 +2083,9 @@ paths:name: NAME_3numcode: 840states_required: false- updated_at: '2021-10-27T13:31:39.361Z'+ updated_at: '2021-10-28T19:36:05.471Z'zipcode_required: true- created_at: '2021-10-27T13:31:39.361Z'+ created_at: '2021-10-28T19:36:05.471Z'relationships:states:data: []@@ -2143,9 +2140,9 @@ paths:name: NAME_6numcode: 840states_required: false- updated_at: '2021-10-27T13:31:39.402Z'+ updated_at: '2021-10-28T19:36:05.510Z'zipcode_required: true- created_at: '2021-10-27T13:31:39.402Z'+ created_at: '2021-10-28T19:36:05.510Z'relationships:states:data: []@@ -2197,7 +2194,7 @@ paths:- id: '1'type: digital_linkattributes:- token: PT3cbb1en6c65uEaB9RxB82A+ token: aSBxQqjkSXvDJzwUA5SUbk8Kaccess_counter: 0relationships:digital:@@ -2211,7 +2208,7 @@ paths:- id: '2'type: digital_linkattributes:- token: Vwr7YMHysF2iNyQKAKq3N5Gd+ token: AZiujVGj7SPFNXPjJz6UtDRsaccess_counter: 0relationships:digital:@@ -2261,7 +2258,7 @@ paths:id: '5'type: digital_linkattributes:- token: XuYrJBxo1GmiX2Bi2rVCgLkv+ token: nUXNpsyUuE14h1LSizKX4x7Maccess_counter: 0relationships:digital:@@ -2320,7 +2317,7 @@ paths:id: '6'type: digital_linkattributes:- token: UsqbspffePaqbVYXFoCSmAgv+ token: MvDvG541UMAgm4uYUkauXdjBaccess_counter: 0relationships:digital:@@ -2373,7 +2370,7 @@ paths:id: '8'type: digital_linkattributes:- token: QYMQcL18raVE15QXq3QEHDUk+ token: dAUVht4WcrcC9VeuZt2AodNAaccess_counter: 0relationships:digital:@@ -2476,7 +2473,7 @@ paths:id: '13'type: digital_linkattributes:- token: bSgdRGk46whcHYFZ7UHYSXww+ token: twKRGFk11Ld5fhKffEjFhGUPaccess_counter: 0relationships:digital:@@ -2542,7 +2539,7 @@ paths:- id: '15'type: digitalattributes:- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f1122f50b341e13363b63dd6e5d6b355c4ac3acb/thinking-cat.jpg"+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--dba71ec5e8eaec88033f387a3c3652d6753dcde4/thinking-cat.jpg"content_type: image/jpegfilename: thinking-cat.jpgbyte_size: 18090@@ -2554,7 +2551,7 @@ paths:- id: '16'type: digitalattributes:- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8ea397845f454870872f12b88281c4e7bc7262e9/thinking-cat.jpg"+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8fb2ded70a1d5de2f63b5a15ae55021888f43459/thinking-cat.jpg"content_type: image/jpegfilename: thinking-cat.jpgbyte_size: 18090@@ -2566,7 +2563,7 @@ paths:- id: '17'type: digitalattributes:- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--371f7a063a2dff3a23ba82a94fd01324a076b16a/thinking-cat.jpg"+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0b3834183fb39b0b9ec8b30a58c6832f4e8b7215/thinking-cat.jpg"content_type: image/jpegfilename: thinking-cat.jpgbyte_size: 18090@@ -2621,7 +2618,7 @@ paths:id: '24'type: digitalattributes:- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c68d05d7da214e6070f134cb0545d9b2d78a64f7/icon_256x256.jpg"+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a00c31874a2fbbd25eeeb6d294e98173959ebc6a/icon_256x256.jpg"content_type: image/pngfilename: icon_256x256.jpgbyte_size: 818@@ -2682,7 +2679,7 @@ paths:id: '28'type: digitalattributes:- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9438e2532af706d3ca216b1c842193e07549f64f/thinking-cat.jpg"+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0450498f672ac95244d63651faba92885baae421/thinking-cat.jpg"content_type: image/jpegfilename: thinking-cat.jpgbyte_size: 18090@@ -2740,7 +2737,7 @@ paths:id: '36'type: digitalattributes:- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--da6b88f2419aa96a2cadde1f948237258882d4b2/icon_256x256.jpg"+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f69bc41128f1c6a487edc467c429bc1207f1a5c7/icon_256x256.jpg"content_type: image/pngfilename: icon_256x256.jpgbyte_size: 818@@ -2861,8 +2858,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-27T13:31:46.241Z'- updated_at: '2021-10-27T13:31:46.249Z'+ created_at: '2021-10-28T19:36:12.350Z'+ updated_at: '2021-10-28T19:36:12.358Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2908,8 +2905,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-27T13:31:46.279Z'- updated_at: '2021-10-27T13:31:46.285Z'+ created_at: '2021-10-28T19:36:12.386Z'+ updated_at: '2021-10-28T19:36:12.390Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2998,8 +2995,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-27T13:31:46.497Z'- updated_at: '2021-10-27T13:31:46.532Z'+ created_at: '2021-10-28T19:36:12.596Z'+ updated_at: '2021-10-28T19:36:12.646Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -3097,8 +3094,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-27T13:31:46.676Z'- updated_at: '2021-10-27T13:31:46.684Z'+ created_at: '2021-10-28T19:36:12.788Z'+ updated_at: '2021-10-28T19:36:12.795Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -3190,8 +3187,8 @@ paths:attributes:quantity: 4price: '10.0'- created_at: '2021-10-27T13:31:46.911Z'- updated_at: '2021-10-27T13:31:46.950Z'+ created_at: '2021-10-28T19:36:13.015Z'+ updated_at: '2021-10-28T19:36:13.049Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -3239,10 +3236,10 @@ paths:examples:Example:value:- error: 'Quantity selected of "Product #133 - 4474" is not available.'+ error: 'Quantity selected of "Product #133 - 5950" is not available.'errors:quantity:- - 'selected of "Product #133 - 4474" is not available.'+ - 'selected of "Product #133 - 5950" is not available.''404':description: Record not foundcontent:@@ -3352,8 +3349,8 @@ paths:lft: 2rgt: 3depth: 1- created_at: '2021-10-27T13:31:47.528Z'- updated_at: '2021-10-27T13:31:47.532Z'+ created_at: '2021-10-28T19:36:13.645Z'+ updated_at: '2021-10-28T19:36:13.649Z'link:is_container: falseis_root: false@@ -3389,8 +3386,8 @@ paths:lft: 4rgt: 5depth: 1- created_at: '2021-10-27T13:31:47.578Z'- updated_at: '2021-10-27T13:31:47.582Z'+ created_at: '2021-10-28T19:36:13.701Z'+ updated_at: '2021-10-28T19:36:13.705Z'link:is_container: falseis_root: false@@ -3426,8 +3423,8 @@ paths:lft: 6rgt: 7depth: 1- created_at: '2021-10-27T13:31:47.638Z'- updated_at: '2021-10-27T13:31:47.643Z'+ created_at: '2021-10-28T19:36:13.762Z'+ updated_at: '2021-10-28T19:36:13.766Z'link:is_container: falseis_root: false@@ -3463,8 +3460,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-27T13:31:47.691Z'- updated_at: '2021-10-27T13:31:47.696Z'+ created_at: '2021-10-28T19:36:13.811Z'+ updated_at: '2021-10-28T19:36:13.816Z'link:is_container: falseis_root: false@@ -3500,8 +3497,8 @@ paths:lft: 10rgt: 11depth: 1- created_at: '2021-10-27T13:31:47.741Z'- updated_at: '2021-10-27T13:31:47.745Z'+ created_at: '2021-10-28T19:36:13.865Z'+ updated_at: '2021-10-28T19:36:13.870Z'link:is_container: falseis_root: false@@ -3537,8 +3534,8 @@ paths:lft: 12rgt: 13depth: 1- created_at: '2021-10-27T13:31:47.807Z'- updated_at: '2021-10-27T13:31:47.812Z'+ created_at: '2021-10-28T19:36:13.917Z'+ updated_at: '2021-10-28T19:36:13.921Z'link:is_container: falseis_root: false@@ -3574,8 +3571,8 @@ paths:lft: 14rgt: 15depth: 1- created_at: '2021-10-27T13:31:47.860Z'- updated_at: '2021-10-27T13:31:47.864Z'+ created_at: '2021-10-28T19:36:13.968Z'+ updated_at: '2021-10-28T19:36:13.972Z'link:is_container: falseis_root: false@@ -3601,7 +3598,7 @@ paths:- id: '1'type: menu_itemattributes:- name: Ipsam eligendi corporis ad dolore doloremque et repellat.+ name: Doloremque dolorum in esse aliquid adipisci magnam veniam.subtitle:destination:new_window: false@@ -3611,8 +3608,8 @@ paths:lft: 1rgt: 16depth: 0- created_at: '2021-10-27T13:31:47.478Z'- updated_at: '2021-10-27T13:31:47.874Z'+ created_at: '2021-10-28T19:36:13.588Z'+ updated_at: '2021-10-28T19:36:13.980Z'link:is_container: trueis_root: true@@ -3701,8 +3698,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-27T13:31:48.480Z'- updated_at: '2021-10-27T13:31:48.483Z'+ created_at: '2021-10-28T19:36:14.590Z'+ updated_at: '2021-10-28T19:36:14.594Z'link:is_container: falseis_root: false@@ -3788,8 +3785,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-27T13:31:48.904Z'- updated_at: '2021-10-27T13:31:48.909Z'+ created_at: '2021-10-28T19:36:15.004Z'+ updated_at: '2021-10-28T19:36:15.008Z'link:is_container: falseis_root: false@@ -3871,8 +3868,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-27T13:31:49.558Z'- updated_at: '2021-10-27T13:31:49.581Z'+ created_at: '2021-10-28T19:36:15.794Z'+ updated_at: '2021-10-28T19:36:15.817Z'link:is_container: falseis_root: false@@ -3997,8 +3994,8 @@ paths:lft: 5rgt: 6depth: 2- created_at: '2021-10-27T13:31:51.154Z'- updated_at: '2021-10-27T13:31:51.177Z'+ created_at: '2021-10-28T19:36:17.434Z'+ updated_at: '2021-10-28T19:36:17.458Z'link:is_container: falseis_root: false@@ -4090,25 +4087,25 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-27T13:31:51.632Z'- updated_at: '2021-10-27T13:31:51.741Z'+ created_at: '2021-10-28T19:36:17.944Z'+ updated_at: '2021-10-28T19:36:18.085Z'relationships:menu_items:data:- - id: '89'- type: menu_item- id: '87'type: menu_item- id: '90'type: menu_item+ - id: '89'+ type: menu_item- id: '19'type: menuattributes:name: Footer Menulocation: footerlocale: en- created_at: '2021-10-27T13:31:51.641Z'- updated_at: '2021-10-27T13:31:51.839Z'+ created_at: '2021-10-28T19:36:17.953Z'+ updated_at: '2021-10-28T19:36:18.230Z'relationships:menu_items:data:@@ -4167,8 +4164,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-27T13:31:52.130Z'- updated_at: '2021-10-27T13:31:52.137Z'+ created_at: '2021-10-28T19:36:18.572Z'+ updated_at: '2021-10-28T19:36:18.581Z'relationships:menu_items:data:@@ -4232,8 +4229,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-27T13:31:52.175Z'- updated_at: '2021-10-27T13:31:52.182Z'+ created_at: '2021-10-28T19:36:18.618Z'+ updated_at: '2021-10-28T19:36:18.625Z'relationships:menu_items:data:@@ -4291,8 +4288,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-27T13:31:52.248Z'- updated_at: '2021-10-27T13:31:52.255Z'+ created_at: '2021-10-28T19:36:18.688Z'+ updated_at: '2021-10-28T19:36:18.695Z'relationships:menu_items:data:@@ -4415,8 +4412,8 @@ paths:name: foo-size-68presentation: Sizeposition: 1- created_at: '2021-10-27T13:31:52.475Z'- updated_at: '2021-10-27T13:31:52.475Z'+ created_at: '2021-10-28T19:36:18.868Z'+ updated_at: '2021-10-28T19:36:18.868Z'filterable: truerelationships:option_values:@@ -4427,8 +4424,8 @@ paths:name: foo-size-69presentation: Sizeposition: 2- created_at: '2021-10-27T13:31:52.481Z'- updated_at: '2021-10-27T13:31:52.481Z'+ created_at: '2021-10-28T19:36:18.870Z'+ updated_at: '2021-10-28T19:36:18.870Z'filterable: truerelationships:option_values:@@ -4475,8 +4472,8 @@ paths:name: foo-size-72presentation: Sizeposition: 1- created_at: '2021-10-27T13:31:52.558Z'- updated_at: '2021-10-27T13:31:52.558Z'+ created_at: '2021-10-28T19:36:18.930Z'+ updated_at: '2021-10-28T19:36:18.930Z'filterable: truerelationships:option_values:@@ -4529,8 +4526,8 @@ paths:name: foo-size-73presentation: Sizeposition: 1- created_at: '2021-10-27T13:31:52.590Z'- updated_at: '2021-10-27T13:31:52.590Z'+ created_at: '2021-10-28T19:36:18.963Z'+ updated_at: '2021-10-28T19:36:18.963Z'filterable: truerelationships:option_values:@@ -4580,8 +4577,8 @@ paths:name: Size-Xpresentation: Sizeposition: 1- created_at: '2021-10-27T13:31:52.643Z'- updated_at: '2021-10-27T13:31:52.650Z'+ created_at: '2021-10-28T19:36:19.015Z'+ updated_at: '2021-10-28T19:36:19.021Z'filterable: truerelationships:option_values:@@ -4705,8 +4702,8 @@ paths:position: 1name: Size-68presentation: S- created_at: '2021-10-27T13:31:52.765Z'- updated_at: '2021-10-27T13:31:52.765Z'+ created_at: '2021-10-28T19:36:19.139Z'+ updated_at: '2021-10-28T19:36:19.139Z'relationships:option_type:data:@@ -4718,8 +4715,8 @@ paths:position: 1name: Size-69presentation: S- created_at: '2021-10-27T13:31:52.772Z'- updated_at: '2021-10-27T13:31:52.772Z'+ created_at: '2021-10-28T19:36:19.145Z'+ updated_at: '2021-10-28T19:36:19.145Z'relationships:option_type:data:@@ -4774,8 +4771,8 @@ paths:position: 1name: Size-72presentation: S- created_at: '2021-10-27T13:31:52.828Z'- updated_at: '2021-10-27T13:31:52.828Z'+ created_at: '2021-10-28T19:36:19.202Z'+ updated_at: '2021-10-28T19:36:19.202Z'relationships:option_type:data:@@ -4834,8 +4831,8 @@ paths:position: 1name: Size-73presentation: S- created_at: '2021-10-27T13:31:52.863Z'- updated_at: '2021-10-27T13:31:52.863Z'+ created_at: '2021-10-28T19:36:19.240Z'+ updated_at: '2021-10-28T19:36:19.240Z'relationships:option_type:data:@@ -4893,8 +4890,8 @@ paths:position: 1name: Mpresentation: S- created_at: '2021-10-27T13:31:52.930Z'- updated_at: '2021-10-27T13:31:52.939Z'+ created_at: '2021-10-28T19:36:19.307Z'+ updated_at: '2021-10-28T19:36:19.317Z'relationships:option_type:data:@@ -5010,7 +5007,7 @@ paths:- id: '40'type: orderattributes:- number: R132349629+ number: R771309556item_total: '0.0'total: '0.0'state: cart@@ -5019,10 +5016,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:53.080Z'- updated_at: '2021-10-27T13:31:53.080Z'+ created_at: '2021-10-28T19:36:19.447Z'+ updated_at: '2021-10-28T19:36:19.447Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5094,7 +5091,7 @@ paths:- id: '41'type: orderattributes:- number: R631232188+ number: R145875200item_total: '0.0'total: '0.0'state: cart@@ -5103,10 +5100,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:53.089Z'- updated_at: '2021-10-27T13:31:53.089Z'+ created_at: '2021-10-28T19:36:19.455Z'+ updated_at: '2021-10-28T19:36:19.455Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5221,7 +5218,7 @@ paths:id: '44'type: orderattributes:- number: R849404598+ number: R525040329item_total: '0.0'total: '0.0'state: cart@@ -5232,8 +5229,8 @@ paths:payment_state:email:special_instructions:- created_at: '2021-10-27T13:31:53.382Z'- updated_at: '2021-10-27T13:31:53.399Z'+ created_at: '2021-10-28T19:36:19.731Z'+ updated_at: '2021-10-28T19:36:19.747Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5345,7 +5342,7 @@ paths:id: '45'type: orderattributes:- number: R715796155+ number: R659926532item_total: '10.0'total: '110.0'state: delivery@@ -5354,10 +5351,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:53.439Z'- updated_at: '2021-10-27T13:31:53.597Z'+ created_at: '2021-10-28T19:36:19.783Z'+ updated_at: '2021-10-28T19:36:19.920Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5481,7 +5478,7 @@ paths:id: '47'type: orderattributes:- number: R107401263+ number: R627980813item_total: '10.0'total: '110.0'state: delivery@@ -5492,8 +5489,8 @@ paths:payment_state:email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:53.764Z'- updated_at: '2021-10-27T13:31:53.859Z'+ created_at: '2021-10-28T19:36:20.079Z'+ updated_at: '2021-10-28T19:36:20.173Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5667,7 +5664,7 @@ paths:id: '52'type: orderattributes:- number: R121925304+ number: R584600447item_total: '10.0'total: '110.0'state: payment@@ -5676,10 +5673,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:54.420Z'- updated_at: '2021-10-27T13:31:54.546Z'+ created_at: '2021-10-28T19:36:20.761Z'+ updated_at: '2021-10-28T19:36:20.889Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5806,7 +5803,7 @@ paths:id: '54'type: orderattributes:- number: R287370490+ number: R171333732item_total: '10.0'total: '110.0'state: payment@@ -5815,10 +5812,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:54.718Z'- updated_at: '2021-10-27T13:31:54.846Z'+ created_at: '2021-10-28T19:36:21.054Z'+ updated_at: '2021-10-28T19:36:21.183Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5945,19 +5942,19 @@ paths:id: '56'type: orderattributes:- number: R352143527+ number: R397365204item_total: '10.0'total: '110.0'state: completeadjustment_total: '0.0'- completed_at: '2021-10-27T13:31:55.205Z'+ completed_at: '2021-10-28T19:36:21.561Z'payment_total: '0.0'shipment_state: pendingpayment_state: balance_due- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:55.001Z'- updated_at: '2021-10-27T13:31:55.205Z'+ created_at: '2021-10-28T19:36:21.350Z'+ updated_at: '2021-10-28T19:36:21.561Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6095,7 +6092,7 @@ paths:id: '59'type: orderattributes:- number: R273476849+ number: R567534996item_total: '0.0'total: '0.0'state: cart@@ -6104,10 +6101,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:55.498Z'- updated_at: '2021-10-27T13:31:55.610Z'+ created_at: '2021-10-28T19:36:21.861Z'+ updated_at: '2021-10-28T19:36:21.959Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -6229,7 +6226,7 @@ paths:id: '61'type: orderattributes:- number: R868029436+ number: R513087009item_total: '10.0'total: '110.0'state: delivery@@ -6238,10 +6235,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:55.768Z'- updated_at: '2021-10-27T13:31:55.850Z'+ created_at: '2021-10-28T19:36:22.117Z'+ updated_at: '2021-10-28T19:36:22.197Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6367,19 +6364,19 @@ paths:id: '63'type: orderattributes:- number: R480379178+ number: R030462067item_total: '10.0'total: '10.0'state: canceledadjustment_total: '0.0'- completed_at: '2021-10-27T13:31:56.105Z'+ completed_at: '2021-10-28T19:36:22.467Z'payment_total: '0.0'shipment_state: canceledpayment_state: void- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:56.008Z'- updated_at: '2021-10-27T13:31:56.160Z'+ created_at: '2021-10-28T19:36:22.368Z'+ updated_at: '2021-10-28T19:36:22.523Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -6521,7 +6518,7 @@ paths:id: '66'type: orderattributes:- number: R257136277+ number: R171698424item_total: '10.0'total: '110.0'state: delivery@@ -6530,10 +6527,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:56.429Z'- updated_at: '2021-10-27T13:31:56.585Z'+ created_at: '2021-10-28T19:36:22.802Z'+ updated_at: '2021-10-28T19:36:22.949Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6674,7 +6671,7 @@ paths:id: '69'type: orderattributes:- number: R936647489+ number: R756410421item_total: '10.0'total: '10.0'state: delivery@@ -6683,10 +6680,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T13:31:56.914Z'- updated_at: '2021-10-27T13:31:57.043Z'+ created_at: '2021-10-28T19:36:23.289Z'+ updated_at: '2021-10-28T19:36:23.427Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6850,9 +6847,9 @@ paths:state: invalidresponse_code: '12345'avs_response:- created_at: '2021-10-27T13:31:57.374Z'- updated_at: '2021-10-27T13:31:57.394Z'- number: PYTDPQGQ+ created_at: '2021-10-28T19:36:23.750Z'+ updated_at: '2021-10-28T19:36:23.769Z'+ number: P3BSGRUOcvv_response_code:cvv_response_message:display_amount: "$45.75"@@ -6887,9 +6884,9 @@ paths:state: checkoutresponse_code: '12345'avs_response:- created_at: '2021-10-27T13:31:57.391Z'- updated_at: '2021-10-27T13:31:57.391Z'- number: PEVP9G8U+ created_at: '2021-10-28T19:36:23.766Z'+ updated_at: '2021-10-28T19:36:23.766Z'+ number: P7BUW1FZcvv_response_code:cvv_response_message:display_amount: "$45.75"@@ -6971,9 +6968,9 @@ paths:state: checkoutresponse_code: '12345'avs_response:- created_at: '2021-10-27T13:31:57.552Z'- updated_at: '2021-10-27T13:31:57.552Z'- number: PN6OWG8Q+ created_at: '2021-10-28T19:36:23.911Z'+ updated_at: '2021-10-28T19:36:23.911Z'+ number: PE7PXG20cvv_response_code:cvv_response_message:display_amount: "$45.75"@@ -7099,8 +7096,8 @@ paths:type: promotion_categoryattributes:name: Promotion Category- created_at: '2021-10-27T13:31:57.758Z'- updated_at: '2021-10-27T13:31:57.758Z'+ created_at: '2021-10-28T19:36:24.117Z'+ updated_at: '2021-10-28T19:36:24.117Z'code: POP123relationships:promotions:@@ -7109,8 +7106,8 @@ paths:type: promotion_categoryattributes:name: Promotion Category- created_at: '2021-10-27T13:31:57.760Z'- updated_at: '2021-10-27T13:31:57.760Z'+ created_at: '2021-10-28T19:36:24.119Z'+ updated_at: '2021-10-28T19:36:24.119Z'code: POP123relationships:promotions:@@ -7162,8 +7159,8 @@ paths:type: promotion_categoryattributes:name: Promotion Category- created_at: '2021-10-27T13:31:57.805Z'- updated_at: '2021-10-27T13:31:57.805Z'+ created_at: '2021-10-28T19:36:24.164Z'+ updated_at: '2021-10-28T19:36:24.164Z'code: 2021-BFMrelationships:promotions:@@ -7219,8 +7216,8 @@ paths:type: promotion_categoryattributes:name: Promotion Category- created_at: '2021-10-27T13:31:57.832Z'- updated_at: '2021-10-27T13:31:57.832Z'+ created_at: '2021-10-28T19:36:24.193Z'+ updated_at: '2021-10-28T19:36:24.193Z'code: MJOrelationships:promotions:@@ -7275,8 +7272,8 @@ paths:type: promotion_categoryattributes:name: 2021 Promotions- created_at: '2021-10-27T13:31:57.885Z'- updated_at: '2021-10-27T13:31:57.891Z'+ created_at: '2021-10-28T19:36:24.243Z'+ updated_at: '2021-10-28T19:36:24.249Z'code: 2021-Promosrelationships:promotions:@@ -7392,12 +7389,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H30144252285+ number: H15181615707cost: '100.0'shipped_at:state: pending- created_at: '2021-10-27T13:31:58.005Z'- updated_at: '2021-10-27T13:31:58.008Z'+ created_at: '2021-10-28T19:36:24.376Z'+ updated_at: '2021-10-28T19:36:24.379Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7439,12 +7436,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H84778764804+ number: H73918604530cost: '100.0'shipped_at:state: pending- created_at: '2021-10-27T13:31:58.037Z'- updated_at: '2021-10-27T13:31:58.040Z'+ created_at: '2021-10-28T19:36:24.407Z'+ updated_at: '2021-10-28T19:36:24.411Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7535,12 +7532,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H07754997312+ number: H98040698333cost: '100.0'shipped_at:state: pending- created_at: '2021-10-27T13:31:58.337Z'- updated_at: '2021-10-27T13:31:58.356Z'+ created_at: '2021-10-28T19:36:24.702Z'+ updated_at: '2021-10-28T19:36:24.721Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7664,12 +7661,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H09013268977+ number: H40076726626cost: '100.0'shipped_at:state: ready- created_at: '2021-10-27T13:31:59.179Z'- updated_at: '2021-10-27T13:31:59.209Z'+ created_at: '2021-10-28T19:36:25.513Z'+ updated_at: '2021-10-28T19:36:25.543Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7762,12 +7759,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H06874625516+ number: H16165867301cost: '100.0'- shipped_at: '2021-10-27T13:31:59.645Z'+ shipped_at: '2021-10-28T19:36:25.956Z'state: shipped- created_at: '2021-10-27T13:31:59.610Z'- updated_at: '2021-10-27T13:31:59.645Z'+ created_at: '2021-10-28T19:36:25.924Z'+ updated_at: '2021-10-28T19:36:25.956Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7860,12 +7857,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H32208767429+ number: H53058550650cost: '100.0'shipped_at:state: canceled- created_at: '2021-10-27T13:32:00.032Z'- updated_at: '2021-10-27T13:32:00.062Z'+ created_at: '2021-10-28T19:36:26.349Z'+ updated_at: '2021-10-28T19:36:26.380Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7958,12 +7955,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H60784582947+ number: H08845897575cost: '100.0'shipped_at:state: ready- created_at: '2021-10-27T13:32:00.470Z'- updated_at: '2021-10-27T13:32:00.499Z'+ created_at: '2021-10-28T19:36:26.784Z'+ updated_at: '2021-10-28T19:36:26.809Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -8056,12 +8053,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H93224734657+ number: H66582241380cost: '100.0'shipped_at:state: pending- created_at: '2021-10-27T13:32:00.891Z'- updated_at: '2021-10-27T13:32:00.914Z'+ created_at: '2021-10-28T19:36:27.197Z'+ updated_at: '2021-10-28T19:36:27.224Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -8158,14 +8155,14 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #119'- created_at: '2021-10-27T13:32:01.138Z'- updated_at: '2021-10-27T13:32:01.138Z'+ created_at: '2021-10-28T19:36:27.447Z'+ updated_at: '2021-10-28T19:36:27.447Z'- id: '120'type: shipping_categoryattributes:name: 'ShippingCategory #120'- created_at: '2021-10-27T13:32:01.139Z'- updated_at: '2021-10-27T13:32:01.139Z'+ created_at: '2021-10-28T19:36:27.448Z'+ updated_at: '2021-10-28T19:36:27.448Z'meta:count: 2total_count: 2@@ -8206,8 +8203,8 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #123'- created_at: '2021-10-27T13:32:01.188Z'- updated_at: '2021-10-27T13:32:01.188Z'+ created_at: '2021-10-28T19:36:27.491Z'+ updated_at: '2021-10-28T19:36:27.491Z''422':description: invalid requestcontent:@@ -8252,8 +8249,8 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #124'- created_at: '2021-10-27T13:32:01.219Z'- updated_at: '2021-10-27T13:32:01.219Z'+ created_at: '2021-10-28T19:36:27.526Z'+ updated_at: '2021-10-28T19:36:27.526Z''404':description: Record not foundcontent:@@ -8297,8 +8294,8 @@ paths:type: shipping_categoryattributes:name: Default- created_at: '2021-10-27T13:32:01.271Z'- updated_at: '2021-10-27T13:32:01.277Z'+ created_at: '2021-10-28T19:36:27.581Z'+ updated_at: '2021-10-28T19:36:27.588Z''422':description: invalid requestcontent:@@ -8420,6 +8417,9 @@ paths:admin_name:display_on: bothtracking_url:+ created_at: '2021-10-28T19:36:27.705Z'+ updated_at: '2021-10-28T19:36:27.705Z'+ deleted_at:relationships:shipping_categories:data:@@ -8441,6 +8441,9 @@ paths:admin_name:display_on: bothtracking_url:+ created_at: '2021-10-28T19:36:27.714Z'+ updated_at: '2021-10-28T19:36:27.714Z'+ deleted_at:relationships:shipping_categories:data:@@ -8505,6 +8508,9 @@ paths:admin_name: DHL Express- Zone Adisplay_on: bothtracking_url:+ created_at: '2021-10-28T19:36:27.797Z'+ updated_at: '2021-10-28T19:36:27.797Z'+ deleted_at:relationships:shipping_categories:data:@@ -8583,6 +8589,9 @@ paths:admin_name:display_on: bothtracking_url:+ created_at: '2021-10-28T19:36:27.838Z'+ updated_at: '2021-10-28T19:36:27.838Z'+ deleted_at:relationships:shipping_categories:data:@@ -8650,6 +8659,9 @@ paths:admin_name:display_on: bothtracking_url:+ created_at: '2021-10-28T19:36:27.905Z'+ updated_at: '2021-10-28T19:36:27.918Z'+ deleted_at:relationships:shipping_categories:data:@@ -8785,8 +8797,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-27T13:32:01.831Z'- updated_at: '2021-10-27T13:32:01.835Z'+ created_at: '2021-10-28T19:36:28.132Z'+ updated_at: '2021-10-28T19:36:28.136Z'meta_title:meta_description:meta_keywords:@@ -8820,8 +8832,8 @@ paths:lft: 4rgt: 5description:- created_at: '2021-10-27T13:32:01.882Z'- updated_at: '2021-10-27T13:32:01.886Z'+ created_at: '2021-10-28T19:36:28.188Z'+ updated_at: '2021-10-28T19:36:28.193Z'meta_title:meta_description:meta_keywords:@@ -8855,8 +8867,8 @@ paths:lft: 1rgt: 6description:- created_at: '2021-10-27T13:32:01.772Z'- updated_at: '2021-10-27T13:32:01.895Z'+ created_at: '2021-10-28T19:36:28.079Z'+ updated_at: '2021-10-28T19:36:28.202Z'meta_title:meta_description:meta_keywords:@@ -8933,8 +8945,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-27T13:32:02.095Z'- updated_at: '2021-10-27T13:32:02.098Z'+ created_at: '2021-10-28T19:36:28.432Z'+ updated_at: '2021-10-28T19:36:28.436Z'meta_title:meta_description:meta_keywords:@@ -9015,8 +9027,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-27T13:32:02.194Z'- updated_at: '2021-10-27T13:32:02.208Z'+ created_at: '2021-10-28T19:36:28.532Z'+ updated_at: '2021-10-28T19:36:28.535Z'meta_title:meta_description:meta_keywords:@@ -9098,8 +9110,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-27T13:32:02.412Z'- updated_at: '2021-10-27T13:32:02.437Z'+ created_at: '2021-10-28T19:36:28.738Z'+ updated_at: '2021-10-28T19:36:28.762Z'meta_title:meta_description:meta_keywords:@@ -9240,9 +9252,9 @@ paths:- id: '97'type: userattributes:- email: [email protected]- created_at: '2021-10-27T13:32:02.872Z'- updated_at: '2021-10-27T13:32:02.872Z'+ email: [email protected]+ created_at: '2021-10-28T19:36:29.210Z'+ updated_at: '2021-10-28T19:36:29.210Z'average_order_value: []lifetime_value: []store_credits: []@@ -9254,9 +9266,9 @@ paths:- id: '98'type: userattributes:- email: [email protected]- created_at: '2021-10-27T13:32:02.878Z'- updated_at: '2021-10-27T13:32:02.878Z'+ email: [email protected]+ created_at: '2021-10-28T19:36:29.216Z'+ updated_at: '2021-10-28T19:36:29.216Z'average_order_value: []lifetime_value: []store_credits: []@@ -9268,9 +9280,9 @@ paths:- id: '99'type: userattributes:- email: [email protected]- created_at: '2021-10-27T13:32:02.879Z'- updated_at: '2021-10-27T13:32:02.879Z'+ email: [email protected]+ created_at: '2021-10-28T19:36:29.217Z'+ updated_at: '2021-10-28T19:36:29.217Z'average_order_value: []lifetime_value: []store_credits: []@@ -9325,9 +9337,9 @@ paths:id: '104'type: userattributes:- email: [email protected]- created_at: '2021-10-27T13:32:02.943Z'- updated_at: '2021-10-27T13:32:02.943Z'+ email: [email protected]+ created_at: '2021-10-28T19:36:29.280Z'+ updated_at: '2021-10-28T19:36:29.280Z'average_order_value: []lifetime_value: []store_credits: []@@ -9386,9 +9398,9 @@ paths:id: '107'type: userattributes:- email: [email protected]- created_at: '2021-10-27T13:32:02.988Z'- updated_at: '2021-10-27T13:32:02.988Z'+ email: [email protected]+ created_at: '2021-10-28T19:36:29.324Z'+ updated_at: '2021-10-28T19:36:29.324Z'average_order_value: []lifetime_value: []store_credits: []@@ -9447,8 +9459,8 @@ paths:type: userattributes:email: [email protected]- created_at: '2021-10-27T13:32:03.062Z'- updated_at: '2021-10-27T13:32:03.071Z'+ created_at: '2021-10-28T19:36:29.398Z'+ updated_at: '2021-10-28T19:36:29.407Z'average_order_value: []lifetime_value: []store_credits: []@@ -9583,12 +9595,12 @@ paths:position: 1cost_currency: USDtrack_inventory: true- updated_at: '2021-10-27T13:32:03.282Z'+ updated_at: '2021-10-28T19:36:29.606Z'discontinue_on:- created_at: '2021-10-27T13:32:03.275Z'+ created_at: '2021-10-28T19:36:29.600Z'display_price: "$19.99"display_compare_at_price:- name: 'Product #184 - 6208'+ name: 'Product #184 - 5142'options_text: ''total_on_hand: 0purchasable: true@@ -9623,21 +9635,21 @@ paths:type: variantattributes:sku: SKU-252- weight: '129.97'- height: '37.82'- depth: '12.2'+ weight: '195.33'+ height: '104.9'+ depth: '88.92'deleted_at:is_master: falsecost_price: '17.0'position: 2cost_currency: USDtrack_inventory: true- updated_at: '2021-10-27T13:32:03.315Z'+ updated_at: '2021-10-28T19:36:29.634Z'discontinue_on:- created_at: '2021-10-27T13:32:03.307Z'+ created_at: '2021-10-28T19:36:29.628Z'display_price: "$19.99"display_compare_at_price:- name: 'Product #184 - 6208'+ name: 'Product #184 - 5142'options_text: 'Size: S'total_on_hand: 0purchasable: true@@ -9674,21 +9686,21 @@ paths:type: variantattributes:sku: SKU-253- weight: '7.34'- height: '193.42'- depth: '100.87'+ weight: '128.46'+ height: '194.81'+ depth: '80.57'deleted_at:is_master: falsecost_price: '17.0'position: 3cost_currency: USDtrack_inventory: true- updated_at: '2021-10-27T13:32:03.383Z'+ updated_at: '2021-10-28T19:36:29.661Z'discontinue_on:- created_at: '2021-10-27T13:32:03.364Z'+ created_at: '2021-10-28T19:36:29.654Z'display_price: "$19.99"display_compare_at_price:- name: 'Product #184 - 6208'+ name: 'Product #184 - 5142'options_text: 'Size: S'total_on_hand: 0purchasable: true@@ -9774,21 +9786,21 @@ paths:type: variantattributes:sku: SKU-258- weight: '196.4'- height: '138.84'- depth: '73.59'+ weight: '56.86'+ height: '67.95'+ depth: '51.88'deleted_at:is_master: falsecost_price: '17.0'position: 2cost_currency: USDtrack_inventory: true- updated_at: '2021-10-27T13:32:03.627Z'+ updated_at: '2021-10-28T19:36:29.868Z'discontinue_on:- created_at: '2021-10-27T13:32:03.622Z'+ created_at: '2021-10-28T19:36:29.861Z'display_price: "$19.99"display_compare_at_price:- name: 'Product #186 - 960'+ name: 'Product #186 - 7905'options_text: 'Size: S'total_on_hand: 0purchasable: true@@ -9906,8 +9918,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T13:32:03.997Z'- updated_at: '2021-10-27T13:32:03.997Z'+ created_at: '2021-10-28T19:36:30.208Z'+ updated_at: '2021-10-28T19:36:30.208Z'- id: '2'type: subscriberattributes:@@ -9915,8 +9927,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T13:32:04.000Z'- updated_at: '2021-10-27T13:32:04.000Z'+ created_at: '2021-10-28T19:36:30.211Z'+ updated_at: '2021-10-28T19:36:30.211Z'meta:count: 2total_count: 2@@ -9960,8 +9972,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T13:32:04.042Z'- updated_at: '2021-10-27T13:32:04.042Z'+ created_at: '2021-10-28T19:36:30.344Z'+ updated_at: '2021-10-28T19:36:30.344Z''422':description: invalid requestcontent:@@ -10012,8 +10024,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T13:32:04.069Z'- updated_at: '2021-10-27T13:32:04.069Z'+ created_at: '2021-10-28T19:36:30.377Z'+ updated_at: '2021-10-28T19:36:30.377Z''404':description: Record not foundcontent:@@ -10060,8 +10072,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T13:32:04.113Z'- updated_at: '2021-10-27T13:32:04.113Z'+ created_at: '2021-10-28T19:36:30.424Z'+ updated_at: '2021-10-28T19:36:30.424Z''422':description: invalid requestcontent:@@ -10170,8 +10182,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T13:32:04.356Z'- updated_at: '2021-10-27T13:32:04.356Z'+ created_at: '2021-10-28T19:36:30.673Z'+ updated_at: '2021-10-28T19:36:30.673Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -10185,8 +10197,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T13:32:04.403Z'- updated_at: '2021-10-27T13:32:04.403Z'+ created_at: '2021-10-28T19:36:30.727Z'+ updated_at: '2021-10-28T19:36:30.727Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -10200,8 +10212,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T13:32:04.449Z'- updated_at: '2021-10-27T13:32:04.449Z'+ created_at: '2021-10-28T19:36:30.787Z'+ updated_at: '2021-10-28T19:36:30.787Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -10215,8 +10227,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T13:32:04.495Z'- updated_at: '2021-10-27T13:32:04.495Z'+ created_at: '2021-10-28T19:36:30.842Z'+ updated_at: '2021-10-28T19:36:30.842Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -10273,8 +10285,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T13:32:04.848Z'- updated_at: '2021-10-27T13:32:04.848Z'+ created_at: '2021-10-28T19:36:31.223Z'+ updated_at: '2021-10-28T19:36:31.223Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -10340,8 +10352,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T13:32:05.043Z'- updated_at: '2021-10-27T13:32:05.043Z'+ created_at: '2021-10-28T19:36:31.448Z'+ updated_at: '2021-10-28T19:36:31.448Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -10401,8 +10413,8 @@ paths:type: wished_itemattributes:quantity: 3- created_at: '2021-10-27T13:32:05.370Z'- updated_at: '2021-10-27T13:32:05.378Z'+ created_at: '2021-10-28T19:36:31.809Z'+ updated_at: '2021-10-28T19:36:31.818Z'display_total: "$59.97"display_price: "$19.99"price: '19.99'@@ -10525,9 +10537,9 @@ paths:name: Black Fridayis_private: trueis_default: false- created_at: '2021-10-27T13:32:06.080Z'- updated_at: '2021-10-27T13:32:06.080Z'- token: Yf76pYwAgfNxo2TUyr2b3uSx+ created_at: '2021-10-28T19:36:32.548Z'+ updated_at: '2021-10-28T19:36:32.548Z'+ token: iasvTx1u4sDaMccwZiXMC3ayvariant_included: falserelationships:wished_items:@@ -10542,9 +10554,9 @@ paths:name: Birthdayis_private: trueis_default: false- created_at: '2021-10-27T13:32:06.081Z'- updated_at: '2021-10-27T13:32:06.081Z'- token: gx7x85wyLq3xixfWwBW9oAad+ created_at: '2021-10-28T19:36:32.550Z'+ updated_at: '2021-10-28T19:36:32.550Z'+ token: cGDi7CgzXBMV3o3oexukDW9gvariant_included: falserelationships:wished_items:@@ -10602,9 +10614,9 @@ paths:name: Wishlist_26is_private: trueis_default: false- created_at: '2021-10-27T13:32:06.528Z'- updated_at: '2021-10-27T13:32:06.528Z'- token: DV3L27aYWyYhfwg19rPq6SgD+ created_at: '2021-10-28T19:36:33.035Z'+ updated_at: '2021-10-28T19:36:33.035Z'+ token: hTi5Twg4Rx7meBiZpHrL8Nb1variant_included: falserelationships:wished_items:@@ -10664,9 +10676,9 @@ paths:name: My Wishlistis_private: trueis_default: false- created_at: '2021-10-27T13:32:06.564Z'- updated_at: '2021-10-27T13:32:06.564Z'- token: yuJZq4c6PaksYLuC9dBNAkwA+ created_at: '2021-10-28T19:36:33.072Z'+ updated_at: '2021-10-28T19:36:33.072Z'+ token: y8mYjhJJNihWuynKd9jW3PJyvariant_included: falserelationships:wished_items:@@ -10723,9 +10735,9 @@ paths:name: My Super Wishlistis_private: trueis_default: false- created_at: '2021-10-27T13:32:06.620Z'- updated_at: '2021-10-27T13:32:06.628Z'- token: jJ8rNdgdY23EfvC8WEamhDeA+ created_at: '2021-10-28T19:36:33.139Z'+ updated_at: '2021-10-28T19:36:33.148Z'+ token: wfSqdXfQxxM7Y2DJ7GjKkL9Hvariant_included: falserelationships:wished_items:@@ -11029,7 +11041,7 @@ components:completed_at:type: stringformat: date_time- example: 2021-10-27 13:31:33 UTC+ example: 2021-10-28 19:35:59 UTCbill_address_id:type: stringexample: '1'@@ -11097,7 +11109,7 @@ components:approved_at:type: stringformat: date_time- example: 2021-10-27 13:31:33 UTC+ example: 2021-10-28 19:35:59 UTCconfirmation_delivered:type: booleanexample: truediff --git a/api/spec/serializers/spree/api/v2/platform/shipping_method_serializer_spec.rb b/api/spec/serializers/spree/api/v2/platform/shipping_method_serializer_spec.rbindex 238089a22c..0e8030d130 100644--- a/api/spec/serializers/spree/api/v2/platform/shipping_method_serializer_spec.rb+++ b/api/spec/serializers/spree/api/v2/platform/shipping_method_serializer_spec.rb@@ -5,7 +5,57 @@ describe Spree::Api::V2::Platform::ShippingMethodSerializer dosubject { described_class.new(resource, params: serializer_params) }- let(:resource) { create(:shipping_method) }+ let(:shipping_category) {create(:shipping_category) }+ let(:tax_category) { create(:tax_category) }++ let(:resource) { create(:shipping_method, shipping_categories: [shipping_category], tax_category: tax_category) }it { expect(subject.serializable_hash).to be_kind_of(Hash) }-end\ No newline at end of file++ it do+ expect(subject.serializable_hash).to eq(+ {+ data: {+ id: resource.id.to_s,+ type: :shipping_method,+ attributes: {+ name: resource.name,+ code: resource.code,+ admin_name: resource.admin_name,+ display_on: resource.display_on,+ tracking_url: resource.tracking_url,+ deleted_at: resource.deleted_at,+ created_at: resource.created_at,+ updated_at: resource.updated_at+ },+ relationships: {+ calculator: {+ data: {+ id: resource.calculator.id.to_s,+ type: :calculator+ }+ },+ tax_category: {+ data: {+ id: tax_category.id.to_s,+ type: :tax_category+ }+ },+ shipping_categories: {+ data: [+ {+ id: resource.shipping_categories.first.id.to_s,+ type: :shipping_category+ }+ ]+ },+ shipping_rates: {+ data: [+ ]+ }+ }+ }+ }+ )+ end+end