Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Merge branch 'main' into feature/SD-1422-Migrate-Spree-Digital-into-Spree-Core
Matthew Kennedy6152bce7d7b4
diff --cc api/docs/v2/platform/index.yamlindex f2869dbdae,32228de921..5ab39baf69--- a/api/docs/v2/platform/index.yaml+++ b/api/docs/v2/platform/index.yaml@@@ -69,8 -69,8 +69,8 @@@ pathsstate_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-12T00:42:39.612Z'- updated_at: '2021-10-12T00:42:39.612Z'- created_at: '2021-10-12T09:52:16.978Z'- updated_at: '2021-10-12T09:52:16.978Z'++ created_at: '2021-10-12T12:14:06.662Z'++ updated_at: '2021-10-12T12:14:06.662Z'deleted_at:label:relationships:@@@ -97,8 -97,8 +97,8 @@@state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-12T00:42:39.616Z'- updated_at: '2021-10-12T00:42:39.616Z'- created_at: '2021-10-12T09:52:16.985Z'- updated_at: '2021-10-12T09:52:16.985Z'++ created_at: '2021-10-12T12:14:06.666Z'++ updated_at: '2021-10-12T12:14:06.666Z'deleted_at:label:relationships:@@@ -168,8 -168,8 +168,8 @@@state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-12T00:42:39.767Z'- updated_at: '2021-10-12T00:42:39.767Z'- created_at: '2021-10-12T09:52:17.265Z'- updated_at: '2021-10-12T09:52:17.265Z'++ created_at: '2021-10-12T12:14:06.833Z'++ updated_at: '2021-10-12T12:14:06.833Z'deleted_at:label:relationships:@@@ -259,8 -259,8 +259,8 @@@state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-12T00:42:39.812Z'- updated_at: '2021-10-12T00:42:39.812Z'- created_at: '2021-10-12T09:52:17.320Z'- updated_at: '2021-10-12T09:52:17.320Z'++ created_at: '2021-10-12T12:14:06.878Z'++ updated_at: '2021-10-12T12:14:06.878Z'deleted_at:label:relationships:@@@ -333,8 -333,8 +333,8 @@@state_name:alternative_phone: 555-555-0199company: Company- created_at: '2021-10-12T00:42:39.866Z'- updated_at: '2021-10-12T00:42:39.874Z'- created_at: '2021-10-12T09:52:17.403Z'- updated_at: '2021-10-12T09:52:17.416Z'++ created_at: '2021-10-12T12:14:06.930Z'++ updated_at: '2021-10-12T12:14:06.938Z'deleted_at:label:relationships:@@@ -466,8 -466,8 +466,8 @@@label: Shippingmandatory:eligible: true- created_at: '2021-10-12T00:42:40.092Z'- updated_at: '2021-10-12T00:42:40.092Z'- created_at: '2021-10-12T09:52:17.740Z'- updated_at: '2021-10-12T09:52:17.740Z'++ created_at: '2021-10-12T12:14:07.157Z'++ updated_at: '2021-10-12T12:14:07.157Z'state: openincluded: falsedisplay_amount: "$100.00"@@@ -493,8 -493,8 +493,8 @@@label: Shippingmandatory:eligible: true- created_at: '2021-10-12T00:42:40.119Z'- updated_at: '2021-10-12T00:42:40.119Z'- created_at: '2021-10-12T09:52:17.769Z'- updated_at: '2021-10-12T09:52:17.769Z'++ created_at: '2021-10-12T12:14:07.182Z'++ updated_at: '2021-10-12T12:14:07.182Z'state: openincluded: falsedisplay_amount: "$100.00"@@@ -563,8 -563,8 +563,8 @@@label: Shippingmandatory:eligible: true- created_at: '2021-10-12T00:42:40.390Z'- updated_at: '2021-10-12T00:42:40.390Z'- created_at: '2021-10-12T09:52:18.103Z'- updated_at: '2021-10-12T09:52:18.103Z'++ created_at: '2021-10-12T12:14:07.473Z'++ updated_at: '2021-10-12T12:14:07.473Z'state: openincluded: falsedisplay_amount: "$100.00"@@@ -642,8 -642,8 +642,8 @@@label: Shippingmandatory:eligible: true- created_at: '2021-10-12T00:42:40.492Z'- updated_at: '2021-10-12T00:42:40.496Z'- created_at: '2021-10-12T09:52:18.246Z'- updated_at: '2021-10-12T09:52:18.253Z'++ created_at: '2021-10-12T12:14:07.572Z'++ updated_at: '2021-10-12T12:14:07.576Z'state: openincluded: falsedisplay_amount: "$1.00"@@@ -715,8 -715,8 +715,8 @@@label: New labelmandatory:eligible: true- created_at: '2021-10-12T00:42:40.677Z'- updated_at: '2021-10-12T00:42:40.691Z'- created_at: '2021-10-12T09:52:18.481Z'- updated_at: '2021-10-12T09:52:18.499Z'++ created_at: '2021-10-12T12:14:07.755Z'++ updated_at: '2021-10-12T12:14:07.769Z'state: openincluded: falsedisplay_amount: "$15.00"@@@ -844,8 -844,8 +844,8 @@@type: classificationattributes:position: 1- created_at: '2021-10-12T00:42:41.277Z'- updated_at: '2021-10-12T00:42:41.277Z'- created_at: '2021-10-12T09:52:19.238Z'- updated_at: '2021-10-12T09:52:19.238Z'++ created_at: '2021-10-12T12:14:08.350Z'++ updated_at: '2021-10-12T12:14:08.350Z'relationships:product:data:@@@ -859,8 -859,8 +859,8 @@@type: classificationattributes:position: 1- created_at: '2021-10-12T00:42:41.380Z'- updated_at: '2021-10-12T00:42:41.380Z'- created_at: '2021-10-12T09:52:19.426Z'- updated_at: '2021-10-12T09:52:19.426Z'++ created_at: '2021-10-12T12:14:08.453Z'++ updated_at: '2021-10-12T12:14:08.453Z'relationships:product:data:@@@ -917,8 -917,8 +917,8 @@@type: classificationattributes:position: 1- created_at: '2021-10-12T00:42:41.783Z'- updated_at: '2021-10-12T00:42:41.783Z'- created_at: '2021-10-12T09:52:20.032Z'- updated_at: '2021-10-12T09:52:20.032Z'++ created_at: '2021-10-12T12:14:08.851Z'++ updated_at: '2021-10-12T12:14:08.851Z'relationships:product:data:@@@ -981,8 -981,8 +981,8 @@@type: classificationattributes:position: 1- created_at: '2021-10-12T00:42:41.942Z'- updated_at: '2021-10-12T00:42:41.942Z'- created_at: '2021-10-12T09:52:20.266Z'- updated_at: '2021-10-12T09:52:20.266Z'++ created_at: '2021-10-12T12:14:09.006Z'++ updated_at: '2021-10-12T12:14:09.006Z'relationships:product:data:@@@ -1042,8 -1042,8 +1042,8 @@@type: classificationattributes:position: 1- created_at: '2021-10-12T00:42:42.231Z'- updated_at: '2021-10-12T00:42:42.231Z'- created_at: '2021-10-12T09:52:20.709Z'- updated_at: '2021-10-12T09:52:20.709Z'++ created_at: '2021-10-12T12:14:09.291Z'++ updated_at: '2021-10-12T12:14:09.291Z'relationships:product:data:@@@ -1153,8 -1153,8 +1153,8 @@@type: classificationattributes:position: 2- created_at: '2021-10-12T00:42:42.933Z'- updated_at: '2021-10-12T00:42:42.956Z'- created_at: '2021-10-12T09:52:21.895Z'- updated_at: '2021-10-12T09:52:21.923Z'++ created_at: '2021-10-12T12:14:10.001Z'++ updated_at: '2021-10-12T12:14:10.029Z'relationships:product:data:@@@ -1245,34 -1245,35 +1245,35 @@@- id: '1'type: cms_pageattributes:- title: Inventore eos enim architecto doloribus reprehenderit.- title: Inventore voluptatem at eveniet sequi labore rerum- magni quaerat.++ title: Aliquid sequi inventore hic praesentium dolorem.meta_title:content:meta_description:visible: true- slug: inventore-eos-enim-architecto-doloribus-reprehenderit- slug: inventore-voluptatem-at-eveniet-sequi-labore-rerum-magni-quaerat++ slug: aliquid-sequi-inventore-hic-praesentium-doloremtype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-12T00:42:43.276Z'- updated_at: '2021-10-12T00:42:43.276Z'- created_at: '2021-10-12T09:52:22.404Z'- updated_at: '2021-10-12T09:52:22.404Z'++ created_at: '2021-10-12T12:14:10.347Z'++ updated_at: '2021-10-12T12:14:10.347Z'relationships:cms_sections:data: []- id: '2'type: cms_pageattributes:- title: Harum ad perferendis numquam magni.- title: Maxime temporibus quis voluptatibus reprehenderit.++ title: Dicta doloribus aut voluptate repellat assumenda maiores++ est.meta_title:content:meta_description:visible: true- slug: harum-ad-perferendis-numquam-magni- slug: maxime-temporibus-quis-voluptatibus-reprehenderit++ slug: dicta-doloribus-aut-voluptate-repellat-assumenda-maiores-esttype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-12T00:42:43.280Z'- updated_at: '2021-10-12T00:42:43.280Z'- created_at: '2021-10-12T09:52:22.409Z'- updated_at: '2021-10-12T09:52:22.409Z'++ created_at: '2021-10-12T12:14:10.351Z'++ updated_at: '2021-10-12T12:14:10.351Z'relationships:cms_sections:data: []@@@ -1322,17 -1323,17 +1323,17 @@@id: '5'type: cms_pageattributes:- title: Quaerat minus maiores tenetur omnis id.- title: Distinctio corrupti ab ad odio nihil perspiciatis.++ title: Nihil commodi dolor assumenda accusamus ea.meta_title:content:meta_description:visible: true- slug: quaerat-minus-maiores-tenetur-omnis-id- slug: distinctio-corrupti-ab-ad-odio-nihil-perspiciatis++ slug: nihil-commodi-dolor-assumenda-accusamus-eatype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-12T00:42:43.354Z'- updated_at: '2021-10-12T00:42:43.354Z'- created_at: '2021-10-12T09:52:22.526Z'- updated_at: '2021-10-12T09:52:22.526Z'++ created_at: '2021-10-12T12:14:10.424Z'++ updated_at: '2021-10-12T12:14:10.424Z'relationships:cms_sections:data: []@@@ -1388,17 -1389,18 +1389,17 @@@id: '6'type: cms_pageattributes:- title: Ex occaecati enim vero magnam eligendi iste.- title: Rerum explicabo cupiditate facilis quo ipsam ut consequatur- maiores.++ title: Esse veritatis officiis exercitationem velit repellat.meta_title:content:meta_description:visible: true- slug: ex-occaecati-enim-vero-magnam-eligendi-iste- slug: rerum-explicabo-cupiditate-facilis-quo-ipsam-ut-consequatur-maiores++ slug: esse-veritatis-officiis-exercitationem-velit-repellattype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-12T00:42:43.386Z'- updated_at: '2021-10-12T00:42:43.386Z'- created_at: '2021-10-12T09:52:22.578Z'- updated_at: '2021-10-12T09:52:22.578Z'++ created_at: '2021-10-12T12:14:10.455Z'++ updated_at: '2021-10-12T12:14:10.455Z'relationships:cms_sections:data: []@@@ -1456,12 -1458,12 +1457,12 @@@content:meta_description:visible: true- slug: cupiditate-repellat-praesentium-aliquid-unde-quia-animi-modi-dolores- slug: reprehenderit-facere-voluptate-ipsam-beatae++ slug: repellendus-quae-architecto-itaque-quisquam-ipsatype: Spree::Cms::Pages::StandardPagelocale: endeleted_at:- created_at: '2021-10-12T00:42:43.446Z'- updated_at: '2021-10-12T00:42:43.456Z'- created_at: '2021-10-12T09:52:22.657Z'- updated_at: '2021-10-12T09:52:22.671Z'++ created_at: '2021-10-12T12:14:10.508Z'++ updated_at: '2021-10-12T12:14:10.521Z'relationships:cms_sections:data: []@@@ -1575,7 -1577,7 +1576,7 @@@- id: '1'type: cms_sectionattributes:- name: Sequi reiciendis consequatur deleniti a.- name: Doloribus laboriosam ad consequatur nemo veniam eveniet.++ name: Perferendis molestiae rem neque ducimus culpa optio.content: {}settings:gutters: No Gutters@@@ -1584,8 -1586,8 +1585,8 @@@type: Spree::Cms::Sections::HeroImageposition: 1linked_resource_type: Spree::Taxon- created_at: '2021-10-12T00:42:43.678Z'- updated_at: '2021-10-12T00:42:43.678Z'- created_at: '2021-10-12T09:52:22.904Z'- updated_at: '2021-10-12T09:52:22.904Z'++ created_at: '2021-10-12T12:14:10.681Z'++ updated_at: '2021-10-12T12:14:10.681Z'relationships:cms_page:data:@@@ -1596,7 -1598,8 +1597,8 @@@- id: '2'type: cms_sectionattributes:- name: A vel optio provident amet.- name: Voluptatibus quas voluptate soluta sed reiciendis a- quae.++ name: Nisi fugiat labore corporis totam in impedit perspiciatis++ quas.content:link_type_one: Spree::Taxonlink_type_two: Spree::Taxon@@@ -1608,8 -1611,8 +1610,8 @@@type: Spree::Cms::Sections::ImageGalleryposition: 2linked_resource_type:- created_at: '2021-10-12T00:42:43.682Z'- updated_at: '2021-10-12T00:42:43.682Z'- created_at: '2021-10-12T09:52:22.909Z'- updated_at: '2021-10-12T09:52:22.909Z'++ created_at: '2021-10-12T12:14:10.685Z'++ updated_at: '2021-10-12T12:14:10.685Z'relationships:cms_page:data:@@@ -1620,7 -1623,7 +1622,8 @@@- id: '3'type: cms_sectionattributes:- name: Fuga porro odit cum vel dignissimos.- name: Eos repellat doloremque non esse.++ name: Occaecati est unde culpa repudiandae expedita vel quo++ porro.content: {}settings:gutters: No Gutters@@@ -1629,8 -1632,8 +1632,8 @@@type: Spree::Cms::Sections::FeaturedArticleposition: 3linked_resource_type: Spree::Taxon- created_at: '2021-10-12T00:42:43.691Z'- updated_at: '2021-10-12T00:42:43.691Z'- created_at: '2021-10-12T09:52:22.921Z'- updated_at: '2021-10-12T09:52:22.921Z'++ created_at: '2021-10-12T12:14:10.694Z'++ updated_at: '2021-10-12T12:14:10.694Z'relationships:cms_page:data:@@@ -1641,7 -1644,7 +1644,8 @@@- id: '4'type: cms_sectionattributes:- name: Dolor quidem aperiam et repellendus.- name: Tenetur cumque velit minus dolor eius aliquam.++ name: Reiciendis excepturi voluptas deserunt perspiciatis++ laboriosam minima exercitationem.content: {}settings:gutters: No Gutters@@@ -1650,8 -1653,8 +1654,8 @@@type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-12T00:42:43.699Z'- updated_at: '2021-10-12T00:42:43.699Z'- created_at: '2021-10-12T09:52:22.934Z'- updated_at: '2021-10-12T09:52:22.934Z'++ created_at: '2021-10-12T12:14:10.706Z'++ updated_at: '2021-10-12T12:14:10.706Z'relationships:cms_page:data:@@@ -1664,8 -1667,7 +1668,7 @@@- id: '5'type: cms_sectionattributes:- name: Aliquid quo illo quibusdam laboriosam et ex cupiditate- distinctio.- name: Ullam eius voluptatum minus nemo id.++ name: Doloremque corrupti officia quaerat soluta nam.content: {}settings:gutters: No Gutters@@@ -1674,8 -1676,8 +1677,8 @@@type: Spree::Cms::Sections::HeroImageposition: 5linked_resource_type: Spree::Product- created_at: '2021-10-12T00:42:43.706Z'- updated_at: '2021-10-12T00:42:43.706Z'- created_at: '2021-10-12T09:52:22.945Z'- updated_at: '2021-10-12T09:52:22.945Z'++ created_at: '2021-10-12T12:14:10.714Z'++ updated_at: '2021-10-12T12:14:10.714Z'relationships:cms_page:data:@@@ -1731,8 -1733,7 +1734,8 @@@id: '14'type: cms_sectionattributes:- name: Corrupti aliquid consequuntur maxime quasi repudiandae- similique.- name: Commodi neque provident esse maxime.++ name: Quo eaque veritatis laboriosam dolores est necessitatibus++ nulla.content: {}settings:gutters: No Gutters@@@ -1741,8 -1742,8 +1744,8 @@@type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-12T00:42:43.856Z'- updated_at: '2021-10-12T00:42:43.856Z'- created_at: '2021-10-12T09:52:23.151Z'- updated_at: '2021-10-12T09:52:23.151Z'++ created_at: '2021-10-12T12:14:10.864Z'++ updated_at: '2021-10-12T12:14:10.864Z'relationships:cms_page:data:@@@ -1804,7 -1805,7 +1807,7 @@@id: '21'type: cms_sectionattributes:- name: Cumque dolorum laborum cupiditate et dolore libero.- name: Adipisci eveniet quisquam quae eius doloremque accusamus.++ name: Quisquam corporis doloremque sit vero.content: {}settings:gutters: No Gutters@@@ -1813,8 -1814,8 +1816,8 @@@type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-12T00:42:43.999Z'- updated_at: '2021-10-12T00:42:43.999Z'- created_at: '2021-10-12T09:52:23.330Z'- updated_at: '2021-10-12T09:52:23.330Z'++ created_at: '2021-10-12T12:14:11.064Z'++ updated_at: '2021-10-12T12:14:11.064Z'relationships:cms_page:data:@@@ -1882,8 -1883,8 +1885,8 @@@type: Spree::Cms::Sections::HeroImageposition: 4linked_resource_type: Spree::Product- created_at: '2021-10-12T00:42:44.205Z'- updated_at: '2021-10-12T00:42:44.217Z'- created_at: '2021-10-12T09:52:23.627Z'- updated_at: '2021-10-12T09:52:23.643Z'++ created_at: '2021-10-12T12:14:11.274Z'++ updated_at: '2021-10-12T12:14:11.287Z'relationships:cms_page:data:@@@ -1985,8 -1986,7 +1988,7 @@@id: '58'type: cms_sectionattributes:- name: Ipsum occaecati similique a illo reprehenderit accusamus- consequatur.- name: Est quos earum animi magni odit magnam.++ name: Omnis nemo libero repellendus adipisci sit ad quod.content: {}settings:gutters: No Gutters@@@ -1995,8 -1995,8 +1997,8 @@@type: Spree::Cms::Sections::HeroImageposition: 3linked_resource_type: Spree::Product- created_at: '2021-10-12T00:42:44.837Z'- updated_at: '2021-10-12T00:42:44.848Z'- created_at: '2021-10-12T09:52:24.266Z'- updated_at: '2021-10-12T09:52:24.281Z'++ created_at: '2021-10-12T12:14:11.976Z'++ updated_at: '2021-10-12T12:14:11.991Z'relationships:cms_page:data:@@@ -2054,9 -2054,9 +2056,9 @@@name: United States of Americanumcode: 840states_required: true- updated_at: '2021-10-12T00:42:45.002Z'- updated_at: '2021-10-12T09:52:24.470Z'++ updated_at: '2021-10-12T12:14:12.156Z'zipcode_required: true- created_at: '2021-10-12T00:42:45.002Z'- created_at: '2021-10-12T09:52:24.470Z'++ created_at: '2021-10-12T12:14:12.156Z'relationships:states:data: []@@@ -2069,9 -2069,9 +2071,9 @@@name: NAME_2numcode: 840states_required: false- updated_at: '2021-10-12T00:42:45.009Z'- updated_at: '2021-10-12T09:52:24.478Z'++ updated_at: '2021-10-12T12:14:12.161Z'zipcode_required: true- created_at: '2021-10-12T00:42:45.009Z'- created_at: '2021-10-12T09:52:24.478Z'++ created_at: '2021-10-12T12:14:12.161Z'relationships:states:data: []@@@ -2084,9 -2084,9 +2086,9 @@@name: NAME_3numcode: 840states_required: false- updated_at: '2021-10-12T00:42:45.011Z'- updated_at: '2021-10-12T09:52:24.481Z'++ updated_at: '2021-10-12T12:14:12.162Z'zipcode_required: true- created_at: '2021-10-12T00:42:45.011Z'- created_at: '2021-10-12T09:52:24.481Z'++ created_at: '2021-10-12T12:14:12.162Z'relationships:states:data: []@@@ -2141,9 -2141,9 +2143,9 @@@name: NAME_6numcode: 840states_required: false- updated_at: '2021-10-12T00:42:45.050Z'- updated_at: '2021-10-12T09:52:24.550Z'++ updated_at: '2021-10-12T12:14:12.202Z'zipcode_required: true- created_at: '2021-10-12T00:42:45.050Z'- created_at: '2021-10-12T09:52:24.550Z'++ created_at: '2021-10-12T12:14:12.202Z'relationships:states:data: []@@@ -2163,639 -2163,6 +2165,639 @@@Example:value:error: The access token is invalid+ "/api/v2/platform/digital_links":+ get:+ summary: Return a list of Digital Links+ tags:+ - Digital Links+ security:+ - bearer_auth: []+ description: Returns a list of Digital Links+ operationId: digital-links-list+ parameters:+ - name: page+ in: query+ example: 1+ schema:+ type: integer+ - name: per_page+ in: query+ example: 50+ schema:+ type: integer+ responses:+ '200':+ description: Records returned+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ - id: '1'+ type: digital_link+ attributes:- token: 4hSqMq4q5d6M6ur1qY82qmVM++ token: FyWXxbAvDbrK5Xc2wjMs3Kod+ access_counter: 0+ relationships:+ digital:+ data:+ id: '1'+ type: digital+ line_item:+ data:+ id: '9'+ type: line_item+ - id: '2'+ type: digital_link+ attributes:- token: Ngdymd3EZ1gZoC9teG749Hpz++ token: rDsmXsv7ps1tmrKxREmXWiX5+ access_counter: 0+ relationships:+ digital:+ data:+ id: '2'+ type: digital+ line_item:+ data:+ id: '10'+ type: line_item+ meta:+ count: 2+ total_count: 2+ total_pages: 1+ links:+ self: http://www.example.com/api/v2/platform/digital_links?page=1&per_page=+ next: http://www.example.com/api/v2/platform/digital_links?page=1&per_page=+ prev: http://www.example.com/api/v2/platform/digital_links?page=1&per_page=+ last: http://www.example.com/api/v2/platform/digital_links?page=1&per_page=+ first: http://www.example.com/api/v2/platform/digital_links?page=1&per_page=+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid+ post:+ summary: Create a Digital Link+ tags:+ - Digital Links+ security:+ - bearer_auth: []+ description: Creates a Digital Link+ operationId: create-digital-link+ parameters: []+ responses:+ '201':+ description: record created+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ id: '5'+ type: digital_link+ attributes:- token: CgTkmNty92tC5vpyDi1iyTcW++ token: bPbt2zDEpzdpmKMaE6DgQoSj+ access_counter: 0+ relationships:+ digital:+ data:+ id: '5'+ type: digital+ line_item:+ data:+ id: '13'+ type: line_item+ '422':+ description: invalid request+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: Digital can't be blank, Line item can't be blank, and Access+ counter is not a number+ errors:+ digital:+ - can't be blank+ line_item:+ - can't be blank+ access_counter:+ - is not a number+ requestBody:+ content:+ application/json:+ schema:+ "$ref": "#/components/schemas/digital_link_params"+ "/api/v2/platform/digital_links/{id}":+ get:+ summary: Return a Digital Link+ tags:+ - Digital Links+ security:+ - bearer_auth: []+ description: Returns a Digital Link+ operationId: show-digital-link+ parameters:+ - name: id+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: Record found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ id: '6'+ type: digital_link+ attributes:- token: 5jG5v9hH8aDYr5as9srys5HE++ token: jEmBoBHFDKQqPegscXRt9iLw+ access_counter: 0+ relationships:+ digital:+ data:+ id: '6'+ type: digital+ line_item:+ data:+ id: '14'+ type: line_item+ '404':+ description: Record not found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The resource you were looking for could not be found.+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid+ patch:+ summary: Update a Digital Link+ tags:+ - Digital Links+ security:+ - bearer_auth: []+ description: Updates a Digital Link+ operationId: update-digital-link+ parameters:+ - name: id+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: record updated+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ id: '8'+ type: digital_link+ attributes:- token: xBeYanGmjHYFKvQWTUvPVKMy++ token: hH1dqCeR1MTAdqaLSEBE1tNV+ access_counter: 0+ relationships:+ digital:+ data:+ id: '8'+ type: digital+ line_item:+ data:+ id: '16'+ type: line_item+ '422':+ description: invalid request+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: Access counter is not a number+ errors:+ access_counter:+ - is not a number+ '404':+ description: Record not found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The resource you were looking for could not be found.+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid+ requestBody:+ content:+ application/json:+ schema:+ "$ref": "#/components/schemas/digital_link_params"+ delete:+ summary: Delete a Digital Link+ tags:+ - Digital Links+ security:+ - bearer_auth: []+ description: Deletes a Digital Link+ operationId: delete-digital-link+ parameters:+ - name: id+ in: path+ required: true+ schema:+ type: string+ responses:+ '204':+ description: Record deleted+ '404':+ description: Record not found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The resource you were looking for could not be found.+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid+ "/api/v2/platform/digital_links/{id}/reset":+ patch:+ summary: Reset a Digital Link+ tags:+ - Digital Links+ security:+ - bearer_auth: []+ operationId: reset-digital-link+ description: Resets a digital link, allowing further downloads.+ parameters:+ - name: id+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: record updated+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ id: '13'+ type: digital_link+ attributes:- token: BNgCyGowqw6JchrqmX8Vm77C++ token: WuBgL7q6mGXKEgY37hoWHZ6e+ access_counter: 0+ relationships:+ digital:+ data:+ id: '13'+ type: digital+ line_item:+ data:+ id: '21'+ type: line_item+ "/api/v2/platform/digitals":+ get:+ summary: Return a list of Digital Assets+ tags:+ - Digital Assets+ security:+ - bearer_auth: []+ description: Returns a list of Digital Assets+ operationId: digitals-list+ parameters:+ - name: page+ in: query+ example: 1+ schema:+ type: integer+ - name: per_page+ in: query+ example: 50+ schema:+ 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: variant+ schema:+ type: string+ responses:+ '200':+ description: Records returned+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ - id: '14'+ type: digital+ attributes:+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--6c02e9ec8f004d052becb50e7fcc54f9c99b2df5/thinking-cat.jpg"+ content_type: image/jpeg+ filename: thinking-cat.jpg+ byte_size: 18090+ relationships:+ variant:+ data:+ id: '83'+ type: variant+ - id: '15'+ type: digital+ attributes:+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--927a49277b240016a5103d40e713c6456d0d53ec/thinking-cat.jpg"+ content_type: image/jpeg+ filename: thinking-cat.jpg+ byte_size: 18090+ relationships:+ variant:+ data:+ id: '85'+ type: variant+ - id: '16'+ type: digital+ attributes:+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--4d97d12ab027b7bc8fc342f95656ad9edd69a3b1/thinking-cat.jpg"+ content_type: image/jpeg+ filename: thinking-cat.jpg+ byte_size: 18090+ relationships:+ variant:+ data:+ id: '87'+ type: variant+ meta:+ count: 3+ total_count: 3+ total_pages: 1+ links:+ self: http://www.example.com/api/v2/platform/digitals?page=1&per_page=&include=+ next: http://www.example.com/api/v2/platform/digitals?include=&page=1&per_page=+ prev: http://www.example.com/api/v2/platform/digitals?include=&page=1&per_page=+ last: http://www.example.com/api/v2/platform/digitals?include=&page=1&per_page=+ first: http://www.example.com/api/v2/platform/digitals?include=&page=1&per_page=+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid+ post:+ summary: Create a Digital Asset+ tags:+ - Digital Assets+ security:+ - bearer_auth: []+ description: Creates a Digital Asset+ operationId: create-digital+ 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: variant+ schema:+ type: string+ responses:+ '201':+ description: record created+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ id: '23'+ type: digital+ attributes:+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBLdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--6f3bdef01fb09e651ae684add9f27e22803d96ef/icon_256x256.jpg"+ content_type: image/png+ filename: icon_256x256.jpg+ byte_size: 818+ relationships:+ variant:+ data:+ id: '97'+ type: variant+ '422':+ description: invalid request+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: Attachment can't be blank and Variant can't be blank+ errors:+ attachment:+ - can't be blank+ variant:+ - can't be blank+ requestBody:+ content:+ multipart/form-data:+ schema:+ "$ref": "#/components/schemas/digital_params"+ "/api/v2/platform/digitals/{id}":+ get:+ summary: Return a Digital Asset+ tags:+ - Digital Assets+ security:+ - bearer_auth: []+ description: Returns a Digital Asset+ operationId: show-digital+ parameters:+ - name: id+ in: path+ required: true+ schema:+ 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: variant+ schema:+ type: string+ responses:+ '200':+ description: Record found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ id: '27'+ type: digital+ attributes:+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--cd8884ff4dfd8dbbc9a0df9d53d710d22fe34a77/thinking-cat.jpg"+ content_type: image/jpeg+ filename: thinking-cat.jpg+ byte_size: 18090+ relationships:+ variant:+ data:+ id: '115'+ type: variant+ '404':+ description: Record not found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The resource you were looking for could not be found.+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid+ patch:+ summary: Update a Digital Asset+ tags:+ - Digital Assets+ security:+ - bearer_auth: []+ description: Updates a Digital Asset+ operationId: update-digital+ parameters:+ - name: id+ in: path+ required: true+ schema:+ 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: variant+ schema:+ type: string+ responses:+ '200':+ description: record updated+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:+ id: '35'+ type: digital+ attributes:+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d728da5484299ca0d43c9a3001688faa9786f9e2/icon_256x256.jpg"+ content_type: image/png+ filename: icon_256x256.jpg+ byte_size: 818+ relationships:+ variant:+ data:+ id: '137'+ type: variant+ '422':+ description: invalid request+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: Variant can't be blank+ errors:+ variant:+ - can't be blank+ '404':+ description: Record not found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The resource you were looking for could not be found.+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid+ requestBody:+ content:+ multipart/form-data:+ schema:+ "$ref": "#/components/schemas/digital_params"+ delete:+ summary: Delete a Digital Asset+ tags:+ - Digital Assets+ security:+ - bearer_auth: []+ description: Deletes a Digital Asset+ operationId: delete-digital+ parameters:+ - name: id+ in: path+ required: true+ schema:+ type: string+ responses:+ '204':+ description: Record deleted+ '404':+ description: Record not found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The resource you were looking for could not be found.+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid"/api/v2/platform/line_items":get:summary: Return a list of Line Items@@@ -2843,8 -2210,8 +2845,8 @@@attributes:quantity: 1price: '10.0'- created_at: '2021-10-12T00:42:51.983Z'- updated_at: '2021-10-12T00:42:51.996Z'- created_at: '2021-10-12T09:52:24.678Z'- updated_at: '2021-10-12T09:52:24.685Z'++ created_at: '2021-10-12T12:14:19.083Z'++ updated_at: '2021-10-12T12:14:19.099Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@@ -2859,12 -2226,12 +2861,12 @@@display_discounted_amount: "$10.00"display_total: "$10.00"display_subtotal: "$10.00"- display_adjustment_total: "$0.00"display_final_amount: "$10.00"+ display_adjustment_total: "$0.00"- display_promo_total: "$0.00"display_additional_tax_total: "$0.00"- display_pre_tax_amount: "$10.00"+ display_promo_total: "$0.00"display_included_tax_total: "$0.00"+ display_pre_tax_amount: "$10.00"display_amount: "$10.00"relationships:order:@@@ -2890,8 -2255,8 +2892,8 @@@attributes:quantity: 1price: '10.0'- created_at: '2021-10-12T00:42:52.035Z'- updated_at: '2021-10-12T00:42:52.042Z'- created_at: '2021-10-12T09:52:24.723Z'- updated_at: '2021-10-12T09:52:24.730Z'++ created_at: '2021-10-12T12:14:19.140Z'++ updated_at: '2021-10-12T12:14:19.147Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@@ -2906,12 -2271,12 +2908,12 @@@display_discounted_amount: "$10.00"display_total: "$10.00"display_subtotal: "$10.00"- display_adjustment_total: "$0.00"display_final_amount: "$10.00"+ display_adjustment_total: "$0.00"- display_promo_total: "$0.00"display_additional_tax_total: "$0.00"- display_pre_tax_amount: "$10.00"+ display_promo_total: "$0.00"display_included_tax_total: "$0.00"+ display_pre_tax_amount: "$10.00"display_amount: "$10.00"relationships:order:@@@ -2980,8 -2343,8 +2982,8 @@@attributes:quantity: 1price: '10.0'- created_at: '2021-10-12T00:42:52.255Z'- updated_at: '2021-10-12T00:42:52.294Z'- created_at: '2021-10-12T09:52:25.010Z'- updated_at: '2021-10-12T09:52:25.047Z'++ created_at: '2021-10-12T12:14:19.428Z'++ updated_at: '2021-10-12T12:14:19.466Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@@ -2996,12 -2359,12 +2998,12 @@@display_discounted_amount: "$10.00"display_total: "$10.00"display_subtotal: "$10.00"- display_adjustment_total: "$0.00"display_final_amount: "$10.00"+ display_adjustment_total: "$0.00"- display_promo_total: "$0.00"display_additional_tax_total: "$0.00"- display_pre_tax_amount: "$10.00"+ display_promo_total: "$0.00"display_included_tax_total: "$0.00"+ display_pre_tax_amount: "$10.00"display_amount: "$10.00"relationships:order:@@@ -3079,8 -2440,8 +3081,8 @@@attributes:quantity: 1price: '10.0'- created_at: '2021-10-12T00:42:52.430Z'- updated_at: '2021-10-12T00:42:52.438Z'- created_at: '2021-10-12T09:52:25.227Z'- updated_at: '2021-10-12T09:52:25.234Z'++ created_at: '2021-10-12T12:14:19.602Z'++ updated_at: '2021-10-12T12:14:19.610Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@@ -3095,12 -2456,12 +3097,12 @@@display_discounted_amount: "$10.00"display_total: "$10.00"display_subtotal: "$10.00"- display_adjustment_total: "$0.00"display_final_amount: "$10.00"+ display_adjustment_total: "$0.00"- display_promo_total: "$0.00"display_additional_tax_total: "$0.00"- display_pre_tax_amount: "$10.00"+ display_promo_total: "$0.00"display_included_tax_total: "$0.00"+ display_pre_tax_amount: "$10.00"display_amount: "$10.00"relationships:order:@@@ -3172,8 -2531,8 +3174,8 @@@attributes:quantity: 4price: '10.0'- created_at: '2021-10-12T00:42:52.668Z'- updated_at: '2021-10-12T00:42:52.712Z'- created_at: '2021-10-12T09:52:25.542Z'- updated_at: '2021-10-12T09:52:25.592Z'++ created_at: '2021-10-12T12:14:19.889Z'++ updated_at: '2021-10-12T12:14:19.931Z'currency: USDcost_price: '17.0'adjustment_total: '0.0'@@@ -3188,12 -2547,12 +3190,12 @@@display_discounted_amount: "$40.00"display_total: "$40.00"display_subtotal: "$40.00"- display_adjustment_total: "$0.00"display_final_amount: "$40.00"+ display_adjustment_total: "$0.00"- display_promo_total: "$0.00"display_additional_tax_total: "$0.00"- display_pre_tax_amount: "$40.00"+ display_promo_total: "$0.00"display_included_tax_total: "$0.00"+ display_pre_tax_amount: "$40.00"display_amount: "$40.00"relationships:order:@@@ -3221,10 -2578,10 +3223,10 @@@examples:Example:value:- error: 'Quantity selected of "Product #131 - 8783" is not available.'- error: 'Quantity selected of "Product #52 - 4665" is not available.'++ error: 'Quantity selected of "Product #131 - 6294" is not available.'errors:quantity:- - 'selected of "Product #131 - 8783" is not available.'- - 'selected of "Product #52 - 4665" is not available.'++ - 'selected of "Product #131 - 6294" is not available.''404':description: Record not foundcontent:@@@ -3334,8 -2691,8 +3336,8 @@@lft: 2rgt: 3depth: 1- created_at: '2021-10-12T00:42:53.336Z'- updated_at: '2021-10-12T00:42:53.340Z'- created_at: '2021-10-12T09:52:26.394Z'- updated_at: '2021-10-12T09:52:26.403Z'++ created_at: '2021-10-12T12:14:20.515Z'++ updated_at: '2021-10-12T12:14:20.520Z'link:is_container: falseis_root: false@@@ -3371,8 -2728,8 +3373,8 @@@lft: 4rgt: 5depth: 1- created_at: '2021-10-12T00:42:53.387Z'- updated_at: '2021-10-12T00:42:53.391Z'- created_at: '2021-10-12T09:52:26.495Z'- updated_at: '2021-10-12T09:52:26.502Z'++ created_at: '2021-10-12T12:14:20.568Z'++ updated_at: '2021-10-12T12:14:20.573Z'link:is_container: falseis_root: false@@@ -3408,8 -2765,8 +3410,8 @@@lft: 6rgt: 7depth: 1- created_at: '2021-10-12T00:42:53.437Z'- updated_at: '2021-10-12T00:42:53.441Z'- created_at: '2021-10-12T09:52:26.593Z'- updated_at: '2021-10-12T09:52:26.600Z'++ created_at: '2021-10-12T12:14:20.629Z'++ updated_at: '2021-10-12T12:14:20.633Z'link:is_container: falseis_root: false@@@ -3445,8 -2802,8 +3447,8 @@@lft: 8rgt: 9depth: 1- created_at: '2021-10-12T00:42:53.488Z'- updated_at: '2021-10-12T00:42:53.493Z'- created_at: '2021-10-12T09:52:26.690Z'- updated_at: '2021-10-12T09:52:26.695Z'++ created_at: '2021-10-12T12:14:20.681Z'++ updated_at: '2021-10-12T12:14:20.685Z'link:is_container: falseis_root: false@@@ -3482,8 -2839,8 +3484,8 @@@lft: 10rgt: 11depth: 1- created_at: '2021-10-12T00:42:53.539Z'- updated_at: '2021-10-12T00:42:53.544Z'- created_at: '2021-10-12T09:52:26.786Z'- updated_at: '2021-10-12T09:52:26.793Z'++ created_at: '2021-10-12T12:14:20.732Z'++ updated_at: '2021-10-12T12:14:20.736Z'link:is_container: falseis_root: false@@@ -3519,8 -2876,8 +3521,8 @@@lft: 12rgt: 13depth: 1- created_at: '2021-10-12T00:42:53.589Z'- updated_at: '2021-10-12T00:42:53.594Z'- created_at: '2021-10-12T09:52:26.896Z'- updated_at: '2021-10-12T09:52:26.904Z'++ created_at: '2021-10-12T12:14:20.782Z'++ updated_at: '2021-10-12T12:14:20.786Z'link:is_container: falseis_root: false@@@ -3556,8 -2913,8 +3558,8 @@@lft: 14rgt: 15depth: 1- created_at: '2021-10-12T00:42:53.641Z'- updated_at: '2021-10-12T00:42:53.646Z'- created_at: '2021-10-12T09:52:26.993Z'- updated_at: '2021-10-12T09:52:26.999Z'++ created_at: '2021-10-12T12:14:20.834Z'++ updated_at: '2021-10-12T12:14:20.838Z'link:is_container: falseis_root: false@@@ -3583,7 -2940,8 +3585,7 @@@- id: '1'type: menu_itemattributes:- name: Cum architecto officia dicta magni.- name: Natus debitis ratione dolores repudiandae sint accusantium- tenetur.++ name: Alias totam nulla officia voluptates iure numquam.subtitle:destination:new_window: false@@@ -3593,8 -2951,8 +3595,8 @@@lft: 1rgt: 16depth: 0- created_at: '2021-10-12T00:42:53.281Z'- updated_at: '2021-10-12T00:42:53.656Z'- created_at: '2021-10-12T09:52:26.303Z'- updated_at: '2021-10-12T09:52:27.015Z'++ created_at: '2021-10-12T12:14:20.460Z'++ updated_at: '2021-10-12T12:14:20.849Z'link:is_container: trueis_root: true@@@ -3683,8 -3041,8 +3685,8 @@@lft: 8rgt: 9depth: 1- created_at: '2021-10-12T00:42:54.266Z'- updated_at: '2021-10-12T00:42:54.270Z'- created_at: '2021-10-12T09:52:28.285Z'- updated_at: '2021-10-12T09:52:28.290Z'++ created_at: '2021-10-12T12:14:21.459Z'++ updated_at: '2021-10-12T12:14:21.463Z'link:is_container: falseis_root: false@@@ -3770,8 -3128,8 +3772,8 @@@lft: 8rgt: 9depth: 1- created_at: '2021-10-12T00:42:54.680Z'- updated_at: '2021-10-12T00:42:54.684Z'- created_at: '2021-10-12T09:52:29.063Z'- updated_at: '2021-10-12T09:52:29.070Z'++ created_at: '2021-10-12T12:14:21.974Z'++ updated_at: '2021-10-12T12:14:21.978Z'link:is_container: falseis_root: false@@@ -3853,8 -3211,8 +3855,8 @@@lft: 8rgt: 9depth: 1- created_at: '2021-10-12T00:42:55.341Z'- updated_at: '2021-10-12T00:42:55.365Z'- created_at: '2021-10-12T09:52:30.308Z'- updated_at: '2021-10-12T09:52:30.343Z'++ created_at: '2021-10-12T12:14:22.637Z'++ updated_at: '2021-10-12T12:14:22.659Z'link:is_container: falseis_root: false@@@ -3979,8 -3337,8 +3981,8 @@@lft: 5rgt: 6depth: 2- created_at: '2021-10-12T00:42:56.994Z'- updated_at: '2021-10-12T00:42:57.020Z'- created_at: '2021-10-12T09:52:33.245Z'- updated_at: '2021-10-12T09:52:33.283Z'++ created_at: '2021-10-12T12:14:24.198Z'++ updated_at: '2021-10-12T12:14:24.222Z'link:is_container: falseis_root: false@@@ -4072,8 -3430,8 +4074,8 @@@name: Main Menulocation: headerlocale: en- created_at: '2021-10-12T00:42:57.468Z'- updated_at: '2021-10-12T00:42:57.590Z'- created_at: '2021-10-12T09:52:34.120Z'- updated_at: '2021-10-12T09:52:34.347Z'++ created_at: '2021-10-12T12:14:24.669Z'++ updated_at: '2021-10-12T12:14:24.792Z'relationships:menu_items:data:@@@ -4089,8 -3447,8 +4091,8 @@@name: Footer Menulocation: footerlocale: en- created_at: '2021-10-12T00:42:57.478Z'- updated_at: '2021-10-12T00:42:57.693Z'- created_at: '2021-10-12T09:52:34.133Z'- updated_at: '2021-10-12T09:52:34.555Z'++ created_at: '2021-10-12T12:14:24.679Z'++ updated_at: '2021-10-12T12:14:24.954Z'relationships:menu_items:data:@@@ -4149,8 -3507,8 +4151,8 @@@name: Main Menulocation: headerlocale: en- created_at: '2021-10-12T00:42:57.973Z'- updated_at: '2021-10-12T00:42:57.980Z'- created_at: '2021-10-12T09:52:35.137Z'- updated_at: '2021-10-12T09:52:35.147Z'++ created_at: '2021-10-12T12:14:25.251Z'++ updated_at: '2021-10-12T12:14:25.258Z'relationships:menu_items:data:@@@ -4214,8 -3572,8 +4216,8 @@@name: Main Menulocation: headerlocale: en- created_at: '2021-10-12T00:42:58.016Z'- updated_at: '2021-10-12T00:42:58.023Z'- created_at: '2021-10-12T09:52:35.205Z'- updated_at: '2021-10-12T09:52:35.213Z'++ created_at: '2021-10-12T12:14:25.296Z'++ updated_at: '2021-10-12T12:14:25.304Z'relationships:menu_items:data:@@@ -4273,8 -3631,8 +4275,8 @@@name: Main Menulocation: headerlocale: en- created_at: '2021-10-12T00:42:58.090Z'- updated_at: '2021-10-12T00:42:58.097Z'- created_at: '2021-10-12T09:52:35.317Z'- updated_at: '2021-10-12T09:52:35.326Z'++ created_at: '2021-10-12T12:14:25.375Z'++ updated_at: '2021-10-12T12:14:25.382Z'relationships:menu_items:data:@@@ -4391,26 -3749,26 +4393,26 @@@Example:value:data:- - id: '1'+ - id: '67'type: option_typeattributes:- name: foo-size-1+ name: foo-size-67presentation: Sizeposition: 1- created_at: '2021-10-12T00:42:58.271Z'- updated_at: '2021-10-12T00:42:58.271Z'- created_at: '2021-10-12T09:52:35.647Z'- updated_at: '2021-10-12T09:52:35.647Z'++ created_at: '2021-10-12T12:14:25.552Z'++ updated_at: '2021-10-12T12:14:25.552Z'filterable: truerelationships:option_values:data: []- - id: '2'+ - id: '68'type: option_typeattributes:- name: foo-size-2+ name: foo-size-68presentation: Sizeposition: 2- created_at: '2021-10-12T00:42:58.273Z'- updated_at: '2021-10-12T00:42:58.273Z'- created_at: '2021-10-12T09:52:35.651Z'- updated_at: '2021-10-12T09:52:35.651Z'++ created_at: '2021-10-12T12:14:25.554Z'++ updated_at: '2021-10-12T12:14:25.554Z'filterable: truerelationships:option_values:@@@ -4451,14 -3809,14 +4453,14 @@@Example:value:data:- id: '5'+ id: '71'type: option_typeattributes:- name: foo-size-5+ name: foo-size-71presentation: Sizeposition: 1- created_at: '2021-10-12T00:42:58.320Z'- updated_at: '2021-10-12T00:42:58.320Z'- created_at: '2021-10-12T09:52:35.740Z'- updated_at: '2021-10-12T09:52:35.740Z'++ created_at: '2021-10-12T12:14:25.607Z'++ updated_at: '2021-10-12T12:14:25.607Z'filterable: truerelationships:option_values:@@@ -4505,14 -3863,14 +4507,14 @@@Example:value:data:- id: '6'+ id: '72'type: option_typeattributes:- name: foo-size-6+ name: foo-size-72presentation: Sizeposition: 1- created_at: '2021-10-12T00:42:58.355Z'- updated_at: '2021-10-12T00:42:58.355Z'- created_at: '2021-10-12T09:52:35.803Z'- updated_at: '2021-10-12T09:52:35.803Z'++ created_at: '2021-10-12T12:14:25.637Z'++ updated_at: '2021-10-12T12:14:25.637Z'filterable: truerelationships:option_values:@@@ -4562,8 -3920,8 +4564,8 @@@name: Size-Xpresentation: Sizeposition: 1- created_at: '2021-10-12T00:42:58.404Z'- updated_at: '2021-10-12T00:42:58.412Z'- created_at: '2021-10-12T09:52:35.892Z'- updated_at: '2021-10-12T09:52:35.907Z'++ created_at: '2021-10-12T12:14:25.685Z'++ updated_at: '2021-10-12T12:14:25.693Z'filterable: truerelationships:option_values:@@@ -4685,10 -4043,10 +4687,10 @@@type: option_valueattributes:position: 1- name: Size-1+ name: Size-67presentation: S- created_at: '2021-10-12T00:42:58.537Z'- updated_at: '2021-10-12T00:42:58.537Z'- created_at: '2021-10-12T09:52:36.116Z'- updated_at: '2021-10-12T09:52:36.116Z'++ created_at: '2021-10-12T12:14:25.815Z'++ updated_at: '2021-10-12T12:14:25.815Z'relationships:option_type:data:@@@ -4698,10 -4056,10 +4700,10 @@@type: option_valueattributes:position: 1- name: Size-2+ name: Size-68presentation: S- created_at: '2021-10-12T00:42:58.543Z'- updated_at: '2021-10-12T00:42:58.543Z'- created_at: '2021-10-12T09:52:36.125Z'- updated_at: '2021-10-12T09:52:36.125Z'++ created_at: '2021-10-12T12:14:25.821Z'++ updated_at: '2021-10-12T12:14:25.821Z'relationships:option_type:data:@@@ -4754,10 -4112,10 +4756,10 @@@type: option_valueattributes:position: 1- name: Size-5+ name: Size-71presentation: S- created_at: '2021-10-12T00:42:58.599Z'- updated_at: '2021-10-12T00:42:58.599Z'- created_at: '2021-10-12T09:52:36.221Z'- updated_at: '2021-10-12T09:52:36.221Z'++ created_at: '2021-10-12T12:14:25.878Z'++ updated_at: '2021-10-12T12:14:25.878Z'relationships:option_type:data:@@@ -4814,10 -4172,10 +4816,10 @@@type: option_valueattributes:position: 1- name: Size-6+ name: Size-72presentation: S- created_at: '2021-10-12T00:42:58.633Z'- updated_at: '2021-10-12T00:42:58.633Z'- created_at: '2021-10-12T09:52:36.275Z'- updated_at: '2021-10-12T09:52:36.275Z'++ created_at: '2021-10-12T12:14:25.911Z'++ updated_at: '2021-10-12T12:14:25.911Z'relationships:option_type:data:@@@ -4875,8 -4233,8 +4877,8 @@@position: 1name: Mpresentation: S- created_at: '2021-10-12T00:42:58.696Z'- updated_at: '2021-10-12T00:42:58.707Z'- created_at: '2021-10-12T09:52:36.360Z'- updated_at: '2021-10-12T09:52:36.373Z'++ created_at: '2021-10-12T12:14:25.974Z'++ updated_at: '2021-10-12T12:14:25.983Z'relationships:option_type:data:@@@ -4989,10 -4347,10 +4991,10 @@@Example:value:data:- - id: '26'+ - id: '39'type: orderattributes:- number: R087101626- number: R405901975++ number: R770782125item_total: '0.0'total: '0.0'state: cart@@@ -5001,10 -4359,10 +5003,10 @@@payment_total: '0.0'shipment_state:payment_state:- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:42:58.908Z'- updated_at: '2021-10-12T00:42:58.908Z'- created_at: '2021-10-12T09:52:36.600Z'- updated_at: '2021-10-12T09:52:36.600Z'++ created_at: '2021-10-12T12:14:26.129Z'++ updated_at: '2021-10-12T12:14:26.129Z'currency: USDlast_ip_address:shipment_total: '0.0'@@@ -5073,10 -4431,10 +5075,10 @@@data: []order_promotions:data: []- - id: '27'+ - id: '40'type: orderattributes:- number: R448425754- number: R894484933++ number: R626003161item_total: '0.0'total: '0.0'state: cart@@@ -5085,10 -4443,10 +5087,10 @@@payment_total: '0.0'shipment_state:payment_state:- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:42:58.939Z'- updated_at: '2021-10-12T00:42:58.939Z'- created_at: '2021-10-12T09:52:36.613Z'- updated_at: '2021-10-12T09:52:36.613Z'++ created_at: '2021-10-12T12:14:26.138Z'++ updated_at: '2021-10-12T12:14:26.138Z'currency: USDlast_ip_address:shipment_total: '0.0'@@@ -5200,10 -4558,10 +5202,10 @@@Example:value:data:- id: '30'+ id: '43'type: orderattributes:- number: R776297485- number: R683783866++ number: R743801575item_total: '0.0'total: '0.0'state: cart@@@ -5214,8 -4572,8 +5216,8 @@@payment_state:email:special_instructions:- created_at: '2021-10-12T00:42:59.230Z'- updated_at: '2021-10-12T00:42:59.247Z'- created_at: '2021-10-12T09:52:37.007Z'- updated_at: '2021-10-12T09:52:37.025Z'++ created_at: '2021-10-12T12:14:26.423Z'++ updated_at: '2021-10-12T12:14:26.448Z'currency: USDlast_ip_address:shipment_total: '0.0'@@@ -5324,10 -4682,10 +5326,10 @@@Example:value:data:- id: '31'+ id: '44'type: orderattributes:- number: R676181453- number: R411944683++ number: R156465321item_total: '10.0'total: '110.0'state: delivery@@@ -5336,10 -4694,10 +5338,10 @@@payment_total: '0.0'shipment_state:payment_state:- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:42:59.288Z'- updated_at: '2021-10-12T00:42:59.437Z'- created_at: '2021-10-12T09:52:37.085Z'- updated_at: '2021-10-12T09:52:37.254Z'++ created_at: '2021-10-12T12:14:26.490Z'++ updated_at: '2021-10-12T12:14:26.728Z'currency: USDlast_ip_address:shipment_total: '100.0'@@@ -5460,10 -4818,10 +5462,10 @@@Example:value:data:- id: '33'+ id: '46'type: orderattributes:- number: R722063449- number: R779245855++ number: R866525468item_total: '10.0'total: '110.0'state: delivery@@@ -5474,8 -4832,8 +5476,8 @@@payment_state:email: [email protected]special_instructions:- created_at: '2021-10-12T00:42:59.620Z'- updated_at: '2021-10-12T00:42:59.713Z'- created_at: '2021-10-12T09:52:37.534Z'- updated_at: '2021-10-12T09:52:37.678Z'++ created_at: '2021-10-12T12:14:26.903Z'++ updated_at: '2021-10-12T12:14:27.006Z'currency: USDlast_ip_address:shipment_total: '100.0'@@@ -5646,10 -5004,10 +5648,10 @@@Example:value:data:- id: '38'+ id: '51'type: orderattributes:- number: R850216179- number: R051236352++ number: R312033482item_total: '10.0'total: '110.0'state: payment@@@ -5658,10 -5016,10 +5660,10 @@@payment_total: '0.0'shipment_state:payment_state:- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:43:00.277Z'- updated_at: '2021-10-12T00:43:00.407Z'- created_at: '2021-10-12T09:52:38.558Z'- updated_at: '2021-10-12T09:52:38.741Z'++ created_at: '2021-10-12T12:14:27.603Z'++ updated_at: '2021-10-12T12:14:27.740Z'currency: USDlast_ip_address:shipment_total: '100.0'@@@ -5785,10 -5143,10 +5787,10 @@@Example:value:data:- id: '40'+ id: '53'type: orderattributes:- number: R170830035- number: R875525276++ number: R344796239item_total: '10.0'total: '110.0'state: payment@@@ -5797,10 -5155,10 +5799,10 @@@payment_total: '0.0'shipment_state:payment_state:- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:43:00.564Z'- updated_at: '2021-10-12T00:43:00.671Z'- created_at: '2021-10-12T09:52:39.170Z'- updated_at: '2021-10-12T09:52:39.351Z'++ created_at: '2021-10-12T12:14:27.914Z'++ updated_at: '2021-10-12T12:14:28.043Z'currency: USDlast_ip_address:shipment_total: '100.0'@@@ -5924,22 -5282,22 +5926,22 @@@Example:value:data:- id: '42'+ id: '55'type: orderattributes:- number: R093811798- number: R285593451++ number: R810227114item_total: '10.0'total: '110.0'state: completeadjustment_total: '0.0'- completed_at: '2021-10-12T00:43:01.018Z'- completed_at: '2021-10-12T09:52:39.915Z'++ completed_at: '2021-10-12T12:14:28.420Z'payment_total: '0.0'shipment_state: pendingpayment_state: balance_due- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:43:00.834Z'- updated_at: '2021-10-12T00:43:01.018Z'- created_at: '2021-10-12T09:52:39.609Z'- updated_at: '2021-10-12T09:52:39.915Z'++ created_at: '2021-10-12T12:14:28.205Z'++ updated_at: '2021-10-12T12:14:28.420Z'currency: USDlast_ip_address:shipment_total: '100.0'@@@ -6074,10 -5432,10 +6076,10 @@@Example:value:data:- id: '45'+ id: '58'type: orderattributes:- number: R398021147- number: R270864115++ number: R704160949item_total: '0.0'total: '0.0'state: cart@@@ -6086,10 -5444,10 +6088,10 @@@payment_total: '0.0'shipment_state:payment_state:- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:43:01.291Z'- updated_at: '2021-10-12T00:43:01.393Z'- created_at: '2021-10-12T09:52:40.336Z'- updated_at: '2021-10-12T09:52:40.481Z'++ created_at: '2021-10-12T12:14:28.714Z'++ updated_at: '2021-10-12T12:14:28.815Z'currency: USDlast_ip_address:shipment_total: '0.0'@@@ -6176,6 -5534,299 +6178,299 @@@Example:value:error: The access token is invalid+ "/api/v2/platform/orders/{id}/approve":+ patch:+ summary: Approves an Order+ tags:+ - Orders+ security:+ - bearer_auth: []+ description: Approves an Order, when using a token created for a user, it will+ save this user as the approver+ operationId: approve-order+ parameters:+ - name: id+ in: path+ required: true+ schema:+ 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: line_items,variants,product+ schema:+ type: string+ responses:+ '200':+ description: record approved+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:- id: '47'++ id: '60'+ type: order+ attributes:- number: R291835383++ number: R794269450+ item_total: '10.0'+ total: '110.0'+ state: delivery+ adjustment_total: '0.0'+ completed_at:+ payment_total: '0.0'+ shipment_state:+ payment_state:- email: [email protected]++ email: [email protected]+ special_instructions:- created_at: '2021-10-12T09:52:40.721Z'- updated_at: '2021-10-12T09:52:40.832Z'++ created_at: '2021-10-12T12:14:28.974Z'++ updated_at: '2021-10-12T12:14:29.058Z'+ currency: USD+ last_ip_address:+ shipment_total: '100.0'+ additional_tax_total: '0.0'+ promo_total: '0.0'+ channel: spree+ included_tax_total: '0.0'+ item_count: 1+ approved_at:+ confirmation_delivered: false+ canceled_at:+ state_lock_version: 0+ 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"+ display_tax_total: "$0.00"+ display_cart_promo_total: "$0.00"+ display_pre_tax_item_amount: "$10.00"+ display_adjustment_total: "$0.00"+ 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: "$110.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_store_credit_remaining_after_capture: "$0.00"+ relationships:+ user:+ data:- id: '47'++ id: '60'+ type: user+ created_by:+ data:+ approver:+ data:+ canceler:+ data:+ bill_address:+ data:- id: '75'++ id: '88'+ type: address+ ship_address:+ data:- id: '76'++ id: '89'+ type: address+ line_items:+ data:- - id: '38'++ - id: '51'+ type: line_item+ payments:+ data: []+ shipments:+ data:+ - id: '17'+ type: shipment+ state_changes:+ data: []+ return_authorizations:+ data: []+ reimbursements:+ data: []+ adjustments:+ data: []+ all_adjustments:+ data: []+ order_promotions:+ data: []+ '404':+ description: Record not found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The resource you were looking for could not be found.+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid+ "/api/v2/platform/orders/{id}/cancel":+ patch:+ summary: Cancels an Order+ tags:+ - Orders+ security:+ - bearer_auth: []+ description: Cancels an Order, when using a token created for a user, it will+ save this user as the canceler+ operationId: cancel-order+ parameters:+ - name: id+ in: path+ required: true+ schema:+ 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: line_items,variants,product+ schema:+ type: string+ responses:+ '200':+ description: record cancelled+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ data:- id: '49'++ id: '62'+ type: order+ attributes:- number: R844362570++ number: R257527409+ item_total: '10.0'+ total: '10.0'+ state: canceled+ adjustment_total: '0.0'- completed_at: '2021-10-12T09:52:41.264Z'++ completed_at: '2021-10-12T12:14:29.316Z'+ payment_total: '0.0'+ shipment_state: canceled+ payment_state: void- email: [email protected]++ email: [email protected]+ special_instructions:- created_at: '2021-10-12T09:52:41.103Z'- updated_at: '2021-10-12T09:52:41.403Z'++ created_at: '2021-10-12T12:14:29.218Z'++ updated_at: '2021-10-12T12:14:29.374Z'+ currency: USD+ last_ip_address:+ shipment_total: '0.0'+ additional_tax_total: '0.0'+ promo_total: '0.0'+ channel: spree+ included_tax_total: '0.0'+ item_count: 1+ approved_at:+ confirmation_delivered: false+ canceled_at:+ state_lock_version: 0+ taxable_adjustment_total: '0.0'+ non_taxable_adjustment_total: '0.0'+ store_owner_notification_delivered:- display_pre_tax_total: "$10.00"- display_ship_total: "$0.00"- display_shipment_total: "$0.00"- display_total: "$10.00"+ display_outstanding_balance: "$0.00"+ display_item_total: "$10.00"+ display_tax_total: "$0.00"+ display_cart_promo_total: "$0.00"+ display_pre_tax_item_amount: "$10.00"+ display_adjustment_total: "$0.00"+ 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: "$0.00"++ display_shipment_total: "$0.00"++ display_total: "$10.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_store_credit_remaining_after_capture: "$0.00"+ relationships:+ user:+ data:- id: '49'++ id: '62'+ type: user+ created_by:+ data:+ approver:+ data:+ canceler:+ data:+ bill_address:+ data:- id: '79'++ id: '92'+ type: address+ ship_address:+ data:- id: '80'++ id: '93'+ type: address+ line_items:+ data:- - id: '40'++ - id: '53'+ type: line_item+ payments:+ data: []+ shipments:+ data:+ - id: '19'+ type: shipment+ state_changes:+ data:+ - id: '11'+ type: state_change+ - id: '13'+ type: state_change+ - id: '14'+ type: state_change+ return_authorizations:+ data: []+ reimbursements:+ data: []+ adjustments:+ data: []+ all_adjustments:+ data: []+ order_promotions:+ data: []+ '422':+ description: cannot be cancelled+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: State cannot transition via "cancel"+ errors:+ state:+ - cannot transition via "cancel"+ '404':+ description: Record not found+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The resource you were looking for could not be found.+ '401':+ description: Authentication Failed+ content:+ application/vnd.api+json:+ examples:+ Example:+ value:+ error: The access token is invalid"/api/v2/platform/orders/{id}/use_store_credit":patch:summary: Use Store Credit for an Order@@@ -6207,10 -5858,10 +6502,10 @@@Example:value:data:- id: '60'- id: '52'++ id: '65'type: orderattributes:- number: R589661909- number: R741527327++ number: R978357975item_total: '10.0'total: '110.0'state: delivery@@@ -6219,10 -5870,10 +6514,10 @@@payment_total: '0.0'shipment_state:payment_state:- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:43:01.556Z'- updated_at: '2021-10-12T00:43:01.699Z'- created_at: '2021-10-12T09:52:41.902Z'- updated_at: '2021-10-12T09:52:42.110Z'++ created_at: '2021-10-12T12:14:29.656Z'++ updated_at: '2021-10-12T12:14:29.803Z'currency: USDlast_ip_address:shipment_total: '100.0'@@@ -6259,7 -5910,7 +6554,7 @@@relationships:user:data:- id: '60'- id: '52'++ id: '65'type: usercreated_by:data:@@@ -6269,15 -5920,15 +6564,15 @@@data:bill_address:data:- id: '88'- id: '85'++ id: '98'type: addressship_address:data:- id: '89'- id: '86'++ id: '99'type: addressline_items:data:- - id: '51'- - id: '43'++ - id: '56'type: line_itempayments:data:@@@ -6360,10 -6011,10 +6655,10 @@@Example:value:data:- id: '63'- id: '55'++ id: '68'type: orderattributes:- number: R944934777- number: R217987993++ number: R608270954item_total: '10.0'total: '10.0'state: delivery@@@ -6372,10 -6023,10 +6667,10 @@@payment_total: '0.0'shipment_state:payment_state:- email: [email protected]- email: [email protected]++ email: [email protected]special_instructions:- created_at: '2021-10-12T00:43:02.021Z'- updated_at: '2021-10-12T00:43:02.152Z'- created_at: '2021-10-12T09:52:42.635Z'- updated_at: '2021-10-12T09:52:42.998Z'++ created_at: '2021-10-12T12:14:30.132Z'++ updated_at: '2021-10-12T12:14:30.267Z'currency: USDlast_ip_address:shipment_total: '100.0'@@@ -6412,7 -6063,7 +6707,7 @@@relationships:user:data:- id: '64'- id: '56'++ id: '69'type: usercreated_by:data:@@@ -6422,15 -6073,15 +6717,15 @@@data:bill_address:data:- id: '94'- id: '91'++ id: '104'type: addressship_address:data:- id: '95'- id: '92'++ id: '105'type: addressline_items:data:- - id: '54'- - id: '46'++ - id: '59'type: line_itempayments:data: []@@@ -6525,18 -6176,18 +6820,18 @@@Example:value:data:- - id: '97'- - id: '77'++ - id: '102'type: shipping_categoryattributes:- name: 'ShippingCategory #97'- created_at: '2021-10-12T00:43:02.441Z'- updated_at: '2021-10-12T00:43:02.441Z'- - id: '98'- name: 'ShippingCategory #77'- created_at: '2021-10-12T09:52:43.419Z'- updated_at: '2021-10-12T09:52:43.419Z'- - id: '78'++ name: 'ShippingCategory #102'++ created_at: '2021-10-12T12:14:30.547Z'++ updated_at: '2021-10-12T12:14:30.547Z'++ - id: '103'type: shipping_categoryattributes:- name: 'ShippingCategory #98'- created_at: '2021-10-12T00:43:02.442Z'- updated_at: '2021-10-12T00:43:02.442Z'- name: 'ShippingCategory #78'- created_at: '2021-10-12T09:52:43.421Z'- updated_at: '2021-10-12T09:52:43.421Z'++ name: 'ShippingCategory #103'++ created_at: '2021-10-12T12:14:30.548Z'++ updated_at: '2021-10-12T12:14:30.548Z'meta:count: 2total_count: 2@@@ -6580,12 -6231,12 +6875,12 @@@Example:value:data:- id: '101'- id: '81'++ id: '106'type: shipping_categoryattributes:- name: 'ShippingCategory #101'- created_at: '2021-10-12T00:43:02.485Z'- updated_at: '2021-10-12T00:43:02.485Z'- name: 'ShippingCategory #81'- created_at: '2021-10-12T09:52:43.487Z'- updated_at: '2021-10-12T09:52:43.487Z'++ name: 'ShippingCategory #106'++ created_at: '2021-10-12T12:14:30.597Z'++ updated_at: '2021-10-12T12:14:30.597Z''422':description: invalid requestcontent:@@@ -6633,12 -6284,12 +6928,12 @@@Example:value:data:- id: '102'- id: '82'++ id: '107'type: shipping_categoryattributes:- name: 'ShippingCategory #102'- created_at: '2021-10-12T00:43:02.514Z'- updated_at: '2021-10-12T00:43:02.514Z'- name: 'ShippingCategory #82'- created_at: '2021-10-12T09:52:43.532Z'- updated_at: '2021-10-12T09:52:43.532Z'++ name: 'ShippingCategory #107'++ created_at: '2021-10-12T12:14:30.627Z'++ updated_at: '2021-10-12T12:14:30.627Z''404':description: Record not foundcontent:@@@ -6685,12 -6336,12 +6980,12 @@@Example:value:data:- id: '104'- id: '84'++ id: '109'type: shipping_categoryattributes:name: Default- created_at: '2021-10-12T00:43:02.561Z'- updated_at: '2021-10-12T00:43:02.568Z'- created_at: '2021-10-12T09:52:43.603Z'- updated_at: '2021-10-12T09:52:43.613Z'++ created_at: '2021-10-12T12:14:30.676Z'++ updated_at: '2021-10-12T12:14:30.682Z''422':description: invalid requestcontent:@@@ -6813,8 -6464,8 +7108,8 @@@lft: 2rgt: 3description:- created_at: '2021-10-12T00:43:02.737Z'- updated_at: '2021-10-12T00:43:02.741Z'- created_at: '2021-10-12T09:52:43.924Z'- updated_at: '2021-10-12T09:52:43.929Z'++ created_at: '2021-10-12T12:14:30.847Z'++ updated_at: '2021-10-12T12:14:30.851Z'meta_title:meta_description:meta_keywords:@@@ -6848,8 -6499,8 +7143,8 @@@lft: 4rgt: 5description:- created_at: '2021-10-12T00:43:02.788Z'- updated_at: '2021-10-12T00:43:02.791Z'- created_at: '2021-10-12T09:52:44.032Z'- updated_at: '2021-10-12T09:52:44.037Z'++ created_at: '2021-10-12T12:14:30.898Z'++ updated_at: '2021-10-12T12:14:30.901Z'meta_title:meta_description:meta_keywords:@@@ -6883,8 -6534,8 +7178,8 @@@lft: 1rgt: 6description:- created_at: '2021-10-12T00:43:02.679Z'- updated_at: '2021-10-12T00:43:02.800Z'- created_at: '2021-10-12T09:52:43.821Z'- updated_at: '2021-10-12T09:52:44.052Z'++ created_at: '2021-10-12T12:14:30.792Z'++ updated_at: '2021-10-12T12:14:30.910Z'meta_title:meta_description:meta_keywords:@@@ -6961,8 -6612,8 +7256,8 @@@lft: 2rgt: 3description:- created_at: '2021-10-12T00:43:02.999Z'- updated_at: '2021-10-12T00:43:03.004Z'- created_at: '2021-10-12T09:52:44.570Z'- updated_at: '2021-10-12T09:52:44.589Z'++ created_at: '2021-10-12T12:14:31.109Z'++ updated_at: '2021-10-12T12:14:31.114Z'meta_title:meta_description:meta_keywords:@@@ -7043,8 -6694,8 +7338,8 @@@lft: 2rgt: 3description:- created_at: '2021-10-12T00:43:03.111Z'- updated_at: '2021-10-12T00:43:03.115Z'- created_at: '2021-10-12T09:52:44.816Z'- updated_at: '2021-10-12T09:52:44.822Z'++ created_at: '2021-10-12T12:14:31.224Z'++ updated_at: '2021-10-12T12:14:31.228Z'meta_title:meta_description:meta_keywords:@@@ -7126,8 -6777,8 +7421,8 @@@lft: 2rgt: 3description:- created_at: '2021-10-12T00:43:03.313Z'- updated_at: '2021-10-12T00:43:03.337Z'- created_at: '2021-10-12T09:52:45.284Z'- updated_at: '2021-10-12T09:52:45.327Z'++ created_at: '2021-10-12T12:14:31.420Z'++ updated_at: '2021-10-12T12:14:31.444Z'meta_title:meta_description:meta_keywords:@@@ -7265,12 -6916,12 +7560,12 @@@Example:value:data:- - id: '67'- - id: '59'++ - id: '72'type: userattributes:- email: [email protected]- created_at: '2021-10-12T00:43:03.770Z'- updated_at: '2021-10-12T00:43:03.770Z'- email: [email protected]- created_at: '2021-10-12T09:52:46.158Z'- updated_at: '2021-10-12T09:52:46.158Z'++ email: [email protected]++ created_at: '2021-10-12T12:14:31.873Z'++ updated_at: '2021-10-12T12:14:31.873Z'average_order_value: []lifetime_value: []store_credits: []@@@ -7279,12 -6930,12 +7574,12 @@@data:ship_address:data:- - id: '68'- - id: '60'++ - id: '73'type: userattributes:- email: [email protected]- created_at: '2021-10-12T00:43:03.777Z'- updated_at: '2021-10-12T00:43:03.777Z'- email: [email protected]- created_at: '2021-10-12T09:52:46.172Z'- updated_at: '2021-10-12T09:52:46.172Z'++ email: [email protected]++ created_at: '2021-10-12T12:14:31.878Z'++ updated_at: '2021-10-12T12:14:31.878Z'average_order_value: []lifetime_value: []store_credits: []@@@ -7293,12 -6944,12 +7588,12 @@@data:ship_address:data:- - id: '69'- - id: '61'++ - id: '74'type: userattributes:- email: [email protected]- created_at: '2021-10-12T00:43:03.778Z'- updated_at: '2021-10-12T00:43:03.778Z'- email: [email protected]- created_at: '2021-10-12T09:52:46.177Z'- updated_at: '2021-10-12T09:52:46.177Z'++ email: [email protected]++ created_at: '2021-10-12T12:14:31.880Z'++ updated_at: '2021-10-12T12:14:31.880Z'average_order_value: []lifetime_value: []store_credits: []@@@ -7350,12 -7001,12 +7645,12 @@@Example:value:data:- id: '74'- id: '66'++ id: '79'type: userattributes:- email: [email protected]- created_at: '2021-10-12T00:43:03.843Z'- updated_at: '2021-10-12T00:43:03.843Z'- email: [email protected]- created_at: '2021-10-12T09:52:46.315Z'- updated_at: '2021-10-12T09:52:46.315Z'++ email: [email protected]++ created_at: '2021-10-12T12:14:31.950Z'++ updated_at: '2021-10-12T12:14:31.950Z'average_order_value: []lifetime_value: []store_credits: []@@@ -7411,12 -7062,12 +7706,12 @@@Example:value:data:- id: '77'- id: '69'++ id: '82'type: userattributes:- email: [email protected]- created_at: '2021-10-12T00:43:03.888Z'- updated_at: '2021-10-12T00:43:03.888Z'- email: [email protected]- created_at: '2021-10-12T09:52:46.424Z'- updated_at: '2021-10-12T09:52:46.424Z'++ email: [email protected]++ created_at: '2021-10-12T12:14:31.995Z'++ updated_at: '2021-10-12T12:14:31.995Z'average_order_value: []lifetime_value: []store_credits: []@@@ -7471,12 -7122,12 +7766,12 @@@Example:value:data:- id: '82'- id: '74'++ id: '87'type: userattributes:email: [email protected]- created_at: '2021-10-12T00:43:03.954Z'- updated_at: '2021-10-12T00:43:03.964Z'- created_at: '2021-10-12T09:52:46.581Z'- updated_at: '2021-10-12T09:52:46.599Z'++ created_at: '2021-10-12T12:14:32.060Z'++ updated_at: '2021-10-12T12:14:32.068Z'average_order_value: []lifetime_value: []store_credits: []@@@ -7590,61 -7241,61 +7885,61 @@@type: wished_itemattributes:quantity: 1- created_at: '2021-10-12T00:43:04.276Z'- updated_at: '2021-10-12T00:43:04.276Z'- created_at: '2021-10-12T09:52:47.158Z'- updated_at: '2021-10-12T09:52:47.158Z'- display_total: "$19.99"++ created_at: '2021-10-12T12:14:32.371Z'++ updated_at: '2021-10-12T12:14:32.371Z'display_price: "$19.99"+ display_total: "$19.99"price: '19.99'total: '19.99'relationships:variant:data:- id: '232'- id: '92'++ id: '237'type: variant- id: '2'type: wished_itemattributes:quantity: 1- created_at: '2021-10-12T00:43:04.326Z'- updated_at: '2021-10-12T00:43:04.326Z'- created_at: '2021-10-12T09:52:47.235Z'- updated_at: '2021-10-12T09:52:47.235Z'- display_total: "$19.99"++ created_at: '2021-10-12T12:14:32.424Z'++ updated_at: '2021-10-12T12:14:32.424Z'display_price: "$19.99"+ display_total: "$19.99"price: '19.99'total: '19.99'relationships:variant:data:- id: '234'- id: '94'++ id: '239'type: variant- id: '3'type: wished_itemattributes:quantity: 1- created_at: '2021-10-12T00:43:04.375Z'- updated_at: '2021-10-12T00:43:04.375Z'- created_at: '2021-10-12T09:52:47.316Z'- updated_at: '2021-10-12T09:52:47.316Z'- display_total: "$19.99"++ created_at: '2021-10-12T12:14:32.474Z'++ updated_at: '2021-10-12T12:14:32.474Z'display_price: "$19.99"+ display_total: "$19.99"price: '19.99'total: '19.99'relationships:variant:data:- id: '236'- id: '96'++ id: '241'type: variant- id: '4'type: wished_itemattributes:quantity: 1- created_at: '2021-10-12T00:43:04.424Z'- updated_at: '2021-10-12T00:43:04.424Z'- created_at: '2021-10-12T09:52:47.391Z'- updated_at: '2021-10-12T09:52:47.391Z'- display_total: "$19.99"++ created_at: '2021-10-12T12:14:32.523Z'++ updated_at: '2021-10-12T12:14:32.523Z'display_price: "$19.99"+ display_total: "$19.99"price: '19.99'total: '19.99'relationships:variant:data:- id: '238'- id: '98'++ id: '243'type: variantmeta:count: 4@@@ -7693,16 -7344,16 +7988,16 @@@type: wished_itemattributes:quantity: 1- created_at: '2021-10-12T00:43:04.795Z'- updated_at: '2021-10-12T00:43:04.795Z'- created_at: '2021-10-12T09:52:48.227Z'- updated_at: '2021-10-12T09:52:48.227Z'- display_total: "$19.99"++ created_at: '2021-10-12T12:14:32.896Z'++ updated_at: '2021-10-12T12:14:32.896Z'display_price: "$19.99"+ display_total: "$19.99"price: '19.99'total: '19.99'relationships:variant:data:- id: '250'- id: '110'++ id: '255'type: variant'422':description: invalid request@@@ -7760,16 -7411,16 +8055,16 @@@type: wished_itemattributes:quantity: 1- created_at: '2021-10-12T00:43:05.013Z'- updated_at: '2021-10-12T00:43:05.013Z'- created_at: '2021-10-12T09:52:48.565Z'- updated_at: '2021-10-12T09:52:48.565Z'- display_total: "$19.99"++ created_at: '2021-10-12T12:14:33.112Z'++ updated_at: '2021-10-12T12:14:33.112Z'display_price: "$19.99"+ display_total: "$19.99"price: '19.99'total: '19.99'relationships:variant:data:- id: '256'- id: '116'++ id: '261'type: variant'404':description: Record not found@@@ -7821,16 -7472,16 +8116,16 @@@type: wished_itemattributes:quantity: 3- created_at: '2021-10-12T00:43:05.365Z'- updated_at: '2021-10-12T00:43:05.373Z'- created_at: '2021-10-12T09:52:49.140Z'- updated_at: '2021-10-12T09:52:49.153Z'- display_total: "$59.97"++ created_at: '2021-10-12T12:14:33.463Z'++ updated_at: '2021-10-12T12:14:33.472Z'display_price: "$19.99"+ display_total: "$59.97"price: '19.99'total: '59.97'relationships:variant:data:- id: '266'- id: '126'++ id: '271'type: variant'422':description: invalid request@@@ -7945,9 -7596,9 +8240,9 @@@name: Black Fridayis_private: trueis_default: false- created_at: '2021-10-12T00:43:06.082Z'- updated_at: '2021-10-12T00:43:06.082Z'- token: yqryAdQzQWQc1EEpZpYXa2xB- created_at: '2021-10-12T09:52:50.434Z'- updated_at: '2021-10-12T09:52:50.434Z'- token: 2J9qzjrtYDGn15QfZoEvZ4QB++ created_at: '2021-10-12T12:14:34.193Z'++ updated_at: '2021-10-12T12:14:34.193Z'++ token: ZtZ6ofWTbQizRMfrhfUjxy5Svariant_included: falserelationships:wished_items:@@@ -7962,9 -7613,9 +8257,9 @@@name: Birthdayis_private: trueis_default: false- created_at: '2021-10-12T00:43:06.083Z'- updated_at: '2021-10-12T00:43:06.083Z'- token: tZy3fU5pB77bEvyBUmFHP5y4- created_at: '2021-10-12T09:52:50.436Z'- updated_at: '2021-10-12T09:52:50.436Z'- token: SvjQEY9k8jmonkDBEznpvoJf++ created_at: '2021-10-12T12:14:34.194Z'++ updated_at: '2021-10-12T12:14:34.194Z'++ token: Jd3vk8B9huhtxbgaxE1YfZ3Svariant_included: falserelationships:wished_items:@@@ -8022,9 -7673,9 +8317,9 @@@name: Wishlist_26is_private: trueis_default: false- created_at: '2021-10-12T00:43:06.557Z'- updated_at: '2021-10-12T00:43:06.557Z'- token: 8EMktcNpH31a2PMf6DwMpokU- created_at: '2021-10-12T09:52:51.118Z'- updated_at: '2021-10-12T09:52:51.118Z'- token: CwcfrYAEoUEWCL8oA18c5hza++ created_at: '2021-10-12T12:14:34.662Z'++ updated_at: '2021-10-12T12:14:34.662Z'++ token: 5yBrFZ9SUqVTaMumh6z1qb3Qvariant_included: falserelationships:wished_items:@@@ -8084,9 -7735,9 +8379,9 @@@name: My Wishlistis_private: trueis_default: false- created_at: '2021-10-12T00:43:06.595Z'- updated_at: '2021-10-12T00:43:06.595Z'- token: Cu99VnwqBr3QSHasfTMgXZDd- created_at: '2021-10-12T09:52:51.171Z'- updated_at: '2021-10-12T09:52:51.171Z'- token: 6QgZiAqh84BHYzCqk5rvUJcz++ created_at: '2021-10-12T12:14:34.700Z'++ updated_at: '2021-10-12T12:14:34.700Z'++ token: iGmdoY2jHHiYg8WGgGu2EJGnvariant_included: falserelationships:wished_items:@@@ -8143,9 -7794,9 +8438,9 @@@name: My Super Wishlistis_private: trueis_default: false- created_at: '2021-10-12T00:43:06.656Z'- updated_at: '2021-10-12T00:43:06.664Z'- token: WiGuufKpHuRZracyYHqtjK2L- created_at: '2021-10-12T09:52:51.279Z'- updated_at: '2021-10-12T09:52:51.294Z'- token: VhEcmk8VkwyZpeGjBNN51Equ++ created_at: '2021-10-12T12:14:34.760Z'++ updated_at: '2021-10-12T12:14:34.768Z'++ token: nGZ7kz3KVuPAgjjEgsxyjnYvvariant_included: falserelationships:wished_items:@@@ -8446,11 -8068,13 +8714,13 @@@ componentscompleted_at:type: stringformat: date_time- example: 2021-10-12 00:42:39 UTC- example: 2021-10-12 09:52:15 UTC++ example: 2021-10-12 12:14:06 UTCbill_address_id:type: string+ example: '1'ship_address_id:type: string+ example: '1'payment_total:type: numberexample: 190.9@@@ -8498,7 -8136,7 +8782,7 @@@approved_at:type: stringformat: date_time- example: 2021-10-12 00:42:39 UTC- example: 2021-10-12 09:52:15 UTC++ example: 2021-10-12 12:14:06 UTCconfirmation_delivered:type: booleanexample: true@@@ -8773,26 -8378,6 +9024,23 @@@type: integerrequired:- new_position_idx- x-internal: true+ digital_params:+ type: object+ properties:+ digital[attachment]:+ type: string+ format: binary+ digital[variant_id]:+ type: string+ example: '123'+ required:+ - digital[attachment]+ - digital[variant_id]- x-internal: true+ digital_link_params:+ type: object+ properties:+ access_counter:+ type: integer- x-internal: trueamount_param:type: objectproperties:diff --cc api/spec/swagger_helper.rbindex b6e640867b,f85248cc03..63461f9af2--- a/api/spec/swagger_helper.rb+++ b/api/spec/swagger_helper.rb@@@ -46,11 -46,9 +46,11 @@@ RSpec.configure do |config{ name: 'Countries' },{ name: 'CMS Pages' },{ name: 'CMS Sections' },- { name: 'Digitals' },++ { name: 'Digital Assets' },+ { name: 'Digital Links' },{ name: 'Line Items' },- { name: 'Menu Items' },{ name: 'Menus' },+ { name: 'Menu Items' },{ name: 'Option Types' },{ name: 'Option Values' },{ name: 'Orders' },