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
Use Rails way of managing has_many association through API requests. (#11435)
Matthew Kennedybc14cf192eca
diff --git a/api/app/controllers/spree/api/v2/platform/shipping_methods_controller.rb b/api/app/controllers/spree/api/v2/platform/shipping_methods_controller.rbindex 8a22b163b9..2b1b060192 100644--- a/api/app/controllers/spree/api/v2/platform/shipping_methods_controller.rb+++ b/api/app/controllers/spree/api/v2/platform/shipping_methods_controller.rb@@ -3,33 +3,8 @@ module Spreemodule V2module Platformclass ShippingMethodsController < ResourceController- def create- resource = model_class.new(permitted_resource_params)- assign_shipping_categories(resource, params)- ensure_current_store(resource)-- if resource.save- render_serialized_payload(201) { serialize_resource(resource) }- else- render_error_payload(resource.errors)- end- end-- def update- assign_shipping_categories(resource, params)- super- end-private- def assign_shipping_categories(resource, params)- shipping_category_ids = Spree::ShippingCategory.where(id: params[:shipping_category_ids]).ids-- if resource.class.method_defined?(:shipping_categories) && shipping_category_ids.present?- resource.shipping_category_ids = shipping_category_ids.compact.uniq- end- end-def model_classSpree::ShippingMethodenddiff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yamlindex e52d8d4d23..5931b7030b 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-27T09:25:11.219Z'- updated_at: '2021-10-27T09:25:11.219Z'+ created_at: '2021-10-27T13:31:33.824Z'+ updated_at: '2021-10-27T13:31:33.824Z'deleted_at:label:relationships:@@ -97,8 +97,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T09:25:11.230Z'- updated_at: '2021-10-27T09:25:11.230Z'+ created_at: '2021-10-27T13:31:33.828Z'+ updated_at: '2021-10-27T13:31:33.828Z'deleted_at:label:relationships:@@ -168,8 +168,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T09:25:11.448Z'- updated_at: '2021-10-27T09:25:11.448Z'+ created_at: '2021-10-27T13:31:34.040Z'+ updated_at: '2021-10-27T13:31:34.040Z'deleted_at:label:relationships:@@ -259,8 +259,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T09:25:11.480Z'- updated_at: '2021-10-27T09:25:11.480Z'+ created_at: '2021-10-27T13:31:34.073Z'+ updated_at: '2021-10-27T13:31:34.073Z'deleted_at:label:relationships:@@ -333,8 +333,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-27T09:25:11.527Z'- updated_at: '2021-10-27T09:25:11.534Z'+ created_at: '2021-10-27T13:31:34.121Z'+ updated_at: '2021-10-27T13:31:34.128Z'deleted_at:label:relationships:@@ -466,8 +466,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-27T09:25:11.723Z'- updated_at: '2021-10-27T09:25:11.723Z'+ created_at: '2021-10-27T13:31:34.350Z'+ updated_at: '2021-10-27T13:31:34.350Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -493,8 +493,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-27T09:25:11.739Z'- updated_at: '2021-10-27T09:25:11.739Z'+ created_at: '2021-10-27T13:31:34.370Z'+ updated_at: '2021-10-27T13:31:34.370Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -563,8 +563,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-27T09:25:12.006Z'- updated_at: '2021-10-27T09:25:12.006Z'+ created_at: '2021-10-27T13:31:34.664Z'+ updated_at: '2021-10-27T13:31:34.664Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -642,8 +642,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-27T09:25:12.099Z'- updated_at: '2021-10-27T09:25:12.103Z'+ created_at: '2021-10-27T13:31:34.768Z'+ updated_at: '2021-10-27T13:31:34.773Z'state: openincluded: falsedisplay_amount: "$1.00"@@ -715,8 +715,8 @@ paths:label: New labelmandatory:eligible: true- created_at: '2021-10-27T09:25:12.275Z'- updated_at: '2021-10-27T09:25:12.293Z'+ created_at: '2021-10-27T13:31:34.947Z'+ updated_at: '2021-10-27T13:31:34.966Z'state: openincluded: falsedisplay_amount: "$15.00"@@ -844,8 +844,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T09:25:12.824Z'- updated_at: '2021-10-27T09:25:12.824Z'+ created_at: '2021-10-27T13:31:35.527Z'+ updated_at: '2021-10-27T13:31:35.527Z'relationships:product:data:@@ -859,8 +859,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T09:25:12.898Z'- updated_at: '2021-10-27T09:25:12.898Z'+ created_at: '2021-10-27T13:31:35.612Z'+ updated_at: '2021-10-27T13:31:35.612Z'relationships:product:data:@@ -917,8 +917,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T09:25:13.503Z'- updated_at: '2021-10-27T09:25:13.503Z'+ created_at: '2021-10-27T13:31:36.090Z'+ updated_at: '2021-10-27T13:31:36.090Z'relationships:product:data:@@ -981,8 +981,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T09:25:13.658Z'- updated_at: '2021-10-27T09:25:13.658Z'+ created_at: '2021-10-27T13:31:36.251Z'+ updated_at: '2021-10-27T13:31:36.251Z'relationships:product:data:@@ -1042,8 +1042,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-27T09:25:13.953Z'- updated_at: '2021-10-27T09:25:13.953Z'+ created_at: '2021-10-27T13:31:36.550Z'+ updated_at: '2021-10-27T13:31:36.550Z'relationships:product:data:@@ -1153,8 +1153,8 @@ paths:type: classificationattributes:position: 2- created_at: '2021-10-27T09:25:14.639Z'- updated_at: '2021-10-27T09:25:14.657Z'+ created_at: '2021-10-27T13:31:37.291Z'+ updated_at: '2021-10-27T13:31:37.314Z'relationships:product:data:@@ -1245,34 +1245,34 @@ paths:- id: '1'type: cms_pageattributes:- title: Veritatis omnis totam iusto porro sequi veniam natus.+ title: Ducimus beatae molestiae ad consectetur.meta_title:content:meta_description:visible: true- slug: veritatis-omnis-totam-iusto-porro-sequi-veniam-natus+ slug: ducimus-beatae-molestiae-ad-consecteturtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T09:25:15.044Z'- updated_at: '2021-10-27T09:25:15.044Z'+ created_at: '2021-10-27T13:31:37.718Z'+ updated_at: '2021-10-27T13:31:37.718Z'relationships:cms_sections:data: []- id: '2'type: cms_pageattributes:- title: Iure asperiores quasi ea nihil iusto.+ title: A et eos unde voluptatibus animi magni aliquid numquam.meta_title:content:meta_description:visible: true- slug: iure-asperiores-quasi-ea-nihil-iusto+ slug: a-et-eos-unde-voluptatibus-animi-magni-aliquid-numquamtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T09:25:15.047Z'- updated_at: '2021-10-27T09:25:15.047Z'+ created_at: '2021-10-27T13:31:37.723Z'+ updated_at: '2021-10-27T13:31:37.723Z'relationships:cms_sections:data: []@@ -1322,17 +1322,18 @@ paths:id: '5'type: cms_pageattributes:- title: Sequi quisquam sed sunt in nesciunt.+ title: Rem voluptas adipisci tempora reprehenderit dolor laborum+ laboriosam.meta_title:content:meta_description:visible: true- slug: sequi-quisquam-sed-sunt-in-nesciunt+ slug: rem-voluptas-adipisci-tempora-reprehenderit-dolor-laborum-laboriosamtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T09:25:15.125Z'- updated_at: '2021-10-27T09:25:15.125Z'+ created_at: '2021-10-27T13:31:37.799Z'+ updated_at: '2021-10-27T13:31:37.799Z'relationships:cms_sections:data: []@@ -1388,17 +1389,18 @@ paths:id: '6'type: cms_pageattributes:- title: Facilis itaque nam id esse quaerat et ratione.+ title: Molestias illo perspiciatis sit repellat exercitationem+ optio neque.meta_title:content:meta_description:visible: true- slug: facilis-itaque-nam-id-esse-quaerat-et-ratione+ slug: molestias-illo-perspiciatis-sit-repellat-exercitationem-optio-nequetype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T09:25:15.162Z'- updated_at: '2021-10-27T09:25:15.162Z'+ created_at: '2021-10-27T13:31:37.841Z'+ updated_at: '2021-10-27T13:31:37.841Z'relationships:cms_sections:data: []@@ -1456,12 +1458,12 @@ paths:content:meta_description:visible: true- slug: occaecati-adipisci-temporibus-placeat-nihil-magnam-cum+ slug: illum-adipisci-sed-sequi-fugiat-quodtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-27T09:25:15.212Z'- updated_at: '2021-10-27T09:25:15.220Z'+ created_at: '2021-10-27T13:31:37.896Z'+ updated_at: '2021-10-27T13:31:37.905Z'relationships:cms_sections:data: []@@ -1575,7 +1577,7 @@ paths:- id: '1'type: cms_sectionattributes:- name: Deserunt quisquam deleniti incidunt voluptas.+ name: Quae possimus aspernatur cumque soluta sit quaerat.content: {}settings:gutters: No Gutters@@ -1584,8 +1586,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 1linked_resource_type: Spree::Taxon- created_at: '2021-10-27T09:25:15.383Z'- updated_at: '2021-10-27T09:25:15.383Z'+ created_at: '2021-10-27T13:31:38.070Z'+ updated_at: '2021-10-27T13:31:38.070Z'relationships:cms_page:data:@@ -1596,7 +1598,7 @@ paths:- id: '2'type: cms_sectionattributes:- name: Eius quam labore hic officiis pariatur.+ name: Quasi accusamus praesentium nulla officiis optio reiciendis.content:link_type_one: Spree::Taxonlink_type_two: Spree::Taxon@@ -1608,8 +1610,8 @@ paths:type: Spree::Cms::Sections::ImageGalleryposition: 2linked_resource_type:- created_at: '2021-10-27T09:25:15.388Z'- updated_at: '2021-10-27T09:25:15.388Z'+ created_at: '2021-10-27T13:31:38.074Z'+ updated_at: '2021-10-27T13:31:38.074Z'relationships:cms_page:data:@@ -1620,7 +1622,8 @@ paths:- id: '3'type: cms_sectionattributes:- name: Modi necessitatibus iure quas molestias dolor.+ name: Quas velit dolores quisquam ipsum odit quaerat architecto+ officia.content: {}settings:gutters: No Gutters@@ -1629,8 +1632,8 @@ paths:type: Spree::Cms::Sections::FeaturedArticleposition: 3linked_resource_type: Spree::Taxon- created_at: '2021-10-27T09:25:15.397Z'- updated_at: '2021-10-27T09:25:15.397Z'+ created_at: '2021-10-27T13:31:38.083Z'+ updated_at: '2021-10-27T13:31:38.083Z'relationships:cms_page:data:@@ -1641,7 +1644,8 @@ paths:- id: '4'type: cms_sectionattributes:- name: Quae delectus repudiandae error similique.+ name: Corporis alias deleniti necessitatibus accusamus distinctio+ molestias molestiae.content: {}settings:gutters: No Gutters@@ -1650,8 +1654,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-27T09:25:15.404Z'- updated_at: '2021-10-27T09:25:15.404Z'+ created_at: '2021-10-27T13:31:38.091Z'+ updated_at: '2021-10-27T13:31:38.091Z'relationships:cms_page:data:@@ -1664,8 +1668,7 @@ paths:- id: '5'type: cms_sectionattributes:- name: Architecto dolorum natus laudantium reprehenderit libero- aliquid.+ name: A maxime facilis eos veritatis nisi suscipit officia.content: {}settings:gutters: No Gutters@@ -1674,8 +1677,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 5linked_resource_type: Spree::Product- created_at: '2021-10-27T09:25:15.411Z'- updated_at: '2021-10-27T09:25:15.411Z'+ created_at: '2021-10-27T13:31:38.097Z'+ updated_at: '2021-10-27T13:31:38.097Z'relationships:cms_page:data:@@ -1731,7 +1734,7 @@ paths:id: '14'type: cms_sectionattributes:- name: Iure voluptate dolorum aliquam architecto rerum explicabo.+ name: Possimus placeat ad impedit quisquam.content: {}settings:gutters: No Gutters@@ -1740,8 +1743,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-27T09:25:15.567Z'- updated_at: '2021-10-27T09:25:15.567Z'+ created_at: '2021-10-27T13:31:38.261Z'+ updated_at: '2021-10-27T13:31:38.261Z'relationships:cms_page:data:@@ -1803,7 +1806,8 @@ paths:id: '21'type: cms_sectionattributes:- name: Reiciendis est neque iusto explicabo odio illum.+ name: Architecto sit mollitia corporis dicta nesciunt eveniet+ laboriosam eligendi.content: {}settings:gutters: No Gutters@@ -1812,8 +1816,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-27T09:25:15.702Z'- updated_at: '2021-10-27T09:25:15.702Z'+ created_at: '2021-10-27T13:31:38.398Z'+ updated_at: '2021-10-27T13:31:38.398Z'relationships:cms_page:data:@@ -1881,8 +1885,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-27T09:25:15.984Z'- updated_at: '2021-10-27T09:25:15.995Z'+ created_at: '2021-10-27T13:31:38.680Z'+ updated_at: '2021-10-27T13:31:38.691Z'relationships:cms_page:data:@@ -1984,7 +1988,7 @@ paths:id: '58'type: cms_sectionattributes:- name: Ducimus perferendis suscipit animi mollitia deleniti.+ name: Quod a fuga molestiae explicabo ullam commodi nam.content: {}settings:gutters: No Gutters@@ -1993,8 +1997,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 3linked_resource_type: Spree::Product- created_at: '2021-10-27T09:25:16.570Z'- updated_at: '2021-10-27T09:25:16.584Z'+ created_at: '2021-10-27T13:31:39.188Z'+ updated_at: '2021-10-27T13:31:39.200Z'relationships:cms_page:data:@@ -2052,9 +2056,9 @@ paths:name: United States of Americanumcode: 840states_required: true- updated_at: '2021-10-27T09:25:16.712Z'+ updated_at: '2021-10-27T13:31:39.353Z'zipcode_required: true- created_at: '2021-10-27T09:25:16.712Z'+ created_at: '2021-10-27T13:31:39.353Z'relationships:states:data: []@@ -2067,9 +2071,9 @@ paths:name: NAME_2numcode: 840states_required: false- updated_at: '2021-10-27T09:25:16.718Z'+ updated_at: '2021-10-27T13:31:39.358Z'zipcode_required: true- created_at: '2021-10-27T09:25:16.718Z'+ created_at: '2021-10-27T13:31:39.358Z'relationships:states:data: []@@ -2082,9 +2086,9 @@ paths:name: NAME_3numcode: 840states_required: false- updated_at: '2021-10-27T09:25:16.720Z'+ updated_at: '2021-10-27T13:31:39.361Z'zipcode_required: true- created_at: '2021-10-27T09:25:16.720Z'+ created_at: '2021-10-27T13:31:39.361Z'relationships:states:data: []@@ -2139,9 +2143,9 @@ paths:name: NAME_6numcode: 840states_required: false- updated_at: '2021-10-27T09:25:16.762Z'+ updated_at: '2021-10-27T13:31:39.402Z'zipcode_required: true- created_at: '2021-10-27T09:25:16.762Z'+ created_at: '2021-10-27T13:31:39.402Z'relationships:states:data: []@@ -2193,7 +2197,7 @@ paths:- id: '1'type: digital_linkattributes:- token: s7gduqowtaMYDZ287cAATegD+ token: PT3cbb1en6c65uEaB9RxB82Aaccess_counter: 0relationships:digital:@@ -2207,7 +2211,7 @@ paths:- id: '2'type: digital_linkattributes:- token: 7wA9gWfzvNvJyDdAaBfYobQH+ token: Vwr7YMHysF2iNyQKAKq3N5Gdaccess_counter: 0relationships:digital:@@ -2257,7 +2261,7 @@ paths:id: '5'type: digital_linkattributes:- token: KWdqak31SqzbgzAFo91dEN2H+ token: XuYrJBxo1GmiX2Bi2rVCgLkvaccess_counter: 0relationships:digital:@@ -2316,7 +2320,7 @@ paths:id: '6'type: digital_linkattributes:- token: YqhFqXGj1KL1Hg1ZWGpu8C6S+ token: UsqbspffePaqbVYXFoCSmAgvaccess_counter: 0relationships:digital:@@ -2369,7 +2373,7 @@ paths:id: '8'type: digital_linkattributes:- token: NTa2wp8h39KEt9iYTRQXE5NL+ token: QYMQcL18raVE15QXq3QEHDUkaccess_counter: 0relationships:digital:@@ -2472,7 +2476,7 @@ paths:id: '13'type: digital_linkattributes:- token: RsX3npYx87EuR9icwx8jUGpF+ token: bSgdRGk46whcHYFZ7UHYSXwwaccess_counter: 0relationships:digital:@@ -2857,8 +2861,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-27T09:25:23.939Z'- updated_at: '2021-10-27T09:25:23.948Z'+ created_at: '2021-10-27T13:31:46.241Z'+ updated_at: '2021-10-27T13:31:46.249Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2870,16 +2874,16 @@ paths:non_taxable_adjustment_total: '0.0'display_price: "$10.00"single_display_amount: "$10.00"- display_discounted_amount: "$10.00"display_total: "$10.00"+ display_discounted_amount: "$10.00"display_amount: "$10.00"display_subtotal: "$10.00"- display_final_amount: "$10.00"display_adjustment_total: "$0.00"display_additional_tax_total: "$0.00"- display_included_tax_total: "$0.00"+ display_final_amount: "$10.00"display_promo_total: "$0.00"display_pre_tax_amount: "$10.00"+ display_included_tax_total: "$0.00"relationships:order:data:@@ -2904,8 +2908,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-27T09:25:23.981Z'- updated_at: '2021-10-27T09:25:23.987Z'+ created_at: '2021-10-27T13:31:46.279Z'+ updated_at: '2021-10-27T13:31:46.285Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2917,16 +2921,16 @@ paths:non_taxable_adjustment_total: '0.0'display_price: "$10.00"single_display_amount: "$10.00"- display_discounted_amount: "$10.00"display_total: "$10.00"+ display_discounted_amount: "$10.00"display_amount: "$10.00"display_subtotal: "$10.00"- display_final_amount: "$10.00"display_adjustment_total: "$0.00"display_additional_tax_total: "$0.00"- display_included_tax_total: "$0.00"+ display_final_amount: "$10.00"display_promo_total: "$0.00"display_pre_tax_amount: "$10.00"+ display_included_tax_total: "$0.00"relationships:order:data:@@ -2994,8 +2998,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-27T09:25:24.204Z'- updated_at: '2021-10-27T09:25:24.236Z'+ created_at: '2021-10-27T13:31:46.497Z'+ updated_at: '2021-10-27T13:31:46.532Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -3007,16 +3011,16 @@ paths:non_taxable_adjustment_total: '0.0'display_price: "$10.00"single_display_amount: "$10.00"- display_discounted_amount: "$10.00"display_total: "$10.00"+ display_discounted_amount: "$10.00"display_amount: "$10.00"display_subtotal: "$10.00"- display_final_amount: "$10.00"display_adjustment_total: "$0.00"display_additional_tax_total: "$0.00"- display_included_tax_total: "$0.00"+ display_final_amount: "$10.00"display_promo_total: "$0.00"display_pre_tax_amount: "$10.00"+ display_included_tax_total: "$0.00"relationships:order:data:@@ -3093,8 +3097,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-27T09:25:24.357Z'- updated_at: '2021-10-27T09:25:24.363Z'+ created_at: '2021-10-27T13:31:46.676Z'+ updated_at: '2021-10-27T13:31:46.684Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -3106,16 +3110,16 @@ paths:non_taxable_adjustment_total: '0.0'display_price: "$10.00"single_display_amount: "$10.00"- display_discounted_amount: "$10.00"display_total: "$10.00"+ display_discounted_amount: "$10.00"display_amount: "$10.00"display_subtotal: "$10.00"- display_final_amount: "$10.00"display_adjustment_total: "$0.00"display_additional_tax_total: "$0.00"- display_included_tax_total: "$0.00"+ display_final_amount: "$10.00"display_promo_total: "$0.00"display_pre_tax_amount: "$10.00"+ display_included_tax_total: "$0.00"relationships:order:data:@@ -3186,8 +3190,8 @@ paths:attributes:quantity: 4price: '10.0'- created_at: '2021-10-27T09:25:24.589Z'- updated_at: '2021-10-27T09:25:24.626Z'+ created_at: '2021-10-27T13:31:46.911Z'+ updated_at: '2021-10-27T13:31:46.950Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -3199,16 +3203,16 @@ paths:non_taxable_adjustment_total: '0.0'display_price: "$10.00"single_display_amount: "$10.00"- display_discounted_amount: "$40.00"display_total: "$40.00"+ display_discounted_amount: "$40.00"display_amount: "$40.00"display_subtotal: "$40.00"- display_final_amount: "$40.00"display_adjustment_total: "$0.00"display_additional_tax_total: "$0.00"- display_included_tax_total: "$0.00"+ display_final_amount: "$40.00"display_promo_total: "$0.00"display_pre_tax_amount: "$40.00"+ display_included_tax_total: "$0.00"relationships:order:data:@@ -3235,10 +3239,10 @@ paths:examples:Example:value:- error: 'Quantity selected of "Product #133 - 2830" is not available.'+ error: 'Quantity selected of "Product #133 - 4474" is not available.'errors:quantity:- - 'selected of "Product #133 - 2830" is not available.'+ - 'selected of "Product #133 - 4474" is not available.''404':description: Record not foundcontent:@@ -3348,8 +3352,8 @@ paths:lft: 2rgt: 3depth: 1- created_at: '2021-10-27T09:25:25.228Z'- updated_at: '2021-10-27T09:25:25.232Z'+ created_at: '2021-10-27T13:31:47.528Z'+ updated_at: '2021-10-27T13:31:47.532Z'link:is_container: falseis_root: false@@ -3385,8 +3389,8 @@ paths:lft: 4rgt: 5depth: 1- created_at: '2021-10-27T09:25:25.279Z'- updated_at: '2021-10-27T09:25:25.283Z'+ created_at: '2021-10-27T13:31:47.578Z'+ updated_at: '2021-10-27T13:31:47.582Z'link:is_container: falseis_root: false@@ -3422,8 +3426,8 @@ paths:lft: 6rgt: 7depth: 1- created_at: '2021-10-27T09:25:25.329Z'- updated_at: '2021-10-27T09:25:25.333Z'+ created_at: '2021-10-27T13:31:47.638Z'+ updated_at: '2021-10-27T13:31:47.643Z'link:is_container: falseis_root: false@@ -3459,8 +3463,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-27T09:25:25.377Z'- updated_at: '2021-10-27T09:25:25.381Z'+ created_at: '2021-10-27T13:31:47.691Z'+ updated_at: '2021-10-27T13:31:47.696Z'link:is_container: falseis_root: false@@ -3496,8 +3500,8 @@ paths:lft: 10rgt: 11depth: 1- created_at: '2021-10-27T09:25:25.424Z'- updated_at: '2021-10-27T09:25:25.428Z'+ created_at: '2021-10-27T13:31:47.741Z'+ updated_at: '2021-10-27T13:31:47.745Z'link:is_container: falseis_root: false@@ -3533,8 +3537,8 @@ paths:lft: 12rgt: 13depth: 1- created_at: '2021-10-27T09:25:25.474Z'- updated_at: '2021-10-27T09:25:25.478Z'+ created_at: '2021-10-27T13:31:47.807Z'+ updated_at: '2021-10-27T13:31:47.812Z'link:is_container: falseis_root: false@@ -3570,8 +3574,8 @@ paths:lft: 14rgt: 15depth: 1- created_at: '2021-10-27T09:25:25.521Z'- updated_at: '2021-10-27T09:25:25.524Z'+ created_at: '2021-10-27T13:31:47.860Z'+ updated_at: '2021-10-27T13:31:47.864Z'link:is_container: falseis_root: false@@ -3597,8 +3601,7 @@ paths:- id: '1'type: menu_itemattributes:- name: Et necessitatibus porro magni labore quasi atque aut- inventore.+ name: Ipsam eligendi corporis ad dolore doloremque et repellat.subtitle:destination:new_window: false@@ -3608,8 +3611,8 @@ paths:lft: 1rgt: 16depth: 0- created_at: '2021-10-27T09:25:25.163Z'- updated_at: '2021-10-27T09:25:25.533Z'+ created_at: '2021-10-27T13:31:47.478Z'+ updated_at: '2021-10-27T13:31:47.874Z'link:is_container: trueis_root: true@@ -3698,8 +3701,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-27T09:25:26.279Z'- updated_at: '2021-10-27T09:25:26.284Z'+ created_at: '2021-10-27T13:31:48.480Z'+ updated_at: '2021-10-27T13:31:48.483Z'link:is_container: falseis_root: false@@ -3785,8 +3788,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-27T09:25:26.721Z'- updated_at: '2021-10-27T09:25:26.725Z'+ created_at: '2021-10-27T13:31:48.904Z'+ updated_at: '2021-10-27T13:31:48.909Z'link:is_container: falseis_root: false@@ -3868,8 +3871,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-27T09:25:27.425Z'- updated_at: '2021-10-27T09:25:27.448Z'+ created_at: '2021-10-27T13:31:49.558Z'+ updated_at: '2021-10-27T13:31:49.581Z'link:is_container: falseis_root: false@@ -3994,8 +3997,8 @@ paths:lft: 5rgt: 6depth: 2- created_at: '2021-10-27T09:25:29.016Z'- updated_at: '2021-10-27T09:25:29.040Z'+ created_at: '2021-10-27T13:31:51.154Z'+ updated_at: '2021-10-27T13:31:51.177Z'link:is_container: falseis_root: false@@ -4087,8 +4090,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-27T09:25:29.480Z'- updated_at: '2021-10-27T09:25:29.598Z'+ created_at: '2021-10-27T13:31:51.632Z'+ updated_at: '2021-10-27T13:31:51.741Z'relationships:menu_items:data:@@ -4104,8 +4107,8 @@ paths:name: Footer Menulocation: footerlocale: en- created_at: '2021-10-27T09:25:29.490Z'- updated_at: '2021-10-27T09:25:29.703Z'+ created_at: '2021-10-27T13:31:51.641Z'+ updated_at: '2021-10-27T13:31:51.839Z'relationships:menu_items:data:@@ -4164,8 +4167,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-27T09:25:30.026Z'- updated_at: '2021-10-27T09:25:30.034Z'+ created_at: '2021-10-27T13:31:52.130Z'+ updated_at: '2021-10-27T13:31:52.137Z'relationships:menu_items:data:@@ -4229,8 +4232,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-27T09:25:30.071Z'- updated_at: '2021-10-27T09:25:30.076Z'+ created_at: '2021-10-27T13:31:52.175Z'+ updated_at: '2021-10-27T13:31:52.182Z'relationships:menu_items:data:@@ -4288,8 +4291,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-27T09:25:30.140Z'- updated_at: '2021-10-27T09:25:30.150Z'+ created_at: '2021-10-27T13:31:52.248Z'+ updated_at: '2021-10-27T13:31:52.255Z'relationships:menu_items:data:@@ -4412,8 +4415,8 @@ paths:name: foo-size-68presentation: Sizeposition: 1- created_at: '2021-10-27T09:25:30.331Z'- updated_at: '2021-10-27T09:25:30.331Z'+ created_at: '2021-10-27T13:31:52.475Z'+ updated_at: '2021-10-27T13:31:52.475Z'filterable: truerelationships:option_values:@@ -4424,8 +4427,8 @@ paths:name: foo-size-69presentation: Sizeposition: 2- created_at: '2021-10-27T09:25:30.333Z'- updated_at: '2021-10-27T09:25:30.333Z'+ created_at: '2021-10-27T13:31:52.481Z'+ updated_at: '2021-10-27T13:31:52.481Z'filterable: truerelationships:option_values:@@ -4472,8 +4475,8 @@ paths:name: foo-size-72presentation: Sizeposition: 1- created_at: '2021-10-27T09:25:30.385Z'- updated_at: '2021-10-27T09:25:30.385Z'+ created_at: '2021-10-27T13:31:52.558Z'+ updated_at: '2021-10-27T13:31:52.558Z'filterable: truerelationships:option_values:@@ -4526,8 +4529,8 @@ paths:name: foo-size-73presentation: Sizeposition: 1- created_at: '2021-10-27T09:25:30.415Z'- updated_at: '2021-10-27T09:25:30.415Z'+ created_at: '2021-10-27T13:31:52.590Z'+ updated_at: '2021-10-27T13:31:52.590Z'filterable: truerelationships:option_values:@@ -4577,8 +4580,8 @@ paths:name: Size-Xpresentation: Sizeposition: 1- created_at: '2021-10-27T09:25:30.465Z'- updated_at: '2021-10-27T09:25:30.472Z'+ created_at: '2021-10-27T13:31:52.643Z'+ updated_at: '2021-10-27T13:31:52.650Z'filterable: truerelationships:option_values:@@ -4702,8 +4705,8 @@ paths:position: 1name: Size-68presentation: S- created_at: '2021-10-27T09:25:30.598Z'- updated_at: '2021-10-27T09:25:30.598Z'+ created_at: '2021-10-27T13:31:52.765Z'+ updated_at: '2021-10-27T13:31:52.765Z'relationships:option_type:data:@@ -4715,8 +4718,8 @@ paths:position: 1name: Size-69presentation: S- created_at: '2021-10-27T09:25:30.605Z'- updated_at: '2021-10-27T09:25:30.605Z'+ created_at: '2021-10-27T13:31:52.772Z'+ updated_at: '2021-10-27T13:31:52.772Z'relationships:option_type:data:@@ -4771,8 +4774,8 @@ paths:position: 1name: Size-72presentation: S- created_at: '2021-10-27T09:25:30.659Z'- updated_at: '2021-10-27T09:25:30.659Z'+ created_at: '2021-10-27T13:31:52.828Z'+ updated_at: '2021-10-27T13:31:52.828Z'relationships:option_type:data:@@ -4831,8 +4834,8 @@ paths:position: 1name: Size-73presentation: S- created_at: '2021-10-27T09:25:30.693Z'- updated_at: '2021-10-27T09:25:30.693Z'+ created_at: '2021-10-27T13:31:52.863Z'+ updated_at: '2021-10-27T13:31:52.863Z'relationships:option_type:data:@@ -4890,8 +4893,8 @@ paths:position: 1name: Mpresentation: S- created_at: '2021-10-27T09:25:30.758Z'- updated_at: '2021-10-27T09:25:30.767Z'+ created_at: '2021-10-27T13:31:52.930Z'+ updated_at: '2021-10-27T13:31:52.939Z'relationships:option_type:data:@@ -5007,7 +5010,7 @@ paths:- id: '40'type: orderattributes:- number: R829070879+ number: R132349629item_total: '0.0'total: '0.0'state: cart@@ -5016,10 +5019,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:30.894Z'- updated_at: '2021-10-27T09:25:30.894Z'+ created_at: '2021-10-27T13:31:53.080Z'+ updated_at: '2021-10-27T13:31:53.080Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5091,7 +5094,7 @@ paths:- id: '41'type: orderattributes:- number: R365730499+ number: R631232188item_total: '0.0'total: '0.0'state: cart@@ -5100,10 +5103,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:30.902Z'- updated_at: '2021-10-27T09:25:30.902Z'+ created_at: '2021-10-27T13:31:53.089Z'+ updated_at: '2021-10-27T13:31:53.089Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5218,7 +5221,7 @@ paths:id: '44'type: orderattributes:- number: R413377734+ number: R849404598item_total: '0.0'total: '0.0'state: cart@@ -5229,8 +5232,8 @@ paths:payment_state:email:special_instructions:- created_at: '2021-10-27T09:25:31.178Z'- updated_at: '2021-10-27T09:25:31.197Z'+ created_at: '2021-10-27T13:31:53.382Z'+ updated_at: '2021-10-27T13:31:53.399Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5342,7 +5345,7 @@ paths:id: '45'type: orderattributes:- number: R293804780+ number: R715796155item_total: '10.0'total: '110.0'state: delivery@@ -5351,10 +5354,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:31.279Z'- updated_at: '2021-10-27T09:25:31.454Z'+ created_at: '2021-10-27T13:31:53.439Z'+ updated_at: '2021-10-27T13:31:53.597Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5478,7 +5481,7 @@ paths:id: '47'type: orderattributes:- number: R170333091+ number: R107401263item_total: '10.0'total: '110.0'state: delivery@@ -5489,8 +5492,8 @@ paths:payment_state:email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:31.651Z'- updated_at: '2021-10-27T09:25:31.747Z'+ created_at: '2021-10-27T13:31:53.764Z'+ updated_at: '2021-10-27T13:31:53.859Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5664,7 +5667,7 @@ paths:id: '52'type: orderattributes:- number: R090356329+ number: R121925304item_total: '10.0'total: '110.0'state: payment@@ -5673,10 +5676,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:32.390Z'- updated_at: '2021-10-27T09:25:32.506Z'+ created_at: '2021-10-27T13:31:54.420Z'+ updated_at: '2021-10-27T13:31:54.546Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5803,7 +5806,7 @@ paths:id: '54'type: orderattributes:- number: R763382132+ number: R287370490item_total: '10.0'total: '110.0'state: payment@@ -5812,10 +5815,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:32.657Z'- updated_at: '2021-10-27T09:25:32.766Z'+ created_at: '2021-10-27T13:31:54.718Z'+ updated_at: '2021-10-27T13:31:54.846Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5942,19 +5945,19 @@ paths:id: '56'type: orderattributes:- number: R912550965+ number: R352143527item_total: '10.0'total: '110.0'state: completeadjustment_total: '0.0'- completed_at: '2021-10-27T09:25:33.115Z'+ completed_at: '2021-10-27T13:31:55.205Z'payment_total: '0.0'shipment_state: pendingpayment_state: balance_due- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:32.923Z'- updated_at: '2021-10-27T09:25:33.115Z'+ created_at: '2021-10-27T13:31:55.001Z'+ updated_at: '2021-10-27T13:31:55.205Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6092,7 +6095,7 @@ paths:id: '59'type: orderattributes:- number: R577965968+ number: R273476849item_total: '0.0'total: '0.0'state: cart@@ -6101,10 +6104,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:33.410Z'- updated_at: '2021-10-27T09:25:33.512Z'+ created_at: '2021-10-27T13:31:55.498Z'+ updated_at: '2021-10-27T13:31:55.610Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -6226,7 +6229,7 @@ paths:id: '61'type: orderattributes:- number: R660890184+ number: R868029436item_total: '10.0'total: '110.0'state: delivery@@ -6235,10 +6238,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:33.663Z'- updated_at: '2021-10-27T09:25:33.749Z'+ created_at: '2021-10-27T13:31:55.768Z'+ updated_at: '2021-10-27T13:31:55.850Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6364,19 +6367,19 @@ paths:id: '63'type: orderattributes:- number: R603490590+ number: R480379178item_total: '10.0'total: '10.0'state: canceledadjustment_total: '0.0'- completed_at: '2021-10-27T09:25:34.008Z'+ completed_at: '2021-10-27T13:31:56.105Z'payment_total: '0.0'shipment_state: canceledpayment_state: void- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:33.907Z'- updated_at: '2021-10-27T09:25:34.068Z'+ created_at: '2021-10-27T13:31:56.008Z'+ updated_at: '2021-10-27T13:31:56.160Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -6518,7 +6521,7 @@ paths:id: '66'type: orderattributes:- number: R944263805+ number: R257136277item_total: '10.0'total: '110.0'state: delivery@@ -6527,10 +6530,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:34.346Z'- updated_at: '2021-10-27T09:25:34.493Z'+ created_at: '2021-10-27T13:31:56.429Z'+ updated_at: '2021-10-27T13:31:56.585Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6671,7 +6674,7 @@ paths:id: '69'type: orderattributes:- number: R834716913+ number: R936647489item_total: '10.0'total: '10.0'state: delivery@@ -6680,10 +6683,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-27T09:25:34.843Z'- updated_at: '2021-10-27T09:25:34.973Z'+ created_at: '2021-10-27T13:31:56.914Z'+ updated_at: '2021-10-27T13:31:57.043Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -6847,9 +6850,9 @@ paths:state: invalidresponse_code: '12345'avs_response:- created_at: '2021-10-27T09:25:35.302Z'- updated_at: '2021-10-27T09:25:35.322Z'- number: P4QGNRTG+ created_at: '2021-10-27T13:31:57.374Z'+ updated_at: '2021-10-27T13:31:57.394Z'+ number: PYTDPQGQcvv_response_code:cvv_response_message:display_amount: "$45.75"@@ -6884,9 +6887,9 @@ paths:state: checkoutresponse_code: '12345'avs_response:- created_at: '2021-10-27T09:25:35.318Z'- updated_at: '2021-10-27T09:25:35.318Z'- number: PIHNSDRV+ created_at: '2021-10-27T13:31:57.391Z'+ updated_at: '2021-10-27T13:31:57.391Z'+ number: PEVP9G8Ucvv_response_code:cvv_response_message:display_amount: "$45.75"@@ -6968,9 +6971,9 @@ paths:state: checkoutresponse_code: '12345'avs_response:- created_at: '2021-10-27T09:25:35.475Z'- updated_at: '2021-10-27T09:25:35.475Z'- number: PU1HTEVM+ created_at: '2021-10-27T13:31:57.552Z'+ updated_at: '2021-10-27T13:31:57.552Z'+ number: PN6OWG8Qcvv_response_code:cvv_response_message:display_amount: "$45.75"@@ -7096,8 +7099,8 @@ paths:type: promotion_categoryattributes:name: Promotion Category- created_at: '2021-10-27T09:25:35.687Z'- updated_at: '2021-10-27T09:25:35.687Z'+ created_at: '2021-10-27T13:31:57.758Z'+ updated_at: '2021-10-27T13:31:57.758Z'code: POP123relationships:promotions:@@ -7106,8 +7109,8 @@ paths:type: promotion_categoryattributes:name: Promotion Category- created_at: '2021-10-27T09:25:35.688Z'- updated_at: '2021-10-27T09:25:35.688Z'+ created_at: '2021-10-27T13:31:57.760Z'+ updated_at: '2021-10-27T13:31:57.760Z'code: POP123relationships:promotions:@@ -7159,8 +7162,8 @@ paths:type: promotion_categoryattributes:name: Promotion Category- created_at: '2021-10-27T09:25:35.732Z'- updated_at: '2021-10-27T09:25:35.732Z'+ created_at: '2021-10-27T13:31:57.805Z'+ updated_at: '2021-10-27T13:31:57.805Z'code: 2021-BFMrelationships:promotions:@@ -7216,8 +7219,8 @@ paths:type: promotion_categoryattributes:name: Promotion Category- created_at: '2021-10-27T09:25:35.760Z'- updated_at: '2021-10-27T09:25:35.760Z'+ created_at: '2021-10-27T13:31:57.832Z'+ updated_at: '2021-10-27T13:31:57.832Z'code: MJOrelationships:promotions:@@ -7272,8 +7275,8 @@ paths:type: promotion_categoryattributes:name: 2021 Promotions- created_at: '2021-10-27T09:25:35.803Z'- updated_at: '2021-10-27T09:25:35.809Z'+ created_at: '2021-10-27T13:31:57.885Z'+ updated_at: '2021-10-27T13:31:57.891Z'code: 2021-Promosrelationships:promotions:@@ -7389,12 +7392,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H35646295824+ number: H30144252285cost: '100.0'shipped_at:state: pending- created_at: '2021-10-27T09:25:35.922Z'- updated_at: '2021-10-27T09:25:35.925Z'+ created_at: '2021-10-27T13:31:58.005Z'+ updated_at: '2021-10-27T13:31:58.008Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7402,11 +7405,11 @@ paths:pre_tax_amount: '0.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'- display_final_price: "$100.00"- display_amount: "$100.00"display_cost: "$100.00"display_discounted_cost: "$100.00"display_item_cost: "$0.00"+ display_final_price: "$100.00"+ display_amount: "$100.00"relationships:order:data:@@ -7436,12 +7439,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H47099006549+ number: H84778764804cost: '100.0'shipped_at:state: pending- created_at: '2021-10-27T09:25:35.949Z'- updated_at: '2021-10-27T09:25:35.952Z'+ created_at: '2021-10-27T13:31:58.037Z'+ updated_at: '2021-10-27T13:31:58.040Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7449,11 +7452,11 @@ paths:pre_tax_amount: '0.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'- display_final_price: "$100.00"- display_amount: "$100.00"display_cost: "$100.00"display_discounted_cost: "$100.00"display_item_cost: "$0.00"+ display_final_price: "$100.00"+ display_amount: "$100.00"relationships:order:data:@@ -7532,12 +7535,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H48900022959+ number: H07754997312cost: '100.0'shipped_at:state: pending- created_at: '2021-10-27T09:25:36.228Z'- updated_at: '2021-10-27T09:25:36.245Z'+ created_at: '2021-10-27T13:31:58.337Z'+ updated_at: '2021-10-27T13:31:58.356Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7545,11 +7548,11 @@ paths:pre_tax_amount: '0.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'- display_final_price: "$100.00"- display_amount: "$100.00"display_cost: "$100.00"display_discounted_cost: "$100.00"display_item_cost: "$10.00"+ display_final_price: "$100.00"+ display_amount: "$100.00"relationships:order:data:@@ -7661,12 +7664,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H21300713909+ number: H09013268977cost: '100.0'shipped_at:state: ready- created_at: '2021-10-27T09:25:37.047Z'- updated_at: '2021-10-27T09:25:37.076Z'+ created_at: '2021-10-27T13:31:59.179Z'+ updated_at: '2021-10-27T13:31:59.209Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7674,11 +7677,11 @@ paths:pre_tax_amount: '0.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'- display_final_price: "$100.00"- display_amount: "$100.00"display_cost: "$100.00"display_discounted_cost: "$100.00"display_item_cost: "$10.00"+ display_final_price: "$100.00"+ display_amount: "$100.00"relationships:order:data:@@ -7759,12 +7762,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H66647026331+ number: H06874625516cost: '100.0'- shipped_at: '2021-10-27T09:25:37.504Z'+ shipped_at: '2021-10-27T13:31:59.645Z'state: shipped- created_at: '2021-10-27T09:25:37.474Z'- updated_at: '2021-10-27T09:25:37.504Z'+ created_at: '2021-10-27T13:31:59.610Z'+ updated_at: '2021-10-27T13:31:59.645Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7772,11 +7775,11 @@ paths:pre_tax_amount: '0.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'- display_final_price: "$100.00"- display_amount: "$100.00"display_cost: "$100.00"display_discounted_cost: "$100.00"display_item_cost: "$10.00"+ display_final_price: "$100.00"+ display_amount: "$100.00"relationships:order:data:@@ -7857,12 +7860,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H50025974233+ number: H32208767429cost: '100.0'shipped_at:state: canceled- created_at: '2021-10-27T09:25:37.875Z'- updated_at: '2021-10-27T09:25:37.901Z'+ created_at: '2021-10-27T13:32:00.032Z'+ updated_at: '2021-10-27T13:32:00.062Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7870,11 +7873,11 @@ paths:pre_tax_amount: '0.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'- display_final_price: "$100.00"- display_amount: "$100.00"display_cost: "$100.00"display_discounted_cost: "$100.00"display_item_cost: "$10.00"+ display_final_price: "$100.00"+ display_amount: "$100.00"relationships:order:data:@@ -7955,12 +7958,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H81295528393+ number: H60784582947cost: '100.0'shipped_at:state: ready- created_at: '2021-10-27T09:25:38.293Z'- updated_at: '2021-10-27T09:25:38.321Z'+ created_at: '2021-10-27T13:32:00.470Z'+ updated_at: '2021-10-27T13:32:00.499Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -7968,11 +7971,11 @@ paths:pre_tax_amount: '0.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'- display_final_price: "$100.00"- display_amount: "$100.00"display_cost: "$100.00"display_discounted_cost: "$100.00"display_item_cost: "$10.00"+ display_final_price: "$100.00"+ display_amount: "$100.00"relationships:order:data:@@ -8053,12 +8056,12 @@ paths:type: shipmentattributes:tracking: U10000- number: H38343427985+ number: H93224734657cost: '100.0'shipped_at:state: pending- created_at: '2021-10-27T09:25:38.731Z'- updated_at: '2021-10-27T09:25:38.757Z'+ created_at: '2021-10-27T13:32:00.891Z'+ updated_at: '2021-10-27T13:32:00.914Z'adjustment_total: '0.0'additional_tax_total: '0.0'promo_total: '0.0'@@ -8066,11 +8069,11 @@ paths:pre_tax_amount: '0.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'- display_final_price: "$100.00"- display_amount: "$100.00"display_cost: "$100.00"display_discounted_cost: "$100.00"display_item_cost: "$10.00"+ display_final_price: "$100.00"+ display_amount: "$100.00"relationships:order:data:@@ -8136,13 +8139,6 @@ paths:example: 50schema:type: integer- - name: include- in: query- description: 'Select which associated resources you would like to fetch, see:- <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'- example: cms_sections- schema:- type: string- name: filter[name_i_cont]in: querydescription: ''@@ -8162,24 +8158,24 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #119'- created_at: '2021-10-27T09:25:38.995Z'- updated_at: '2021-10-27T09:25:38.995Z'+ created_at: '2021-10-27T13:32:01.138Z'+ updated_at: '2021-10-27T13:32:01.138Z'- id: '120'type: shipping_categoryattributes:name: 'ShippingCategory #120'- created_at: '2021-10-27T09:25:38.997Z'- updated_at: '2021-10-27T09:25:38.997Z'+ created_at: '2021-10-27T13:32:01.139Z'+ updated_at: '2021-10-27T13:32:01.139Z'meta:count: 2total_count: 2total_pages: 1links:- self: http://www.example.com/api/v2/platform/shipping_categories?page=1&per_page=&include=&filter[name_i_cont]=- next: http://www.example.com/api/v2/platform/shipping_categories?filter%5Bname_i_cont%5D=&include=&page=1&per_page=- prev: http://www.example.com/api/v2/platform/shipping_categories?filter%5Bname_i_cont%5D=&include=&page=1&per_page=- last: http://www.example.com/api/v2/platform/shipping_categories?filter%5Bname_i_cont%5D=&include=&page=1&per_page=- first: http://www.example.com/api/v2/platform/shipping_categories?filter%5Bname_i_cont%5D=&include=&page=1&per_page=+ self: http://www.example.com/api/v2/platform/shipping_categories?page=1&per_page=&filter[name_i_cont]=+ next: http://www.example.com/api/v2/platform/shipping_categories?filter%5Bname_i_cont%5D=&page=1&per_page=+ prev: http://www.example.com/api/v2/platform/shipping_categories?filter%5Bname_i_cont%5D=&page=1&per_page=+ last: http://www.example.com/api/v2/platform/shipping_categories?filter%5Bname_i_cont%5D=&page=1&per_page=+ first: http://www.example.com/api/v2/platform/shipping_categories?filter%5Bname_i_cont%5D=&page=1&per_page='401':description: Authentication Failedcontent:@@ -8196,14 +8192,7 @@ paths:- bearer_auth: []description: Creates a Shipping CategoryoperationId: create-shipping-category- parameters:- - name: include- in: query- description: 'Select which associated resources you would like to fetch, see:- <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'- example: cms_sections- schema:- type: string+ parameters: []responses:'201':description: record created@@ -8217,8 +8206,8 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #123'- created_at: '2021-10-27T09:25:39.041Z'- updated_at: '2021-10-27T09:25:39.041Z'+ created_at: '2021-10-27T13:32:01.188Z'+ updated_at: '2021-10-27T13:32:01.188Z''422':description: invalid requestcontent:@@ -8250,13 +8239,6 @@ paths:required: trueschema:type: string- - name: include- in: query- description: 'Select which associated resources you would like to fetch, see:- <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'- example: cms_sections- schema:- type: stringresponses:'200':description: Record found@@ -8270,8 +8252,8 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #124'- created_at: '2021-10-27T09:25:39.073Z'- updated_at: '2021-10-27T09:25:39.073Z'+ created_at: '2021-10-27T13:32:01.219Z'+ updated_at: '2021-10-27T13:32:01.219Z''404':description: Record not foundcontent:@@ -8302,13 +8284,6 @@ paths:required: trueschema:type: string- - name: include- in: query- description: 'Select which associated resources you would like to fetch, see:- <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'- example: cms_sections- schema:- type: stringresponses:'200':description: record updated@@ -8322,8 +8297,8 @@ paths:type: shipping_categoryattributes:name: Default- created_at: '2021-10-27T09:25:39.121Z'- updated_at: '2021-10-27T09:25:39.127Z'+ created_at: '2021-10-27T13:32:01.271Z'+ updated_at: '2021-10-27T13:32:01.277Z''422':description: invalid requestcontent:@@ -8810,8 +8785,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-27T09:25:39.672Z'- updated_at: '2021-10-27T09:25:39.676Z'+ created_at: '2021-10-27T13:32:01.831Z'+ updated_at: '2021-10-27T13:32:01.835Z'meta_title:meta_description:meta_keywords:@@ -8845,8 +8820,8 @@ paths:lft: 4rgt: 5description:- created_at: '2021-10-27T09:25:39.723Z'- updated_at: '2021-10-27T09:25:39.726Z'+ created_at: '2021-10-27T13:32:01.882Z'+ updated_at: '2021-10-27T13:32:01.886Z'meta_title:meta_description:meta_keywords:@@ -8880,8 +8855,8 @@ paths:lft: 1rgt: 6description:- created_at: '2021-10-27T09:25:39.613Z'- updated_at: '2021-10-27T09:25:39.735Z'+ created_at: '2021-10-27T13:32:01.772Z'+ updated_at: '2021-10-27T13:32:01.895Z'meta_title:meta_description:meta_keywords:@@ -8958,8 +8933,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-27T09:25:39.951Z'- updated_at: '2021-10-27T09:25:39.956Z'+ created_at: '2021-10-27T13:32:02.095Z'+ updated_at: '2021-10-27T13:32:02.098Z'meta_title:meta_description:meta_keywords:@@ -9040,8 +9015,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-27T09:25:40.050Z'- updated_at: '2021-10-27T09:25:40.054Z'+ created_at: '2021-10-27T13:32:02.194Z'+ updated_at: '2021-10-27T13:32:02.208Z'meta_title:meta_description:meta_keywords:@@ -9123,8 +9098,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-27T09:25:40.244Z'- updated_at: '2021-10-27T09:25:40.279Z'+ created_at: '2021-10-27T13:32:02.412Z'+ updated_at: '2021-10-27T13:32:02.437Z'meta_title:meta_description:meta_keywords:@@ -9265,9 +9240,9 @@ paths:- id: '97'type: userattributes:- email: [email protected]- created_at: '2021-10-27T09:25:40.713Z'- updated_at: '2021-10-27T09:25:40.713Z'+ email: [email protected]+ created_at: '2021-10-27T13:32:02.872Z'+ updated_at: '2021-10-27T13:32:02.872Z'average_order_value: []lifetime_value: []store_credits: []@@ -9279,9 +9254,9 @@ paths:- id: '98'type: userattributes:- email: [email protected]- created_at: '2021-10-27T09:25:40.718Z'- updated_at: '2021-10-27T09:25:40.718Z'+ email: [email protected]+ created_at: '2021-10-27T13:32:02.878Z'+ updated_at: '2021-10-27T13:32:02.878Z'average_order_value: []lifetime_value: []store_credits: []@@ -9293,9 +9268,9 @@ paths:- id: '99'type: userattributes:- email: [email protected]- created_at: '2021-10-27T09:25:40.719Z'- updated_at: '2021-10-27T09:25:40.719Z'+ email: [email protected]+ created_at: '2021-10-27T13:32:02.879Z'+ updated_at: '2021-10-27T13:32:02.879Z'average_order_value: []lifetime_value: []store_credits: []@@ -9350,9 +9325,9 @@ paths:id: '104'type: userattributes:- email: [email protected]- created_at: '2021-10-27T09:25:40.785Z'- updated_at: '2021-10-27T09:25:40.785Z'+ email: [email protected]+ created_at: '2021-10-27T13:32:02.943Z'+ updated_at: '2021-10-27T13:32:02.943Z'average_order_value: []lifetime_value: []store_credits: []@@ -9411,9 +9386,9 @@ paths:id: '107'type: userattributes:- email: [email protected]- created_at: '2021-10-27T09:25:40.828Z'- updated_at: '2021-10-27T09:25:40.828Z'+ email: [email protected]+ created_at: '2021-10-27T13:32:02.988Z'+ updated_at: '2021-10-27T13:32:02.988Z'average_order_value: []lifetime_value: []store_credits: []@@ -9472,8 +9447,8 @@ paths:type: userattributes:email: [email protected]- created_at: '2021-10-27T09:25:40.894Z'- updated_at: '2021-10-27T09:25:40.903Z'+ created_at: '2021-10-27T13:32:03.062Z'+ updated_at: '2021-10-27T13:32:03.071Z'average_order_value: []lifetime_value: []store_credits: []@@ -9608,12 +9583,12 @@ paths:position: 1cost_currency: USDtrack_inventory: true- updated_at: '2021-10-27T09:25:41.121Z'+ updated_at: '2021-10-27T13:32:03.282Z'discontinue_on:- created_at: '2021-10-27T09:25:41.116Z'+ created_at: '2021-10-27T13:32:03.275Z'display_price: "$19.99"display_compare_at_price:- name: 'Product #184 - 4541'+ name: 'Product #184 - 6208'options_text: ''total_on_hand: 0purchasable: true@@ -9648,21 +9623,21 @@ paths:type: variantattributes:sku: SKU-252- weight: '56.96'- height: '171.57'- depth: '198.71'+ weight: '129.97'+ height: '37.82'+ depth: '12.2'deleted_at:is_master: falsecost_price: '17.0'position: 2cost_currency: USDtrack_inventory: true- updated_at: '2021-10-27T09:25:41.152Z'+ updated_at: '2021-10-27T13:32:03.315Z'discontinue_on:- created_at: '2021-10-27T09:25:41.145Z'+ created_at: '2021-10-27T13:32:03.307Z'display_price: "$19.99"display_compare_at_price:- name: 'Product #184 - 4541'+ name: 'Product #184 - 6208'options_text: 'Size: S'total_on_hand: 0purchasable: true@@ -9699,21 +9674,21 @@ paths:type: variantattributes:sku: SKU-253- weight: '172.9'- height: '83.1'- depth: '116.34'+ weight: '7.34'+ height: '193.42'+ depth: '100.87'deleted_at:is_master: falsecost_price: '17.0'position: 3cost_currency: USDtrack_inventory: true- updated_at: '2021-10-27T09:25:41.171Z'+ updated_at: '2021-10-27T13:32:03.383Z'discontinue_on:- created_at: '2021-10-27T09:25:41.165Z'+ created_at: '2021-10-27T13:32:03.364Z'display_price: "$19.99"display_compare_at_price:- name: 'Product #184 - 4541'+ name: 'Product #184 - 6208'options_text: 'Size: S'total_on_hand: 0purchasable: true@@ -9799,21 +9774,21 @@ paths:type: variantattributes:sku: SKU-258- weight: '64.85'- height: '20.14'- depth: '183.7'+ weight: '196.4'+ height: '138.84'+ depth: '73.59'deleted_at:is_master: falsecost_price: '17.0'position: 2cost_currency: USDtrack_inventory: true- updated_at: '2021-10-27T09:25:41.481Z'+ updated_at: '2021-10-27T13:32:03.627Z'discontinue_on:- created_at: '2021-10-27T09:25:41.475Z'+ created_at: '2021-10-27T13:32:03.622Z'display_price: "$19.99"display_compare_at_price:- name: 'Product #186 - 5210'+ name: 'Product #186 - 960'options_text: 'Size: S'total_on_hand: 0purchasable: true@@ -9931,8 +9906,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T09:25:41.791Z'- updated_at: '2021-10-27T09:25:41.791Z'+ created_at: '2021-10-27T13:32:03.997Z'+ updated_at: '2021-10-27T13:32:03.997Z'- id: '2'type: subscriberattributes:@@ -9940,8 +9915,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T09:25:41.838Z'- updated_at: '2021-10-27T09:25:41.838Z'+ created_at: '2021-10-27T13:32:04.000Z'+ updated_at: '2021-10-27T13:32:04.000Z'meta:count: 2total_count: 2@@ -9985,8 +9960,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T09:25:41.894Z'- updated_at: '2021-10-27T09:25:41.894Z'+ created_at: '2021-10-27T13:32:04.042Z'+ updated_at: '2021-10-27T13:32:04.042Z''422':description: invalid requestcontent:@@ -10037,8 +10012,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T09:25:41.922Z'- updated_at: '2021-10-27T09:25:41.922Z'+ created_at: '2021-10-27T13:32:04.069Z'+ updated_at: '2021-10-27T13:32:04.069Z''404':description: Record not foundcontent:@@ -10085,8 +10060,8 @@ paths:active: truesubscriptions:- "*"- created_at: '2021-10-27T09:25:41.966Z'- updated_at: '2021-10-27T09:25:41.966Z'+ created_at: '2021-10-27T13:32:04.113Z'+ updated_at: '2021-10-27T13:32:04.113Z''422':description: invalid requestcontent:@@ -10195,10 +10170,10 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T09:25:42.281Z'- updated_at: '2021-10-27T09:25:42.281Z'- display_price: "$19.99"+ created_at: '2021-10-27T13:32:04.356Z'+ updated_at: '2021-10-27T13:32:04.356Z'display_total: "$19.99"+ display_price: "$19.99"price: '19.99'total: '19.99'relationships:@@ -10210,10 +10185,10 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T09:25:42.340Z'- updated_at: '2021-10-27T09:25:42.340Z'- display_price: "$19.99"+ created_at: '2021-10-27T13:32:04.403Z'+ updated_at: '2021-10-27T13:32:04.403Z'display_total: "$19.99"+ display_price: "$19.99"price: '19.99'total: '19.99'relationships:@@ -10225,10 +10200,10 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T09:25:42.385Z'- updated_at: '2021-10-27T09:25:42.385Z'- display_price: "$19.99"+ created_at: '2021-10-27T13:32:04.449Z'+ updated_at: '2021-10-27T13:32:04.449Z'display_total: "$19.99"+ display_price: "$19.99"price: '19.99'total: '19.99'relationships:@@ -10240,10 +10215,10 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T09:25:42.433Z'- updated_at: '2021-10-27T09:25:42.433Z'- display_price: "$19.99"+ created_at: '2021-10-27T13:32:04.495Z'+ updated_at: '2021-10-27T13:32:04.495Z'display_total: "$19.99"+ display_price: "$19.99"price: '19.99'total: '19.99'relationships:@@ -10298,10 +10273,10 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T09:25:42.802Z'- updated_at: '2021-10-27T09:25:42.802Z'- display_price: "$19.99"+ created_at: '2021-10-27T13:32:04.848Z'+ updated_at: '2021-10-27T13:32:04.848Z'display_total: "$19.99"+ display_price: "$19.99"price: '19.99'total: '19.99'relationships:@@ -10365,10 +10340,10 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-27T09:25:43.019Z'- updated_at: '2021-10-27T09:25:43.019Z'- display_price: "$19.99"+ created_at: '2021-10-27T13:32:05.043Z'+ updated_at: '2021-10-27T13:32:05.043Z'display_total: "$19.99"+ display_price: "$19.99"price: '19.99'total: '19.99'relationships:@@ -10426,10 +10401,10 @@ paths:type: wished_itemattributes:quantity: 3- created_at: '2021-10-27T09:25:43.381Z'- updated_at: '2021-10-27T09:25:43.390Z'- display_price: "$19.99"+ created_at: '2021-10-27T13:32:05.370Z'+ updated_at: '2021-10-27T13:32:05.378Z'display_total: "$59.97"+ display_price: "$19.99"price: '19.99'total: '59.97'relationships:@@ -10550,9 +10525,9 @@ paths:name: Black Fridayis_private: trueis_default: false- created_at: '2021-10-27T09:25:44.128Z'- updated_at: '2021-10-27T09:25:44.128Z'- token: thTezgwa61NYpVETpnMcnhSV+ created_at: '2021-10-27T13:32:06.080Z'+ updated_at: '2021-10-27T13:32:06.080Z'+ token: Yf76pYwAgfNxo2TUyr2b3uSxvariant_included: falserelationships:wished_items:@@ -10567,9 +10542,9 @@ paths:name: Birthdayis_private: trueis_default: false- created_at: '2021-10-27T09:25:44.129Z'- updated_at: '2021-10-27T09:25:44.129Z'- token: G45o329ZEJqM2xgjC1Gky1M3+ created_at: '2021-10-27T13:32:06.081Z'+ updated_at: '2021-10-27T13:32:06.081Z'+ token: gx7x85wyLq3xixfWwBW9oAadvariant_included: falserelationships:wished_items:@@ -10627,9 +10602,9 @@ paths:name: Wishlist_26is_private: trueis_default: false- created_at: '2021-10-27T09:25:44.637Z'- updated_at: '2021-10-27T09:25:44.637Z'- token: cMVgajutfjmATguqS5XSFn7U+ created_at: '2021-10-27T13:32:06.528Z'+ updated_at: '2021-10-27T13:32:06.528Z'+ token: DV3L27aYWyYhfwg19rPq6SgDvariant_included: falserelationships:wished_items:@@ -10689,9 +10664,9 @@ paths:name: My Wishlistis_private: trueis_default: false- created_at: '2021-10-27T09:25:44.679Z'- updated_at: '2021-10-27T09:25:44.679Z'- token: 2FcjNTApTq583cEsgTkLALwi+ created_at: '2021-10-27T13:32:06.564Z'+ updated_at: '2021-10-27T13:32:06.564Z'+ token: yuJZq4c6PaksYLuC9dBNAkwAvariant_included: falserelationships:wished_items:@@ -10748,9 +10723,9 @@ paths:name: My Super Wishlistis_private: trueis_default: false- created_at: '2021-10-27T09:25:44.738Z'- updated_at: '2021-10-27T09:25:44.750Z'- token: 7AJLNKB5co3SczwoDqQnovDX+ created_at: '2021-10-27T13:32:06.620Z'+ updated_at: '2021-10-27T13:32:06.628Z'+ token: jJ8rNdgdY23EfvC8WEamhDeAvariant_included: falserelationships:wished_items:@@ -10850,7 +10825,6 @@ tags:- name: Webhook Subscribers- name: Wishlists- name: Wished Items-- name: Webhook Subscribers- name: Variantscomponents:securitySchemes:@@ -11055,7 +11029,7 @@ components:completed_at:type: stringformat: date_time- example: 2021-10-27 09:25:10 UTC+ example: 2021-10-27 13:31:33 UTCbill_address_id:type: stringexample: '1'@@ -11123,7 +11097,7 @@ components:approved_at:type: stringformat: date_time- example: 2021-10-27 09:25:10 UTC+ example: 2021-10-27 13:31:33 UTCconfirmation_delivered:type: booleanexample: true@@ -11313,40 +11287,45 @@ components:shipping_method_params:type: objectproperties:- name:- type: string- example: DHL Express- admin_name:- type: string- example: DHL Area Code D- code:- type: string- example: DHL-A-D- tracking_url:- type: string- example: dhlexpress.com?tracking=- display_on:- type: string- example: both- enum:- - both- - back_end- - front_end- tax_category_id:- type: string- example: '1'- shipping_category_ids:- type: array- items:- allOf:- - type: string- example: '2'- calculator_attributes:- "$ref": "#/components/schemas/shipping_calculator_params"+ shipping_method:+ type: object+ required:+ - name+ - display_on+ - calculator_attributes+ properties:+ name:+ type: string+ example: DHL Express+ admin_name:+ type: string+ example: DHL Area Code D+ code:+ type: string+ example: DHL-A-D+ tracking_url:+ type: string+ example: dhlexpress.com?tracking=+ display_on:+ type: string+ example: both+ enum:+ - both+ - back_end+ - front_end+ tax_category_id:+ type: string+ example: '1'+ shipping_category_ids:+ type: array+ items:+ allOf:+ - type: string+ example: '2'+ calculator_attributes:+ "$ref": "#/components/schemas/shipping_calculator_params"required:- - name- - display_on- - calculator_attributes+ - shipping_methodx-internal: trueshipping_calculator_params:type: objectdiff --git a/api/spec/integration/api/v2/platform/shipping_categories_spec.rb b/api/spec/integration/api/v2/platform/shipping_categories_spec.rbindex 4c953a9132..af1888ff7c 100644--- a/api/spec/integration/api/v2/platform/shipping_categories_spec.rb+++ b/api/spec/integration/api/v2/platform/shipping_categories_spec.rb@@ -5,7 +5,6 @@ describe 'Taxons API', swagger: true doresource_name = 'Shipping Category'options = {- include_example: 'cms_sections',filter_examples: [{ name: 'filter[name_i_cont]', example: 'default' }]}diff --git a/api/spec/integration/api/v2/platform/shipping_methods_spec.rb b/api/spec/integration/api/v2/platform/shipping_methods_spec.rbindex 560ecf3f7e..d95307ee7d 100644--- a/api/spec/integration/api/v2/platform/shipping_methods_spec.rb+++ b/api/spec/integration/api/v2/platform/shipping_methods_spec.rb@@ -17,31 +17,37 @@ describe 'Shipping Methods API', swagger: true dolet(:valid_create_param_value) do{- name: 'DHL Express Domestic',- display_on: 'both',- shipping_category_ids: [shipping_category.id.to_s],- admin_name: 'DHL Express- Zone A',- code: 'DDD',- tax_category_id: tax_category.id.to_s,- calculator_attributes: {- type: 'Spree::Calculator::Shipping::FlatRate'+ shipping_method: {+ name: 'DHL Express Domestic',+ display_on: 'both',+ shipping_category_ids: [shipping_category.id.to_s],+ admin_name: 'DHL Express- Zone A',+ code: 'DDD',+ tax_category_id: tax_category.id.to_s,+ calculator_attributes: {+ type: 'Spree::Calculator::Shipping::FlatRate'+ }}}endlet(:valid_update_param_value) do{- name: 'FedEx Expedited',- calculator_attributes: {- type: 'Spree::Calculator::Shipping::FlatPercentItemTotal',- preferred_flat_percent: 23+ shipping_method: {+ name: 'FedEx Expedited',+ calculator_attributes: {+ type: 'Spree::Calculator::Shipping::FlatPercentItemTotal',+ preferred_flat_percent: 23+ }}}endlet(:invalid_param_value) do{- name: ''+ shipping_method: {+ name: ''+ }}enddiff --git a/api/spec/swagger_helper.rb b/api/spec/swagger_helper.rbindex 42583596ff..2d6f56142e 100644--- a/api/spec/swagger_helper.rb+++ b/api/spec/swagger_helper.rb@@ -305,26 +305,33 @@ RSpec.configure do |config|required: %w[name],'x-internal': true},+shipping_method_params: {type: :object,properties: {- name: { type: :string, example: 'DHL Express' },- admin_name: { type: :string, example: 'DHL Area Code D' },- code: { type: :string, example: 'DHL-A-D' },- tracking_url: { type: :string, example: 'dhlexpress.com?tracking=' },- display_on: { type: :string, example: 'both', enum: ['both', 'back_end', 'front_end'] },- tax_category_id: { type: :string, example: '1' },- shipping_category_ids: {- type: :array,- items: {- allOf: [- { type: :string, example: '2' }- ]+ shipping_method: {+ type: :object,+ required: %w[name display_on calculator_attributes],+ properties: {+ name: { type: :string, example: 'DHL Express' },+ admin_name: { type: :string, example: 'DHL Area Code D' },+ code: { type: :string, example: 'DHL-A-D' },+ tracking_url: { type: :string, example: 'dhlexpress.com?tracking=' },+ display_on: { type: :string, example: 'both', enum: ['both', 'back_end', 'front_end'] },+ tax_category_id: { type: :string, example: '1' },+ shipping_category_ids: {+ type: :array,+ items: {+ allOf: [+ { type: :string, example: '2' }+ ]+ }+ },+ calculator_attributes: { '$ref': '#/components/schemas/shipping_calculator_params' },}- },- calculator_attributes: { '$ref': '#/components/schemas/shipping_calculator_params' },+ }},- required: %w[name display_on calculator_attributes],+ required: %w[shipping_method],'x-internal': true},shipping_calculator_params: {