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
JSON:API Spec Compliance Fixes For Platform API (#11388)
Matthew Kennedy3328f002cba7
diff --git a/api/app/controllers/spree/api/v2/storefront/wishlists_controller.rb b/api/app/controllers/spree/api/v2/storefront/wishlists_controller.rbindex ee1939271f..257524f59d 100644--- a/api/app/controllers/spree/api/v2/storefront/wishlists_controller.rb+++ b/api/app/controllers/spree/api/v2/storefront/wishlists_controller.rb@@ -43,7 +43,7 @@ module Spreeauthorize! :destroy, resourceif resource.destroy- render_serialized_payload { serialize_resource(resource) }+ head 204elserender_error_payload('Something went wrong')enddiff --git a/api/config/routes.rb b/api/config/routes.rbindex a272d4645c..62e9e14085 100644--- a/api/config/routes.rb+++ b/api/config/routes.rb@@ -189,9 +189,9 @@ Spree::Core::Engine.add_routes doresources :reimbursementsresources :return_authorizations domember do- put :add- put :cancel- put :receive+ patch :add+ patch :cancel+ patch :receiveendend@@ -201,7 +201,7 @@ Spree::Core::Engine.add_routes doresources :taxonsresources :classifications domember do- put :reposition+ patch :repositionendendresources :imagesdiff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yamlindex c5bdde8f34..1aa63df1a5 100644--- a/api/docs/v2/platform/index.yaml+++ b/api/docs/v2/platform/index.yaml@@ -1,5 +1,5 @@----openapi: 3.0.1+openapi: 3.0.3info:title: Platform API V2contact:@@ -10,7 +10,7 @@ info:paths:"/api/v2/platform/addresses":get:- summary: Returns a list of Addresses+ summary: Return a list of Addressestags:- Addressessecurity:@@ -63,8 +63,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-08T18:59:30.123Z'- updated_at: '2021-10-08T18:59:30.123Z'+ created_at: '2021-10-11T17:34:32.279Z'+ updated_at: '2021-10-11T17:34:32.279Z'deleted_at:label:relationships:@@ -91,8 +91,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-08T18:59:30.132Z'- updated_at: '2021-10-08T18:59:30.132Z'+ created_at: '2021-10-11T17:34:32.282Z'+ updated_at: '2021-10-11T17:34:32.282Z'deleted_at:label:relationships:@@ -125,7 +125,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates an Address+ summary: Create an Addresstags:- Addressessecurity:@@ -162,8 +162,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-08T18:59:30.468Z'- updated_at: '2021-10-08T18:59:30.468Z'+ created_at: '2021-10-11T17:34:32.424Z'+ updated_at: '2021-10-11T17:34:32.424Z'deleted_at:label:relationships:@@ -211,7 +211,7 @@ paths:"$ref": "#/components/schemas/address_params""/api/v2/platform/addresses/{id}":get:- summary: Returns an Address+ summary: Return an Addresstags:- Addressessecurity:@@ -253,8 +253,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-08T18:59:30.540Z'- updated_at: '2021-10-08T18:59:30.540Z'+ created_at: '2021-10-11T17:34:32.456Z'+ updated_at: '2021-10-11T17:34:32.456Z'deleted_at:label:relationships:@@ -284,8 +284,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates an Address+ patch:+ summary: Update an Addresstags:- Addressessecurity:@@ -327,8 +327,8 @@ paths:state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-08T18:59:30.675Z'- updated_at: '2021-10-08T18:59:30.689Z'+ created_at: '2021-10-11T17:34:32.517Z'+ updated_at: '2021-10-11T17:34:32.525Z'deleted_at:label:relationships:@@ -377,7 +377,7 @@ paths:schema:"$ref": "#/components/schemas/address_params"delete:- summary: Deletes an Address+ summary: Delete an Addresstags:- Addressessecurity:@@ -411,7 +411,7 @@ paths:error: The access token is invalid"/api/v2/platform/adjustments":get:- summary: Returns a list of Adjustments+ summary: Return a list of Adjustmentstags:- Adjustmentssecurity:@@ -460,8 +460,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-08T18:59:31.004Z'- updated_at: '2021-10-08T18:59:31.004Z'+ created_at: '2021-10-11T17:34:32.748Z'+ updated_at: '2021-10-11T17:34:32.748Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -487,8 +487,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-08T18:59:31.035Z'- updated_at: '2021-10-08T18:59:31.035Z'+ created_at: '2021-10-11T17:34:32.767Z'+ updated_at: '2021-10-11T17:34:32.767Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -524,7 +524,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates an Adjustment+ summary: Create an Adjustmenttags:- Adjustmentssecurity:@@ -557,8 +557,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-08T18:59:31.410Z'- updated_at: '2021-10-08T18:59:31.410Z'+ created_at: '2021-10-11T17:34:33.045Z'+ updated_at: '2021-10-11T17:34:33.045Z'state: openincluded: falsedisplay_amount: "$100.00"@@ -598,7 +598,7 @@ paths:"$ref": "#/components/schemas/adjustment_params""/api/v2/platform/adjustments/{id}":get:- summary: Returns an Adjustment+ summary: Return an Adjustmenttags:- Adjustmentssecurity:@@ -636,8 +636,8 @@ paths:label: Shippingmandatory:eligible: true- created_at: '2021-10-08T18:59:31.566Z'- updated_at: '2021-10-08T18:59:31.574Z'+ created_at: '2021-10-11T17:34:33.136Z'+ updated_at: '2021-10-11T17:34:33.140Z'state: openincluded: falsedisplay_amount: "$1.00"@@ -670,8 +670,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates an Adjustment+ patch:+ summary: Update an Adjustmenttags:- Adjustmentssecurity:@@ -709,8 +709,8 @@ paths:label: New labelmandatory:eligible: true- created_at: '2021-10-08T18:59:31.965Z'- updated_at: '2021-10-08T18:59:31.987Z'+ created_at: '2021-10-11T17:34:33.323Z'+ updated_at: '2021-10-11T17:34:33.338Z'state: openincluded: falsedisplay_amount: "$15.00"@@ -760,7 +760,7 @@ paths:schema:"$ref": "#/components/schemas/adjustment_params"delete:- summary: Deletes an Adjustment+ summary: Delete an Adjustmenttags:- Adjustmentssecurity:@@ -794,7 +794,7 @@ paths:error: The access token is invalid"/api/v2/platform/classifications":get:- summary: Returns a list of Classifications+ summary: Return a list of Classificationstags:- Classificationssecurity:@@ -838,8 +838,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-08T18:59:32.825Z'- updated_at: '2021-10-08T18:59:32.825Z'+ created_at: '2021-10-11T17:34:33.898Z'+ updated_at: '2021-10-11T17:34:33.898Z'relationships:product:data:@@ -853,8 +853,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-08T18:59:33.002Z'- updated_at: '2021-10-08T18:59:33.002Z'+ created_at: '2021-10-11T17:34:34.022Z'+ updated_at: '2021-10-11T17:34:34.022Z'relationships:product:data:@@ -883,7 +883,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a Classification+ summary: Create a Classificationtags:- Classificationssecurity:@@ -911,8 +911,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-08T18:59:33.735Z'- updated_at: '2021-10-08T18:59:33.735Z'+ created_at: '2021-10-11T17:34:34.411Z'+ updated_at: '2021-10-11T17:34:34.411Z'relationships:product:data:@@ -942,7 +942,7 @@ paths:"$ref": "#/components/schemas/classification_params""/api/v2/platform/classifications/{id}":get:- summary: Returns a Classification+ summary: Return a Classificationtags:- Classificationssecurity:@@ -975,8 +975,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-08T18:59:33.997Z'- updated_at: '2021-10-08T18:59:33.997Z'+ created_at: '2021-10-11T17:34:34.561Z'+ updated_at: '2021-10-11T17:34:34.561Z'relationships:product:data:@@ -1002,8 +1002,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a Classification+ patch:+ summary: Update a Classificationtags:- Classificationssecurity:@@ -1036,8 +1036,8 @@ paths:type: classificationattributes:position: 1- created_at: '2021-10-08T18:59:34.466Z'- updated_at: '2021-10-08T18:59:34.466Z'+ created_at: '2021-10-11T17:34:34.847Z'+ updated_at: '2021-10-11T17:34:34.847Z'relationships:product:data:@@ -1080,7 +1080,7 @@ paths:schema:"$ref": "#/components/schemas/classification_params"delete:- summary: Deletes a Classification+ summary: Delete a Classificationtags:- Classificationssecurity:@@ -1113,7 +1113,7 @@ paths:value:error: The access token is invalid"/api/v2/platform/classifications/{id}/reposition":- put:+ patch:summary: Reposition a Classificationtags:- Classifications@@ -1147,8 +1147,8 @@ paths:type: classificationattributes:position: 2- created_at: '2021-10-08T18:59:35.671Z'- updated_at: '2021-10-08T18:59:35.699Z'+ created_at: '2021-10-11T17:34:35.558Z'+ updated_at: '2021-10-11T17:34:35.582Z'relationships:product:data:@@ -1190,7 +1190,7 @@ paths:"$ref": "#/components/schemas/classification_params""/api/v2/platform/cms_pages":get:- summary: Returns a list of CMS Pages+ summary: Return a list of CMS Pagestags:- CMS Pagessecurity:@@ -1233,34 +1233,35 @@ paths:- id: '1'type: cms_pageattributes:- title: Dignissimos dolore qui ipsum voluptate.+ title: Ea nostrum esse quibusdam quod fugit.meta_title:content:meta_description:visible: true- slug: dignissimos-dolore-qui-ipsum-voluptate+ slug: ea-nostrum-esse-quibusdam-quod-fugittype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-08T18:59:36.180Z'- updated_at: '2021-10-08T18:59:36.180Z'+ created_at: '2021-10-11T17:34:35.893Z'+ updated_at: '2021-10-11T17:34:35.893Z'relationships:cms_sections:data: []- id: '2'type: cms_pageattributes:- title: Quam mollitia ea commodi magnam totam.+ title: Praesentium dolorem laudantium voluptates facere quos+ quis provident.meta_title:content:meta_description:visible: true- slug: quam-mollitia-ea-commodi-magnam-totam+ slug: praesentium-dolorem-laudantium-voluptates-facere-quos-quis-providenttype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-08T18:59:36.186Z'- updated_at: '2021-10-08T18:59:36.186Z'+ created_at: '2021-10-11T17:34:35.898Z'+ updated_at: '2021-10-11T17:34:35.898Z'relationships:cms_sections:data: []@@ -1283,7 +1284,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a CMS Page+ summary: Create a CMS Pagetags:- CMS Pagessecurity:@@ -1310,17 +1311,17 @@ paths:id: '5'type: cms_pageattributes:- title: Dolore dolorum quo eius tenetur aliquam rerum culpa.+ title: Itaque neque sequi fugit eos.meta_title:content:meta_description:visible: true- slug: dolore-dolorum-quo-eius-tenetur-aliquam-rerum-culpa+ slug: itaque-neque-sequi-fugit-eostype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-08T18:59:36.319Z'- updated_at: '2021-10-08T18:59:36.319Z'+ created_at: '2021-10-11T17:34:35.978Z'+ updated_at: '2021-10-11T17:34:35.978Z'relationships:cms_sections:data: []@@ -1344,7 +1345,7 @@ paths:"$ref": "#/components/schemas/cms_page_params""/api/v2/platform/cms_pages/{id}":get:- summary: Returns a CMS Page+ summary: Return a CMS Pagetags:- CMS Pagessecurity:@@ -1376,17 +1377,17 @@ paths:id: '6'type: cms_pageattributes:- title: Dicta reprehenderit similique repellendus tempore.+ title: Tempore earum cumque ab officia officiis aspernatur.meta_title:content:meta_description:visible: true- slug: dicta-reprehenderit-similique-repellendus-tempore+ slug: tempore-earum-cumque-ab-officia-officiis-aspernaturtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-08T18:59:36.379Z'- updated_at: '2021-10-08T18:59:36.379Z'+ created_at: '2021-10-11T17:34:36.011Z'+ updated_at: '2021-10-11T17:34:36.011Z'relationships:cms_sections:data: []@@ -1406,8 +1407,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a CMS Page+ patch:+ summary: Update a CMS Pagetags:- CMS Pagessecurity:@@ -1444,12 +1445,12 @@ paths:content:meta_description:visible: true- slug: dignissimos-vero-cumque-voluptates-reprehenderit-corrupti-nisi+ slug: dolorum-facere-aspernatur-sint-officia-voluptate-ab-rerumtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-08T18:59:36.466Z'- updated_at: '2021-10-08T18:59:36.480Z'+ created_at: '2021-10-11T17:34:36.066Z'+ updated_at: '2021-10-11T17:34:36.076Z'relationships:cms_sections:data: []@@ -1486,7 +1487,7 @@ paths:schema:"$ref": "#/components/schemas/cms_page_params"delete:- summary: Deletes a CMS Page+ summary: Delete a CMS Pagetags:- CMS Pagessecurity:@@ -1520,7 +1521,7 @@ paths:error: The access token is invalid"/api/v2/platform/cms_sections":get:- summary: Returns a list of CMS Sections+ summary: Return a list of CMS Sectionstags:- CMS Sectionssecurity:@@ -1563,7 +1564,7 @@ paths:- id: '1'type: cms_sectionattributes:- name: Possimus esse amet labore illum hic odio.+ name: Maxime corporis impedit at corrupti enim omnis.content: {}settings:gutters: No Gutters@@ -1572,8 +1573,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 1linked_resource_type: Spree::Taxon- created_at: '2021-10-08T18:59:36.806Z'- updated_at: '2021-10-08T18:59:36.806Z'+ created_at: '2021-10-11T17:34:36.243Z'+ updated_at: '2021-10-11T17:34:36.243Z'relationships:cms_page:data:@@ -1584,7 +1585,7 @@ paths:- id: '2'type: cms_sectionattributes:- name: Consequuntur aspernatur accusamus hic ad cum a porro.+ name: Est veniam provident animi impedit.content:link_type_one: Spree::Taxonlink_type_two: Spree::Taxon@@ -1596,8 +1597,8 @@ paths:type: Spree::Cms::Sections::ImageGalleryposition: 2linked_resource_type:- created_at: '2021-10-08T18:59:36.812Z'- updated_at: '2021-10-08T18:59:36.812Z'+ created_at: '2021-10-11T17:34:36.248Z'+ updated_at: '2021-10-11T17:34:36.248Z'relationships:cms_page:data:@@ -1608,7 +1609,8 @@ paths:- id: '3'type: cms_sectionattributes:- name: Laudantium voluptate voluptatem totam omnis.+ name: Porro aliquam cumque perferendis modi voluptate architecto+ accusamus aliquid.content: {}settings:gutters: No Gutters@@ -1617,8 +1619,8 @@ paths:type: Spree::Cms::Sections::FeaturedArticleposition: 3linked_resource_type: Spree::Taxon- created_at: '2021-10-08T18:59:36.828Z'- updated_at: '2021-10-08T18:59:36.828Z'+ created_at: '2021-10-11T17:34:36.256Z'+ updated_at: '2021-10-11T17:34:36.256Z'relationships:cms_page:data:@@ -1629,8 +1631,7 @@ paths:- id: '4'type: cms_sectionattributes:- name: Voluptates incidunt soluta est amet quaerat temporibus- aliquam eaque.+ name: Voluptates similique aut repudiandae dolore.content: {}settings:gutters: No Gutters@@ -1639,8 +1640,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-08T18:59:36.842Z'- updated_at: '2021-10-08T18:59:36.842Z'+ created_at: '2021-10-11T17:34:36.264Z'+ updated_at: '2021-10-11T17:34:36.264Z'relationships:cms_page:data:@@ -1653,7 +1654,7 @@ paths:- id: '5'type: cms_sectionattributes:- name: Neque modi quasi rem reiciendis ipsa.+ name: Nobis natus libero corrupti quo vel nihil et.content: {}settings:gutters: No Gutters@@ -1662,8 +1663,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 5linked_resource_type: Spree::Product- created_at: '2021-10-08T18:59:36.854Z'- updated_at: '2021-10-08T18:59:36.854Z'+ created_at: '2021-10-11T17:34:36.271Z'+ updated_at: '2021-10-11T17:34:36.271Z'relationships:cms_page:data:@@ -1692,7 +1693,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a CMS Section+ summary: Create a CMS Sectiontags:- CMS Sectionssecurity:@@ -1719,7 +1720,7 @@ paths:id: '14'type: cms_sectionattributes:- name: Eius quod asperiores voluptatibus cumque eum.+ name: Molestias esse sed sapiente iure itaque.content: {}settings:gutters: No Gutters@@ -1728,8 +1729,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-08T18:59:37.081Z'- updated_at: '2021-10-08T18:59:37.081Z'+ created_at: '2021-10-11T17:34:36.431Z'+ updated_at: '2021-10-11T17:34:36.431Z'relationships:cms_page:data:@@ -1759,7 +1760,7 @@ paths:"$ref": "#/components/schemas/cms_section_params""/api/v2/platform/cms_sections/{id}":get:- summary: Returns a CMS Section+ summary: Return a CMS Sectiontags:- CMS Sectionssecurity:@@ -1791,8 +1792,8 @@ paths:id: '21'type: cms_sectionattributes:- name: Dolorum nostrum sapiente minima illum perspiciatis alias- vero esse.+ name: Animi fugiat assumenda expedita repudiandae sequi laborum+ voluptatem perspiciatis.content: {}settings:gutters: No Gutters@@ -1801,8 +1802,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-08T18:59:37.285Z'- updated_at: '2021-10-08T18:59:37.285Z'+ created_at: '2021-10-11T17:34:36.563Z'+ updated_at: '2021-10-11T17:34:36.563Z'relationships:cms_page:data:@@ -1828,8 +1829,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a CMS Section+ patch:+ summary: Update a CMS Sectiontags:- CMS Sectionssecurity:@@ -1870,8 +1871,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-08T18:59:37.599Z'- updated_at: '2021-10-08T18:59:37.618Z'+ created_at: '2021-10-11T17:34:36.769Z'+ updated_at: '2021-10-11T17:34:36.781Z'relationships:cms_page:data:@@ -1914,7 +1915,7 @@ paths:schema:"$ref": "#/components/schemas/cms_section_params"delete:- summary: Deletes a CMS Section+ summary: Delete a CMS Sectiontags:- CMS Sectionssecurity:@@ -1973,7 +1974,7 @@ paths:id: '58'type: cms_sectionattributes:- name: Tenetur inventore eligendi corporis eum doloremque.+ name: Iste fugit labore nemo at tempore dolorum natus ut.content: {}settings:gutters: No Gutters@@ -1982,8 +1983,8 @@ paths:type: Spree::Cms::Sections::HeroImageposition: 3linked_resource_type: Spree::Product- created_at: '2021-10-08T18:59:38.323Z'- updated_at: '2021-10-08T18:59:38.341Z'+ created_at: '2021-10-11T17:34:37.282Z'+ updated_at: '2021-10-11T17:34:37.314Z'relationships:cms_page:data:@@ -2041,9 +2042,9 @@ paths:name: United States of Americanumcode: 840states_required: true- updated_at: '2021-10-08T18:59:38.569Z'+ updated_at: '2021-10-11T17:34:37.516Z'zipcode_required: true- created_at: '2021-10-08T18:59:38.569Z'+ created_at: '2021-10-11T17:34:37.516Z'relationships:states:data: []@@ -2056,9 +2057,9 @@ paths:name: NAME_2numcode: 840states_required: false- updated_at: '2021-10-08T18:59:38.577Z'+ updated_at: '2021-10-11T17:34:37.522Z'zipcode_required: true- created_at: '2021-10-08T18:59:38.577Z'+ created_at: '2021-10-11T17:34:37.522Z'relationships:states:data: []@@ -2071,9 +2072,9 @@ paths:name: NAME_3numcode: 840states_required: false- updated_at: '2021-10-08T18:59:38.580Z'+ updated_at: '2021-10-11T17:34:37.524Z'zipcode_required: true- created_at: '2021-10-08T18:59:38.580Z'+ created_at: '2021-10-11T17:34:37.524Z'relationships:states:data: []@@ -2128,9 +2129,9 @@ paths:name: NAME_6numcode: 840states_required: false- updated_at: '2021-10-08T18:59:38.649Z'+ updated_at: '2021-10-11T17:34:37.567Z'zipcode_required: true- created_at: '2021-10-08T18:59:38.649Z'+ created_at: '2021-10-11T17:34:37.567Z'relationships:states:data: []@@ -2152,7 +2153,7 @@ paths:error: The access token is invalid"/api/v2/platform/line_items":get:- summary: Returns a list of Line Items+ summary: Return a list of Line Itemstags:- Line Itemssecurity:@@ -2197,8 +2198,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-08T18:59:38.790Z'- updated_at: '2021-10-08T18:59:38.799Z'+ created_at: '2021-10-11T17:34:37.664Z'+ updated_at: '2021-10-11T17:34:37.670Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2208,18 +2209,18 @@ paths:pre_tax_amount: '10.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'+ display_amount: "$10.00"display_price: "$10.00"single_display_amount: "$10.00"display_discounted_amount: "$10.00"display_total: "$10.00"- display_final_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_promo_total: "$0.00"- display_adjustment_total: "$0.00"+ display_included_tax_total: "$0.00"display_pre_tax_amount: "$10.00"- display_amount: "$10.00"relationships:order:data:@@ -2242,8 +2243,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-08T18:59:38.840Z'- updated_at: '2021-10-08T18:59:38.848Z'+ created_at: '2021-10-11T17:34:37.699Z'+ updated_at: '2021-10-11T17:34:37.704Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2253,18 +2254,18 @@ paths:pre_tax_amount: '10.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'+ display_amount: "$10.00"display_price: "$10.00"single_display_amount: "$10.00"display_discounted_amount: "$10.00"display_total: "$10.00"- display_final_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_promo_total: "$0.00"- display_adjustment_total: "$0.00"+ display_included_tax_total: "$0.00"display_pre_tax_amount: "$10.00"- display_amount: "$10.00"relationships:order:data:@@ -2301,7 +2302,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a Line Item+ summary: Create a Line Itemtags:- Line Itemssecurity:@@ -2330,8 +2331,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-08T18:59:39.151Z'- updated_at: '2021-10-08T18:59:39.193Z'+ created_at: '2021-10-11T17:34:37.895Z'+ updated_at: '2021-10-11T17:34:37.929Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2341,18 +2342,18 @@ paths:pre_tax_amount: '10.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'+ display_amount: "$10.00"display_price: "$10.00"single_display_amount: "$10.00"display_discounted_amount: "$10.00"display_total: "$10.00"- display_final_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_promo_total: "$0.00"- display_adjustment_total: "$0.00"+ display_included_tax_total: "$0.00"display_pre_tax_amount: "$10.00"- display_amount: "$10.00"relationships:order:data:@@ -2393,7 +2394,7 @@ paths:"$ref": "#/components/schemas/line_item_params""/api/v2/platform/line_items/{id}":get:- summary: Returns a Line Item+ summary: Return a Line Itemtags:- Line Itemssecurity:@@ -2427,8 +2428,8 @@ paths:attributes:quantity: 1price: '10.0'- created_at: '2021-10-08T18:59:39.390Z'- updated_at: '2021-10-08T18:59:39.398Z'+ created_at: '2021-10-11T17:34:38.077Z'+ updated_at: '2021-10-11T17:34:38.083Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2438,18 +2439,18 @@ paths:pre_tax_amount: '10.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'+ display_amount: "$10.00"display_price: "$10.00"single_display_amount: "$10.00"display_discounted_amount: "$10.00"display_total: "$10.00"- display_final_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_promo_total: "$0.00"- display_adjustment_total: "$0.00"+ display_included_tax_total: "$0.00"display_pre_tax_amount: "$10.00"- display_amount: "$10.00"relationships:order:data:@@ -2483,8 +2484,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a Line Item+ patch:+ summary: Update a Line Itemtags:- Line Itemssecurity:@@ -2518,8 +2519,8 @@ paths:attributes:quantity: 4price: '10.0'- created_at: '2021-10-08T18:59:39.774Z'- updated_at: '2021-10-08T18:59:39.835Z'+ created_at: '2021-10-11T17:34:38.309Z'+ updated_at: '2021-10-11T17:34:38.347Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@ -2529,18 +2530,18 @@ paths:pre_tax_amount: '40.0'taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'+ display_amount: "$40.00"display_price: "$10.00"single_display_amount: "$10.00"display_discounted_amount: "$40.00"display_total: "$40.00"- display_final_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_promo_total: "$0.00"- display_adjustment_total: "$0.00"+ display_included_tax_total: "$0.00"display_pre_tax_amount: "$40.00"- display_amount: "$40.00"relationships:order:data:@@ -2565,10 +2566,10 @@ paths:examples:Example:value:- error: 'Quantity selected of "Product #52 - 7772" is not available.'+ error: 'Quantity selected of "Product #52 - 2890" is not available.'errors:quantity:- - 'selected of "Product #52 - 7772" is not available.'+ - 'selected of "Product #52 - 2890" is not available.''404':description: Record not foundcontent:@@ -2591,7 +2592,7 @@ paths:schema:"$ref": "#/components/schemas/line_item_params"delete:- summary: Deletes a Line Item+ summary: Delete a Line Itemtags:- Line Itemssecurity:@@ -2625,7 +2626,7 @@ paths:error: The access token is invalid"/api/v2/platform/menu_items":get:- summary: Returns a list of Menu Items+ summary: Return a list of Menu Itemstags:- Menu Itemssecurity:@@ -2678,8 +2679,8 @@ paths:lft: 2rgt: 3depth: 1- created_at: '2021-10-08T18:59:40.721Z'- updated_at: '2021-10-08T18:59:40.729Z'+ created_at: '2021-10-11T17:34:38.942Z'+ updated_at: '2021-10-11T17:34:38.946Z'link:is_container: falseis_root: false@@ -2715,8 +2716,8 @@ paths:lft: 4rgt: 5depth: 1- created_at: '2021-10-08T18:59:40.824Z'- updated_at: '2021-10-08T18:59:40.831Z'+ created_at: '2021-10-11T17:34:38.991Z'+ updated_at: '2021-10-11T17:34:38.995Z'link:is_container: falseis_root: false@@ -2752,8 +2753,8 @@ paths:lft: 6rgt: 7depth: 1- created_at: '2021-10-08T18:59:40.926Z'- updated_at: '2021-10-08T18:59:40.935Z'+ created_at: '2021-10-11T17:34:39.040Z'+ updated_at: '2021-10-11T17:34:39.044Z'link:is_container: falseis_root: false@@ -2789,8 +2790,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-08T18:59:41.029Z'- updated_at: '2021-10-08T18:59:41.038Z'+ created_at: '2021-10-11T17:34:39.089Z'+ updated_at: '2021-10-11T17:34:39.093Z'link:is_container: falseis_root: false@@ -2826,8 +2827,8 @@ paths:lft: 10rgt: 11depth: 1- created_at: '2021-10-08T18:59:41.132Z'- updated_at: '2021-10-08T18:59:41.139Z'+ created_at: '2021-10-11T17:34:39.136Z'+ updated_at: '2021-10-11T17:34:39.140Z'link:is_container: falseis_root: false@@ -2863,8 +2864,8 @@ paths:lft: 12rgt: 13depth: 1- created_at: '2021-10-08T18:59:41.233Z'- updated_at: '2021-10-08T18:59:41.241Z'+ created_at: '2021-10-11T17:34:39.185Z'+ updated_at: '2021-10-11T17:34:39.189Z'link:is_container: falseis_root: false@@ -2900,8 +2901,8 @@ paths:lft: 14rgt: 15depth: 1- created_at: '2021-10-08T18:59:41.340Z'- updated_at: '2021-10-08T18:59:41.347Z'+ created_at: '2021-10-11T17:34:39.236Z'+ updated_at: '2021-10-11T17:34:39.240Z'link:is_container: falseis_root: false@@ -2927,7 +2928,8 @@ paths:- id: '1'type: menu_itemattributes:- name: Assumenda iure voluptates soluta ullam.+ name: Reiciendis enim consectetur earum quaerat voluptas a+ sunt distinctio.subtitle:destination:new_window: false@@ -2937,8 +2939,8 @@ paths:lft: 1rgt: 16depth: 0- created_at: '2021-10-08T18:59:40.626Z'- updated_at: '2021-10-08T18:59:41.363Z'+ created_at: '2021-10-11T17:34:38.890Z'+ updated_at: '2021-10-11T17:34:39.250Z'link:is_container: trueis_root: true@@ -2990,7 +2992,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a Menu Item+ summary: Create a Menu Itemtags:- Menu Itemssecurity:@@ -3027,8 +3029,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-08T18:59:42.588Z'- updated_at: '2021-10-08T18:59:42.594Z'+ created_at: '2021-10-11T17:34:39.831Z'+ updated_at: '2021-10-11T17:34:39.834Z'link:is_container: falseis_root: false@@ -3072,7 +3074,7 @@ paths:"$ref": "#/components/schemas/menu_item_params""/api/v2/platform/menu_items/{id}":get:- summary: Returns a Menu Item+ summary: Return a Menu Itemtags:- Menu Itemssecurity:@@ -3114,8 +3116,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-08T18:59:43.431Z'- updated_at: '2021-10-08T18:59:43.438Z'+ created_at: '2021-10-11T17:34:40.234Z'+ updated_at: '2021-10-11T17:34:40.239Z'link:is_container: falseis_root: false@@ -3154,8 +3156,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a Menu Item+ patch:+ summary: Update a Menu Itemtags:- Menu Itemssecurity:@@ -3197,8 +3199,8 @@ paths:lft: 8rgt: 9depth: 1- created_at: '2021-10-08T18:59:44.736Z'- updated_at: '2021-10-08T18:59:44.775Z'+ created_at: '2021-10-11T17:34:40.857Z'+ updated_at: '2021-10-11T17:34:40.880Z'link:is_container: falseis_root: false@@ -3254,7 +3256,7 @@ paths:schema:"$ref": "#/components/schemas/menu_item_params"delete:- summary: Deletes a Menu Item+ summary: Delete a Menu Itemtags:- Menu Itemssecurity:@@ -3323,8 +3325,8 @@ paths:lft: 5rgt: 6depth: 2- created_at: '2021-10-08T18:59:47.857Z'- updated_at: '2021-10-08T18:59:47.900Z'+ created_at: '2021-10-11T17:34:42.447Z'+ updated_at: '2021-10-11T17:34:42.468Z'link:is_container: falseis_root: false@@ -3370,7 +3372,7 @@ paths:"$ref": "#/components/schemas/menu_item_reposition_params""/api/v2/platform/menus":get:- summary: Returns a list of Menus+ summary: Return a list of Menustags:- Menussecurity:@@ -3416,8 +3418,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-08T18:59:48.805Z'- updated_at: '2021-10-08T18:59:49.078Z'+ created_at: '2021-10-11T17:34:42.886Z'+ updated_at: '2021-10-11T17:34:43.001Z'relationships:menu_items:data:@@ -3433,8 +3435,8 @@ paths:name: Footer Menulocation: footerlocale: en- created_at: '2021-10-08T18:59:48.822Z'- updated_at: '2021-10-08T18:59:49.300Z'+ created_at: '2021-10-11T17:34:42.894Z'+ updated_at: '2021-10-11T17:34:43.099Z'relationships:menu_items:data:@@ -3463,7 +3465,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a Menu+ summary: Create a Menutags:- Menussecurity:@@ -3493,8 +3495,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-08T18:59:49.861Z'- updated_at: '2021-10-08T18:59:49.871Z'+ created_at: '2021-10-11T17:34:43.375Z'+ updated_at: '2021-10-11T17:34:43.381Z'relationships:menu_items:data:@@ -3523,7 +3525,7 @@ paths:"$ref": "#/components/schemas/menu_params""/api/v2/platform/menus/{id}":get:- summary: Returns a Menu+ summary: Return a Menutags:- Menussecurity:@@ -3558,8 +3560,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-08T18:59:49.927Z'- updated_at: '2021-10-08T18:59:49.936Z'+ created_at: '2021-10-11T17:34:43.415Z'+ updated_at: '2021-10-11T17:34:43.422Z'relationships:menu_items:data:@@ -3581,8 +3583,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a Menu+ patch:+ summary: Update a Menutags:- Menussecurity:@@ -3617,8 +3619,8 @@ paths:name: Main Menulocation: headerlocale: en- created_at: '2021-10-08T18:59:50.046Z'- updated_at: '2021-10-08T18:59:50.055Z'+ created_at: '2021-10-11T17:34:43.484Z'+ updated_at: '2021-10-11T17:34:43.491Z'relationships:menu_items:data:@@ -3662,7 +3664,7 @@ paths:schema:"$ref": "#/components/schemas/menu_params"delete:- summary: Deletes a Menu+ summary: Delete a Menutags:- Menussecurity:@@ -3696,7 +3698,7 @@ paths:error: The access token is invalid"/api/v2/platform/option_types":get:- summary: Returns a list of Option Types+ summary: Return a list of Option Typestags:- Option Typessecurity:@@ -3742,8 +3744,8 @@ paths:name: foo-size-1presentation: Sizeposition: 1- created_at: '2021-10-08T18:59:50.320Z'- updated_at: '2021-10-08T18:59:50.320Z'+ created_at: '2021-10-11T17:34:43.677Z'+ updated_at: '2021-10-11T17:34:43.677Z'filterable: truerelationships:option_values:@@ -3754,8 +3756,8 @@ paths:name: foo-size-2presentation: Sizeposition: 2- created_at: '2021-10-08T18:59:50.323Z'- updated_at: '2021-10-08T18:59:50.323Z'+ created_at: '2021-10-11T17:34:43.680Z'+ updated_at: '2021-10-11T17:34:43.680Z'filterable: truerelationships:option_values:@@ -3779,7 +3781,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates an Option Type+ summary: Create an Option Typetags:- Option Typessecurity:@@ -3809,8 +3811,8 @@ paths:name: foo-size-5presentation: Sizeposition: 1- created_at: '2021-10-08T18:59:50.411Z'- updated_at: '2021-10-08T18:59:50.411Z'+ created_at: '2021-10-11T17:34:43.729Z'+ updated_at: '2021-10-11T17:34:43.729Z'filterable: truerelationships:option_values:@@ -3835,7 +3837,7 @@ paths:"$ref": "#/components/schemas/option_type_params""/api/v2/platform/option_types/{id}":get:- summary: Returns an Option Type+ summary: Return an Option Typetags:- Option Typessecurity:@@ -3870,8 +3872,8 @@ paths:name: foo-size-6presentation: Sizeposition: 1- created_at: '2021-10-08T18:59:50.460Z'- updated_at: '2021-10-08T18:59:50.460Z'+ created_at: '2021-10-11T17:34:43.756Z'+ updated_at: '2021-10-11T17:34:43.756Z'filterable: truerelationships:option_values:@@ -3892,8 +3894,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates an Option Type+ patch:+ summary: Update an Option Typetags:- Option Typessecurity:@@ -3928,8 +3930,8 @@ paths:name: Size-Xpresentation: Sizeposition: 1- created_at: '2021-10-08T18:59:50.552Z'- updated_at: '2021-10-08T18:59:50.566Z'+ created_at: '2021-10-11T17:34:43.810Z'+ updated_at: '2021-10-11T17:34:43.817Z'filterable: truerelationships:option_values:@@ -3967,7 +3969,7 @@ paths:schema:"$ref": "#/components/schemas/option_type_params"delete:- summary: Deletes an Option Type+ summary: Delete an Option Typetags:- Option Typessecurity:@@ -4001,7 +4003,7 @@ paths:error: The access token is invalid"/api/v2/platform/option_values":get:- summary: Returns a list of Option Values+ summary: Return a list of Option Valuestags:- Option Valuessecurity:@@ -4047,8 +4049,8 @@ paths:position: 1name: Size-1presentation: S- created_at: '2021-10-08T18:59:50.749Z'- updated_at: '2021-10-08T18:59:50.749Z'+ created_at: '2021-10-11T17:34:43.935Z'+ updated_at: '2021-10-11T17:34:43.935Z'relationships:option_type:data:@@ -4060,8 +4062,8 @@ paths:position: 1name: Size-2presentation: S- created_at: '2021-10-08T18:59:50.758Z'- updated_at: '2021-10-08T18:59:50.758Z'+ created_at: '2021-10-11T17:34:43.942Z'+ updated_at: '2021-10-11T17:34:43.942Z'relationships:option_type:data:@@ -4086,7 +4088,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates an Option Value+ summary: Create an Option Valuetags:- Option Valuessecurity:@@ -4116,8 +4118,8 @@ paths:position: 1name: Size-5presentation: S- created_at: '2021-10-08T18:59:50.844Z'- updated_at: '2021-10-08T18:59:50.844Z'+ created_at: '2021-10-11T17:34:44.002Z'+ updated_at: '2021-10-11T17:34:44.002Z'relationships:option_type:data:@@ -4141,7 +4143,7 @@ paths:"$ref": "#/components/schemas/option_value_params""/api/v2/platform/option_values/{id}":get:- summary: Returns an Option Value+ summary: Return an Option Valuetags:- Option Valuessecurity:@@ -4176,8 +4178,8 @@ paths:position: 1name: Size-6presentation: S- created_at: '2021-10-08T18:59:50.896Z'- updated_at: '2021-10-08T18:59:50.896Z'+ created_at: '2021-10-11T17:34:44.033Z'+ updated_at: '2021-10-11T17:34:44.033Z'relationships:option_type:data:@@ -4199,8 +4201,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates an Option Value+ patch:+ summary: Update an Option Valuetags:- Option Valuessecurity:@@ -4235,8 +4237,8 @@ paths:position: 1name: Mpresentation: S- created_at: '2021-10-08T18:59:50.993Z'- updated_at: '2021-10-08T18:59:51.007Z'+ created_at: '2021-10-11T17:34:44.087Z'+ updated_at: '2021-10-11T17:34:44.096Z'relationships:option_type:data:@@ -4275,7 +4277,7 @@ paths:schema:"$ref": "#/components/schemas/option_value_params"delete:- summary: Deletes an Option Value+ summary: Delete an Option Valuetags:- Option Valuessecurity:@@ -4309,7 +4311,7 @@ paths:error: The access token is invalid"/api/v2/platform/orders":get:- summary: Returns a list of Orders+ summary: Return a list of Orderstags:- Orderssecurity:@@ -4352,7 +4354,7 @@ paths:- id: '26'type: orderattributes:- number: R989375750+ number: R721982537item_total: '0.0'total: '0.0'state: cart@@ -4361,10 +4363,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:51.221Z'- updated_at: '2021-10-08T18:59:51.221Z'+ created_at: '2021-10-11T17:34:44.243Z'+ updated_at: '2021-10-11T17:34:44.243Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -4380,6 +4382,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$0.00"+ display_ship_total: "$0.00"+ display_shipment_total: "$0.00"display_total: "$0.00"display_outstanding_balance: "$0.00"display_item_total: "$0.00"@@ -4390,13 +4395,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$0.00"- display_ship_total: "$0.00"- display_shipment_total: "$0.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$0.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -4436,7 +4438,7 @@ paths:- id: '27'type: orderattributes:- number: R551673125+ number: R322446046item_total: '0.0'total: '0.0'state: cart@@ -4445,10 +4447,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:51.234Z'- updated_at: '2021-10-08T18:59:51.234Z'+ created_at: '2021-10-11T17:34:44.251Z'+ updated_at: '2021-10-11T17:34:44.251Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -4464,6 +4466,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$0.00"+ display_ship_total: "$0.00"+ display_shipment_total: "$0.00"display_total: "$0.00"display_outstanding_balance: "$0.00"display_item_total: "$0.00"@@ -4474,13 +4479,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$0.00"- display_ship_total: "$0.00"- display_shipment_total: "$0.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$0.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -4563,7 +4565,7 @@ paths:id: '30'type: orderattributes:- number: R500117770+ number: R384974337item_total: '0.0'total: '0.0'state: cart@@ -4574,8 +4576,8 @@ paths:payment_state:email:special_instructions:- created_at: '2021-10-08T18:59:51.662Z'- updated_at: '2021-10-08T18:59:51.679Z'+ created_at: '2021-10-11T17:34:44.620Z'+ updated_at: '2021-10-11T17:34:44.639Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -4591,6 +4593,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$20.00"+ display_ship_total: "$0.00"+ display_shipment_total: "$0.00"display_total: "$0.00"display_outstanding_balance: "$0.00"display_item_total: "$0.00"@@ -4601,13 +4606,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$20.00"- display_ship_total: "$0.00"- display_shipment_total: "$0.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$0.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -4655,7 +4657,7 @@ paths:"$ref": "#/components/schemas/order_params""/api/v2/platform/orders/{id}":get:- summary: Returns an Order+ summary: Return an Ordertags:- Orderssecurity:@@ -4687,7 +4689,7 @@ paths:id: '31'type: orderattributes:- number: R341388106+ number: R142969980item_total: '10.0'total: '110.0'state: delivery@@ -4696,10 +4698,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:51.740Z'- updated_at: '2021-10-08T18:59:51.917Z'+ created_at: '2021-10-11T17:34:44.693Z'+ updated_at: '2021-10-11T17:34:44.859Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -4715,6 +4717,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$10.00"+ display_ship_total: "$100.00"+ display_shipment_total: "$100.00"display_total: "$110.00"display_outstanding_balance: "$110.00"display_item_total: "$10.00"@@ -4725,13 +4730,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$10.00"- display_ship_total: "$100.00"- display_shipment_total: "$100.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$110.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -4790,8 +4792,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates an Order+ patch:+ summary: Update an Ordertags:- Orderssecurity:@@ -4823,7 +4825,7 @@ paths:id: '33'type: orderattributes:- number: R911310931+ number: R253518115item_total: '10.0'total: '110.0'state: delivery@@ -4834,8 +4836,8 @@ paths:payment_state:email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:52.191Z'- updated_at: '2021-10-08T18:59:52.329Z'+ created_at: '2021-10-11T17:34:45.114Z'+ updated_at: '2021-10-11T17:34:45.206Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -4851,6 +4853,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$10.00"+ display_ship_total: "$100.00"+ display_shipment_total: "$100.00"display_total: "$110.00"display_outstanding_balance: "$110.00"display_item_total: "$10.00"@@ -4861,13 +4866,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$10.00"- display_ship_total: "$100.00"- display_shipment_total: "$100.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$110.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -4943,7 +4945,7 @@ paths:schema:"$ref": "#/components/schemas/order_params"delete:- summary: Deletes an Order+ summary: Delete an Ordertags:- Orderssecurity:@@ -5009,7 +5011,7 @@ paths:id: '38'type: orderattributes:- number: R470549197+ number: R122527885item_total: '10.0'total: '110.0'state: payment@@ -5018,10 +5020,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:53.253Z'- updated_at: '2021-10-08T18:59:53.450Z'+ created_at: '2021-10-11T17:34:45.778Z'+ updated_at: '2021-10-11T17:34:45.914Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5037,6 +5039,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$110.00"+ display_ship_total: "$100.00"+ display_shipment_total: "$100.00"display_total: "$110.00"display_outstanding_balance: "$110.00"display_item_total: "$10.00"@@ -5047,13 +5052,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$110.00"- display_ship_total: "$100.00"- display_shipment_total: "$100.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$110.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -5148,7 +5150,7 @@ paths:id: '40'type: orderattributes:- number: R220125002+ number: R894056203item_total: '10.0'total: '110.0'state: payment@@ -5157,10 +5159,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:53.899Z'- updated_at: '2021-10-08T18:59:54.091Z'+ created_at: '2021-10-11T17:34:46.083Z'+ updated_at: '2021-10-11T17:34:46.216Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5176,6 +5178,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$110.00"+ display_ship_total: "$100.00"+ display_shipment_total: "$100.00"display_total: "$110.00"display_outstanding_balance: "$110.00"display_item_total: "$10.00"@@ -5186,13 +5191,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$110.00"- display_ship_total: "$100.00"- display_shipment_total: "$100.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$110.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -5287,19 +5289,19 @@ paths:id: '42'type: orderattributes:- number: R675514545+ number: R924136930item_total: '10.0'total: '110.0'state: completeadjustment_total: '0.0'- completed_at: '2021-10-08T18:59:54.714Z'+ completed_at: '2021-10-11T17:34:46.656Z'payment_total: '0.0'shipment_state: pendingpayment_state: balance_due- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:54.341Z'- updated_at: '2021-10-08T18:59:54.714Z'+ created_at: '2021-10-11T17:34:46.452Z'+ updated_at: '2021-10-11T17:34:46.656Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5315,6 +5317,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$110.00"+ display_ship_total: "$100.00"+ display_shipment_total: "$100.00"display_total: "$110.00"display_outstanding_balance: "$110.00"display_item_total: "$10.00"@@ -5325,13 +5330,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$110.00"- display_ship_total: "$100.00"- display_shipment_total: "$100.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$110.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -5437,7 +5439,7 @@ paths:id: '45'type: orderattributes:- number: R010575301+ number: R725072563item_total: '0.0'total: '0.0'state: cart@@ -5446,10 +5448,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:55.173Z'- updated_at: '2021-10-08T18:59:55.342Z'+ created_at: '2021-10-11T17:34:46.954Z'+ updated_at: '2021-10-11T17:34:47.050Z'currency: USDlast_ip_address:shipment_total: '0.0'@@ -5465,6 +5467,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$0.00"+ display_ship_total: "$0.00"+ display_shipment_total: "$0.00"display_total: "$0.00"display_outstanding_balance: "$0.00"display_item_total: "$0.00"@@ -5475,13 +5480,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$0.00"- display_ship_total: "$0.00"- display_shipment_total: "$0.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$0.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -5570,7 +5572,7 @@ paths:id: '47'type: orderattributes:- number: R019866746+ number: R539422355item_total: '10.0'total: '110.0'state: delivery@@ -5579,10 +5581,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:55.607Z'- updated_at: '2021-10-08T18:59:55.806Z'+ created_at: '2021-10-11T17:34:47.220Z'+ updated_at: '2021-10-11T17:34:47.376Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5598,6 +5600,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$10.00"+ display_ship_total: "$100.00"+ display_shipment_total: "$100.00"display_total: "$110.00"display_outstanding_balance: "$110.00"display_item_total: "$10.00"@@ -5608,13 +5613,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "$0.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$10.00"- display_ship_total: "$100.00"- display_shipment_total: "$100.00"display_total_applicable_store_credit: "-$15.00"- display_total_applied_store_credit: "-$15.00"display_order_total_after_store_credit: "$95.00"display_total_available_store_credit: "$15.00"+ display_total_applied_store_credit: "-$15.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -5723,7 +5725,7 @@ paths:id: '50'type: orderattributes:- number: R607004983+ number: R103958240item_total: '10.0'total: '10.0'state: delivery@@ -5732,10 +5734,10 @@ paths:payment_total: '0.0'shipment_state:payment_state:- email: [email protected]+ email: [email protected]special_instructions:- created_at: '2021-10-08T18:59:56.296Z'- updated_at: '2021-10-08T18:59:56.489Z'+ created_at: '2021-10-11T17:34:47.813Z'+ updated_at: '2021-10-11T17:34:47.938Z'currency: USDlast_ip_address:shipment_total: '100.0'@@ -5751,6 +5753,9 @@ paths:taxable_adjustment_total: '0.0'non_taxable_adjustment_total: '0.0'store_owner_notification_delivered:+ display_pre_tax_total: "$10.00"+ display_ship_total: "$100.00"+ display_shipment_total: "$100.00"display_total: "$10.00"display_outstanding_balance: "$10.00"display_item_total: "$10.00"@@ -5761,13 +5766,10 @@ paths:display_additional_tax_total: "$0.00"display_promo_total: "-$100.00"display_included_tax_total: "$0.00"- display_pre_tax_total: "$10.00"- display_ship_total: "$100.00"- display_shipment_total: "$100.00"display_total_applicable_store_credit: "$0.00"- display_total_applied_store_credit: "$0.00"display_order_total_after_store_credit: "$10.00"display_total_available_store_credit: "$0.00"+ display_total_applied_store_credit: "$0.00"display_store_credit_remaining_after_capture: "$0.00"relationships:user:@@ -5845,7 +5847,7 @@ paths:"$ref": "#/components/schemas/coupon_code_param""/api/v2/platform/shipping_categories":get:- summary: Returns a list of Shipping Categories+ summary: Return a list of Shipping Categoriestags:- Shipping Categoriessecurity:@@ -5889,14 +5891,14 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #72'- created_at: '2021-10-08T18:59:56.913Z'- updated_at: '2021-10-08T18:59:56.913Z'+ created_at: '2021-10-11T17:34:48.220Z'+ updated_at: '2021-10-11T17:34:48.220Z'- id: '73'type: shipping_categoryattributes:name: 'ShippingCategory #73'- created_at: '2021-10-08T18:59:56.914Z'- updated_at: '2021-10-08T18:59:56.914Z'+ created_at: '2021-10-11T17:34:48.221Z'+ updated_at: '2021-10-11T17:34:48.221Z'meta:count: 2total_count: 2@@ -5916,7 +5918,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a Shipping Category+ summary: Create a Shipping Categorytags:- Shipping Categoriessecurity:@@ -5944,8 +5946,8 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #76'- created_at: '2021-10-08T18:59:56.985Z'- updated_at: '2021-10-08T18:59:56.985Z'+ created_at: '2021-10-11T17:34:48.265Z'+ updated_at: '2021-10-11T17:34:48.265Z''422':description: invalid requestcontent:@@ -5964,7 +5966,7 @@ paths:"$ref": "#/components/schemas/shipping_category_params""/api/v2/platform/shipping_categories/{id}":get:- summary: Returns a Shipping Category+ summary: Return a Shipping Categorytags:- Shipping Categoriessecurity:@@ -5997,8 +5999,8 @@ paths:type: shipping_categoryattributes:name: 'ShippingCategory #77'- created_at: '2021-10-08T18:59:57.032Z'- updated_at: '2021-10-08T18:59:57.032Z'+ created_at: '2021-10-11T17:34:48.299Z'+ updated_at: '2021-10-11T17:34:48.299Z''404':description: Record not foundcontent:@@ -6015,8 +6017,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a Shipping Category+ patch:+ summary: Update a Shipping Categorytags:- Shipping Categoriessecurity:@@ -6049,8 +6051,8 @@ paths:type: shipping_categoryattributes:name: Default- created_at: '2021-10-08T18:59:57.120Z'- updated_at: '2021-10-08T18:59:57.131Z'+ created_at: '2021-10-11T17:34:48.347Z'+ updated_at: '2021-10-11T17:34:48.353Z''422':description: invalid requestcontent:@@ -6084,7 +6086,7 @@ paths:schema:"$ref": "#/components/schemas/shipping_category_params"delete:- summary: Deletes a Shipping Category+ summary: Delete a Shipping Categorytags:- Shipping Categoriessecurity:@@ -6118,7 +6120,7 @@ paths:error: The access token is invalid"/api/v2/platform/taxons":get:- summary: Returns a list of Taxons+ summary: Return a list of Taxonstags:- Taxonssecurity:@@ -6167,8 +6169,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-08T18:59:57.436Z'- updated_at: '2021-10-08T18:59:57.443Z'+ created_at: '2021-10-11T17:34:48.522Z'+ updated_at: '2021-10-11T17:34:48.526Z'meta_title:meta_description:meta_keywords:@@ -6202,8 +6204,8 @@ paths:lft: 4rgt: 5description:- created_at: '2021-10-08T18:59:57.544Z'- updated_at: '2021-10-08T18:59:57.550Z'+ created_at: '2021-10-11T17:34:48.574Z'+ updated_at: '2021-10-11T17:34:48.577Z'meta_title:meta_description:meta_keywords:@@ -6237,8 +6239,8 @@ paths:lft: 1rgt: 6description:- created_at: '2021-10-08T18:59:57.310Z'- updated_at: '2021-10-08T18:59:57.567Z'+ created_at: '2021-10-11T17:34:48.464Z'+ updated_at: '2021-10-11T17:34:48.586Z'meta_title:meta_description:meta_keywords:@@ -6282,7 +6284,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a Taxon+ summary: Create a Taxontags:- Taxonssecurity:@@ -6315,8 +6317,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-08T18:59:57.970Z'- updated_at: '2021-10-08T18:59:57.977Z'+ created_at: '2021-10-11T17:34:48.820Z'+ updated_at: '2021-10-11T17:34:48.836Z'meta_title:meta_description:meta_keywords:@@ -6359,7 +6361,7 @@ paths:"$ref": "#/components/schemas/taxon_params""/api/v2/platform/taxons/{id}":get:- summary: Returns a Taxon+ summary: Return a Taxontags:- Taxonssecurity:@@ -6397,8 +6399,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-08T18:59:58.147Z'- updated_at: '2021-10-08T18:59:58.153Z'+ created_at: '2021-10-11T17:34:48.972Z'+ updated_at: '2021-10-11T17:34:48.975Z'meta_title:meta_description:meta_keywords:@@ -6441,8 +6443,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a Taxon+ patch:+ summary: Update a Taxontags:- Taxonssecurity:@@ -6480,8 +6482,8 @@ paths:lft: 2rgt: 3description:- created_at: '2021-10-08T18:59:58.522Z'- updated_at: '2021-10-08T18:59:58.566Z'+ created_at: '2021-10-11T17:34:49.173Z'+ updated_at: '2021-10-11T17:34:49.198Z'meta_title:meta_description:meta_keywords:@@ -6539,7 +6541,7 @@ paths:schema:"$ref": "#/components/schemas/taxon_params"delete:- summary: Deletes a Taxon+ summary: Delete a Taxontags:- Taxonssecurity:@@ -6573,7 +6575,7 @@ paths:error: The access token is invalid"/api/v2/platform/users":get:- summary: Returns a list of Users+ summary: Return a list of Userstags:- Userssecurity:@@ -6616,9 +6618,9 @@ paths:- id: '54'type: userattributes:- email: [email protected]- created_at: '2021-10-08T18:59:59.385Z'- updated_at: '2021-10-08T18:59:59.385Z'+ email: [email protected]+ created_at: '2021-10-11T17:34:49.645Z'+ updated_at: '2021-10-11T17:34:49.645Z'average_order_value: []lifetime_value: []store_credits: []@@ -6630,9 +6632,9 @@ paths:- id: '55'type: userattributes:- email: [email protected]- created_at: '2021-10-08T18:59:59.395Z'- updated_at: '2021-10-08T18:59:59.395Z'+ email: [email protected]+ created_at: '2021-10-11T17:34:49.652Z'+ updated_at: '2021-10-11T17:34:49.652Z'average_order_value: []lifetime_value: []store_credits: []@@ -6644,9 +6646,9 @@ paths:- id: '56'type: userattributes:- email: [email protected]- created_at: '2021-10-08T18:59:59.399Z'- updated_at: '2021-10-08T18:59:59.399Z'+ email: [email protected]+ created_at: '2021-10-11T17:34:49.653Z'+ updated_at: '2021-10-11T17:34:49.653Z'average_order_value: []lifetime_value: []store_credits: []@@ -6674,7 +6676,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates an User+ summary: Create an Usertags:- Userssecurity:@@ -6701,9 +6703,9 @@ paths:id: '61'type: userattributes:- email: [email protected]- created_at: '2021-10-08T18:59:59.512Z'- updated_at: '2021-10-08T18:59:59.512Z'+ email: [email protected]+ created_at: '2021-10-11T17:34:49.718Z'+ updated_at: '2021-10-11T17:34:49.718Z'average_order_value: []lifetime_value: []store_credits: []@@ -6730,7 +6732,7 @@ paths:"$ref": "#/components/schemas/user_params""/api/v2/platform/users/{id}":get:- summary: Returns an User+ summary: Return an Usertags:- Userssecurity:@@ -6762,9 +6764,9 @@ paths:id: '64'type: userattributes:- email: [email protected]- created_at: '2021-10-08T18:59:59.601Z'- updated_at: '2021-10-08T18:59:59.601Z'+ email: [email protected]+ created_at: '2021-10-11T17:34:49.763Z'+ updated_at: '2021-10-11T17:34:49.763Z'average_order_value: []lifetime_value: []store_credits: []@@ -6789,8 +6791,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates an User+ patch:+ summary: Update an Usertags:- Userssecurity:@@ -6823,8 +6825,8 @@ paths:type: userattributes:email: [email protected]- created_at: '2021-10-08T18:59:59.721Z'- updated_at: '2021-10-08T18:59:59.735Z'+ created_at: '2021-10-11T17:34:49.835Z'+ updated_at: '2021-10-11T17:34:49.844Z'average_order_value: []lifetime_value: []store_credits: []@@ -6866,7 +6868,7 @@ paths:schema:"$ref": "#/components/schemas/user_params"delete:- summary: Deletes an User+ summary: Delete an Usertags:- Userssecurity:@@ -6900,7 +6902,7 @@ paths:error: The access token is invalid"/api/v2/platform/wished_items":get:- summary: Returns a list of Wished Items+ summary: Return a list of Wished Itemstags:- Wished Itemssecurity:@@ -6938,8 +6940,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-08T19:00:00.185Z'- updated_at: '2021-10-08T19:00:00.185Z'+ created_at: '2021-10-11T17:34:50.249Z'+ updated_at: '2021-10-11T17:34:50.249Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -6953,8 +6955,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-08T19:00:00.259Z'- updated_at: '2021-10-08T19:00:00.259Z'+ created_at: '2021-10-11T17:34:50.304Z'+ updated_at: '2021-10-11T17:34:50.304Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -6968,8 +6970,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-08T19:00:00.333Z'- updated_at: '2021-10-08T19:00:00.333Z'+ created_at: '2021-10-11T17:34:50.354Z'+ updated_at: '2021-10-11T17:34:50.354Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -6983,8 +6985,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-08T19:00:00.406Z'- updated_at: '2021-10-08T19:00:00.406Z'+ created_at: '2021-10-11T17:34:50.403Z'+ updated_at: '2021-10-11T17:34:50.403Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -7013,7 +7015,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a Wished Item+ summary: Create a Wished Itemtags:- Wished Itemssecurity:@@ -7041,8 +7043,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-08T19:00:00.975Z'- updated_at: '2021-10-08T19:00:00.975Z'+ created_at: '2021-10-11T17:34:50.759Z'+ updated_at: '2021-10-11T17:34:50.759Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -7075,7 +7077,7 @@ paths:"$ref": "#/components/schemas/wished_item_params""/api/v2/platform/wished_items/{id}":get:- summary: Returns a Wished Item+ summary: Return a Wished Itemtags:- Wished Itemssecurity:@@ -7108,8 +7110,8 @@ paths:type: wished_itemattributes:quantity: 1- created_at: '2021-10-08T19:00:01.303Z'- updated_at: '2021-10-08T19:00:01.303Z'+ created_at: '2021-10-11T17:34:50.971Z'+ updated_at: '2021-10-11T17:34:50.971Z'display_total: "$19.99"display_price: "$19.99"price: '19.99'@@ -7135,8 +7137,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a Wished Item+ patch:+ summary: Update a Wished Itemtags:- Wished Itemssecurity:@@ -7169,8 +7171,8 @@ paths:type: wished_itemattributes:quantity: 3- created_at: '2021-10-08T19:00:01.826Z'- updated_at: '2021-10-08T19:00:01.838Z'+ created_at: '2021-10-11T17:34:51.311Z'+ updated_at: '2021-10-11T17:34:51.319Z'display_total: "$59.97"display_price: "$19.99"price: '19.99'@@ -7213,7 +7215,7 @@ paths:schema:"$ref": "#/components/schemas/wished_item_params"delete:- summary: Deletes a Wished Item+ summary: Delete a Wished Itemtags:- Wished Itemssecurity:@@ -7247,7 +7249,7 @@ paths:error: The access token is invalid"/api/v2/platform/wishlists":get:- summary: Returns a list of Wishlists+ summary: Return a list of Wishliststags:- Wishlistssecurity:@@ -7293,9 +7295,9 @@ paths:name: Black Fridayis_private: trueis_default: false- created_at: '2021-10-08T19:00:02.908Z'- updated_at: '2021-10-08T19:00:02.908Z'- token: LZqZ7hFueHZsQVEpi2vMbjCM+ created_at: '2021-10-11T17:34:52.015Z'+ updated_at: '2021-10-11T17:34:52.015Z'+ token: 6XrD5rY7huUNYPdGXnqiScw7variant_included: falserelationships:wished_items:@@ -7310,9 +7312,9 @@ paths:name: Birthdayis_private: trueis_default: false- created_at: '2021-10-08T19:00:02.911Z'- updated_at: '2021-10-08T19:00:02.911Z'- token: 3dXfsA46vqTTwcToJanfnaaJ+ created_at: '2021-10-11T17:34:52.017Z'+ updated_at: '2021-10-11T17:34:52.017Z'+ token: z4XMzBWXiKRTceUZf1cXgdmovariant_included: falserelationships:wished_items:@@ -7340,7 +7342,7 @@ paths:value:error: The access token is invalidpost:- summary: Creates a Wishlist+ summary: Create a Wishlisttags:- Wishlistssecurity:@@ -7370,9 +7372,9 @@ paths:name: Wishlist_26is_private: trueis_default: false- created_at: '2021-10-08T19:00:03.630Z'- updated_at: '2021-10-08T19:00:03.630Z'- token: uqHQWsus4HJfWyzZNysjDaqt+ created_at: '2021-10-11T17:34:52.480Z'+ updated_at: '2021-10-11T17:34:52.480Z'+ token: D314GH8m1v9jHKvNYnwR1qaQvariant_included: falserelationships:wished_items:@@ -7397,7 +7399,7 @@ paths:"$ref": "#/components/schemas/wishlist_params""/api/v2/platform/wishlists/{id}":get:- summary: Returns a Wishlist+ summary: Return a Wishlisttags:- Wishlistssecurity:@@ -7432,9 +7434,9 @@ paths:name: My Wishlistis_private: trueis_default: false- created_at: '2021-10-08T19:00:03.690Z'- updated_at: '2021-10-08T19:00:03.690Z'- token: yBakp1Fr4r9EPCiQTquuyyHk+ created_at: '2021-10-11T17:34:52.516Z'+ updated_at: '2021-10-11T17:34:52.516Z'+ token: U2BheUwAQFQsJHeUqLCw5arTvariant_included: falserelationships:wished_items:@@ -7455,8 +7457,8 @@ paths:Example:value:error: The access token is invalid- put:- summary: Updates a Wishlist+ patch:+ summary: Update a Wishlisttags:- Wishlistssecurity:@@ -7491,9 +7493,9 @@ paths:name: My Super Wishlistis_private: trueis_default: false- created_at: '2021-10-08T19:00:03.936Z'- updated_at: '2021-10-08T19:00:03.952Z'- token: peHotb9RGNbStZKNLEHX19gf+ created_at: '2021-10-11T17:34:52.573Z'+ updated_at: '2021-10-11T17:34:52.581Z'+ token: WzAZasZS3sfMmQQ5fXT2ZVZDvariant_included: falserelationships:wished_items:@@ -7531,7 +7533,7 @@ paths:schema:"$ref": "#/components/schemas/wishlist_params"delete:- summary: Deletes a Wishlist+ summary: Delete a Wishlisttags:- Wishlistssecurity:@@ -7681,10 +7683,10 @@ components:default: falsecreated_at:type: string- example: 2021-10-08 18:59:28 UTC+ example: 2021-10-11 17:34:31 UTCupdated_at:type: string- example: 2021-10-08 18:59:28 UTC+ example: 2021-10-11 17:34:31 UTCrequired:- order_id- label@@ -7786,7 +7788,7 @@ components:completed_at:type: stringformat: date_time- example: 2021-10-08 18:59:28 UTC+ example: 2021-10-11 17:34:31 UTCbill_address_id:type: stringship_address_id:@@ -7838,7 +7840,7 @@ components:approved_at:type: stringformat: date_time- example: 2021-10-08 18:59:28 UTC+ example: 2021-10-11 17:34:31 UTCconfirmation_delivered:type: booleanexample: true@@ -8020,12 +8022,12 @@ components:example: Another Categorycreated_at:type: string- example: 2021-10-08 18:59:28 UTC- default: 2021-10-08 18:59:28 UTC+ example: 2021-10-11 17:34:31 UTC+ default: 2021-10-11 17:34:31 UTCupdated_at:type: string- example: 2021-10-08 18:59:28 UTC- default: 2021-10-08 18:59:28 UTC+ example: 2021-10-11 17:34:31 UTC+ default: 2021-10-11 17:34:31 UTCrequired:- namewishlist_params:diff --git a/api/lib/spree/api/testing_support/v2/platform_contexts.rb b/api/lib/spree/api/testing_support/v2/platform_contexts.rbindex 35cbf4112a..860302f76a 100644--- a/api/lib/spree/api/testing_support/v2/platform_contexts.rb+++ b/api/lib/spree/api/testing_support/v2/platform_contexts.rb@@ -118,7 +118,7 @@ end# index actionshared_examples 'GET records list' do |resource_name, include_example, filter_example|- get "Returns a list of #{resource_name.pluralize}" do+ get "Return a list of #{resource_name.pluralize}" dotags resource_name.pluralizesecurity [ bearer_auth: [] ]description "Returns a list of #{resource_name.pluralize}"@@ -139,7 +139,7 @@ end# showshared_examples 'GET record' do |resource_name, include_example|- get "Returns #{resource_name.articleize}" do+ get "Return #{resource_name.articleize}" dotags resource_name.pluralizesecurity [ bearer_auth: [] ]description "Returns #{resource_name.articleize}"@@ -157,7 +157,7 @@ endshared_examples 'POST create record' do |resource_name, include_example|param_name = resource_name.parameterize(separator: '_').to_sym- post "Creates #{resource_name.articleize}" do+ post "Create #{resource_name.articleize}" dotags resource_name.pluralizeconsumes 'application/json'security [ bearer_auth: [] ]@@ -174,10 +174,10 @@ shared_examples 'POST create record' do |resource_name, include_example|end# update-shared_examples 'PUT update record' do |resource_name, include_example|+shared_examples 'PATCH update record' do |resource_name, include_example|param_name = resource_name.parameterize(separator: '_').to_sym- put "Updates #{resource_name.articleize}" do+ patch "Update #{resource_name.articleize}" dotags resource_name.pluralizesecurity [ bearer_auth: [] ]description "Updates #{resource_name.articleize}"@@ -198,7 +198,7 @@ end# destroyshared_examples 'DELETE record' do |resource_name|- delete "Deletes #{resource_name.articleize}" do+ delete "Delete #{resource_name.articleize}" dotags resource_name.pluralizesecurity [ bearer_auth: [] ]description "Deletes #{resource_name.articleize}"@@ -221,7 +221,7 @@ shared_examples 'CRUD examples' do |resource_name, include_example, filter_examppath "/api/v2/platform/#{resource_path}/{id}" doinclude_examples 'GET record', resource_name, include_example- include_examples 'PUT update record', resource_name, include_example+ include_examples 'PATCH update record', resource_name, include_exampleinclude_examples 'DELETE record', resource_nameendenddiff --git a/api/spec/integration/api/v2/platform/classifications_spec.rb b/api/spec/integration/api/v2/platform/classifications_spec.rbindex a1da436bf6..3393dc23e8 100644--- a/api/spec/integration/api/v2/platform/classifications_spec.rb+++ b/api/spec/integration/api/v2/platform/classifications_spec.rb@@ -26,7 +26,7 @@ describe 'Classifications API', swagger: true doinclude_examples 'CRUD examples', resource_name, include_example, filter_examplepath '/api/v2/platform/classifications/{id}/reposition' do- put 'Reposition a Classification' do+ patch 'Reposition a Classification' dotags resource_name.pluralizesecurity [ bearer_auth: [] ]operationId 'reposition-classification'diff --git a/api/spec/integration/api/v2/platform/orders_spec.rb b/api/spec/integration/api/v2/platform/orders_spec.rbindex 40cf80bd75..a7d2ad3315 100644--- a/api/spec/integration/api/v2/platform/orders_spec.rb+++ b/api/spec/integration/api/v2/platform/orders_spec.rb@@ -75,7 +75,7 @@ describe 'Orders API', swagger: true dopath "/api/v2/platform/#{resource_path}/{id}" doinclude_examples 'GET record', resource_name, include_example- include_examples 'PUT update record', resource_name, include_example+ include_examples 'PATCH update record', resource_name, include_exampleinclude_examples 'DELETE record', resource_nameenddiff --git a/api/spec/requests/spree/api/v2/storefront/wishlists_spec.rb b/api/spec/requests/spree/api/v2/storefront/wishlists_spec.rbindex fac79d221e..f1cb07a679 100644--- a/api/spec/requests/spree/api/v2/storefront/wishlists_spec.rb+++ b/api/spec/requests/spree/api/v2/storefront/wishlists_spec.rb@@ -165,7 +165,7 @@ RSpec.describe Spree::Api::V2::Storefront::WishlistsController, type: :request ddescribe '#destroy' doit 'must permite destroying a wishlist' dodelete "/api/v2/storefront/wishlists/#{user.wishlists.first.token}", headers: headers_bearer- expect(response.status).to eq (200)+ expect(response.status).to eq (204)expect(user.wishlists.count).to eq (0)endend@@ -193,7 +193,7 @@ RSpec.describe Spree::Api::V2::Storefront::WishlistsController, type: :request dendcontext 'when a variant is already in the wishlist' do- let!(:set_variant) { create(:variant)}+ let!(:set_variant) { create(:variant) }let!(:wi) { create(:wished_item, wishlist: user.wishlists.first, variant: set_variant, quantity: 1) }it 'return the existing wished_item - quantity atribute passed in' dodiff --git a/api/spec/swagger_helper.rb b/api/spec/swagger_helper.rbindex 2bb773750a..4a3e9c6d26 100644--- a/api/spec/swagger_helper.rb+++ b/api/spec/swagger_helper.rb@@ -18,7 +18,7 @@ RSpec.configure do |config|# the root example_group in your specs, e.g. describe '...', swagger_doc: 'v2/swagger.json'config.swagger_docs = {'v2/platform/index.yaml' => {- openapi: '3.0.1',+ openapi: '3.0.3',info: {title: 'Platform API V2',contact: {