Skip to content

armgit / spree

Public Imported from GitHub
0

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.

Improve Platform API Orders documentation (#11383)

Damian Legawieccdfff706b85f
diff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yaml
index 885c3aeff0..c5bdde8f34 100644
--- a/api/docs/v2/platform/index.yaml
+++ b/api/docs/v2/platform/index.yaml
@@ -63,8 +63,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-07T16:03:56.081Z'
- updated_at: '2021-10-07T16:03:56.081Z'
+ created_at: '2021-10-08T18:59:30.123Z'
+ updated_at: '2021-10-08T18:59:30.123Z'
deleted_at:
label:
relationships:
@@ -91,8 +91,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-07T16:03:56.089Z'
- updated_at: '2021-10-07T16:03:56.089Z'
+ created_at: '2021-10-08T18:59:30.132Z'
+ updated_at: '2021-10-08T18:59:30.132Z'
deleted_at:
label:
relationships:
@@ -162,8 +162,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-07T16:03:56.398Z'
- updated_at: '2021-10-07T16:03:56.398Z'
+ created_at: '2021-10-08T18:59:30.468Z'
+ updated_at: '2021-10-08T18:59:30.468Z'
deleted_at:
label:
relationships:
@@ -253,8 +253,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-07T16:03:56.480Z'
- updated_at: '2021-10-07T16:03:56.480Z'
+ created_at: '2021-10-08T18:59:30.540Z'
+ updated_at: '2021-10-08T18:59:30.540Z'
deleted_at:
label:
relationships:
@@ -327,8 +327,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-07T16:03:56.603Z'
- updated_at: '2021-10-07T16:03:56.616Z'
+ created_at: '2021-10-08T18:59:30.675Z'
+ updated_at: '2021-10-08T18:59:30.689Z'
deleted_at:
label:
relationships:
@@ -460,8 +460,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-10-07T16:03:57.048Z'
- updated_at: '2021-10-07T16:03:57.048Z'
+ created_at: '2021-10-08T18:59:31.004Z'
+ updated_at: '2021-10-08T18:59:31.004Z'
state: open
included: false
display_amount: "$100.00"
@@ -487,8 +487,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-10-07T16:03:57.093Z'
- updated_at: '2021-10-07T16:03:57.093Z'
+ created_at: '2021-10-08T18:59:31.035Z'
+ updated_at: '2021-10-08T18:59:31.035Z'
state: open
included: false
display_amount: "$100.00"
@@ -557,8 +557,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-10-07T16:03:57.632Z'
- updated_at: '2021-10-07T16:03:57.632Z'
+ created_at: '2021-10-08T18:59:31.410Z'
+ updated_at: '2021-10-08T18:59:31.410Z'
state: open
included: false
display_amount: "$100.00"
@@ -636,8 +636,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-10-07T16:03:57.979Z'
- updated_at: '2021-10-07T16:03:57.988Z'
+ created_at: '2021-10-08T18:59:31.566Z'
+ updated_at: '2021-10-08T18:59:31.574Z'
state: open
included: false
display_amount: "$1.00"
@@ -709,8 +709,8 @@ paths:
label: New label
mandatory:
eligible: true
- created_at: '2021-10-07T16:03:58.362Z'
- updated_at: '2021-10-07T16:03:58.405Z'
+ created_at: '2021-10-08T18:59:31.965Z'
+ updated_at: '2021-10-08T18:59:31.987Z'
state: open
included: false
display_amount: "$15.00"
@@ -838,8 +838,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-07T16:03:59.511Z'
- updated_at: '2021-10-07T16:03:59.511Z'
+ created_at: '2021-10-08T18:59:32.825Z'
+ updated_at: '2021-10-08T18:59:32.825Z'
relationships:
product:
data:
@@ -853,8 +853,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-07T16:03:59.747Z'
- updated_at: '2021-10-07T16:03:59.747Z'
+ created_at: '2021-10-08T18:59:33.002Z'
+ updated_at: '2021-10-08T18:59:33.002Z'
relationships:
product:
data:
@@ -911,8 +911,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-07T16:04:00.590Z'
- updated_at: '2021-10-07T16:04:00.590Z'
+ created_at: '2021-10-08T18:59:33.735Z'
+ updated_at: '2021-10-08T18:59:33.735Z'
relationships:
product:
data:
@@ -975,8 +975,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-07T16:04:00.931Z'
- updated_at: '2021-10-07T16:04:00.931Z'
+ created_at: '2021-10-08T18:59:33.997Z'
+ updated_at: '2021-10-08T18:59:33.997Z'
relationships:
product:
data:
@@ -1036,8 +1036,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-07T16:04:01.551Z'
- updated_at: '2021-10-07T16:04:01.551Z'
+ created_at: '2021-10-08T18:59:34.466Z'
+ updated_at: '2021-10-08T18:59:34.466Z'
relationships:
product:
data:
@@ -1147,8 +1147,8 @@ paths:
type: classification
attributes:
position: 2
- created_at: '2021-10-07T16:04:03.153Z'
- updated_at: '2021-10-07T16:04:03.200Z'
+ created_at: '2021-10-08T18:59:35.671Z'
+ updated_at: '2021-10-08T18:59:35.699Z'
relationships:
product:
data:
@@ -1233,34 +1233,34 @@ paths:
- id: '1'
type: cms_page
attributes:
- title: Modi facere harum placeat unde eligendi vel.
+ title: Dignissimos dolore qui ipsum voluptate.
meta_title:
content:
meta_description:
visible: true
- slug: modi-facere-harum-placeat-unde-eligendi-vel
+ slug: dignissimos-dolore-qui-ipsum-voluptate
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-07T16:04:03.858Z'
- updated_at: '2021-10-07T16:04:03.858Z'
+ created_at: '2021-10-08T18:59:36.180Z'
+ updated_at: '2021-10-08T18:59:36.180Z'
relationships:
cms_sections:
data: []
- id: '2'
type: cms_page
attributes:
- title: Consectetur praesentium ad sint corporis nisi.
+ title: Quam mollitia ea commodi magnam totam.
meta_title:
content:
meta_description:
visible: true
- slug: consectetur-praesentium-ad-sint-corporis-nisi
+ slug: quam-mollitia-ea-commodi-magnam-totam
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-07T16:04:03.863Z'
- updated_at: '2021-10-07T16:04:03.863Z'
+ created_at: '2021-10-08T18:59:36.186Z'
+ updated_at: '2021-10-08T18:59:36.186Z'
relationships:
cms_sections:
data: []
@@ -1310,17 +1310,17 @@ paths:
id: '5'
type: cms_page
attributes:
- title: Nesciunt hic ex modi est praesentium esse.
+ title: Dolore dolorum quo eius tenetur aliquam rerum culpa.
meta_title:
content:
meta_description:
visible: true
- slug: nesciunt-hic-ex-modi-est-praesentium-esse
+ slug: dolore-dolorum-quo-eius-tenetur-aliquam-rerum-culpa
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-07T16:04:04.009Z'
- updated_at: '2021-10-07T16:04:04.009Z'
+ created_at: '2021-10-08T18:59:36.319Z'
+ updated_at: '2021-10-08T18:59:36.319Z'
relationships:
cms_sections:
data: []
@@ -1376,17 +1376,17 @@ paths:
id: '6'
type: cms_page
attributes:
- title: Similique cumque architecto ipsum fuga.
+ title: Dicta reprehenderit similique repellendus tempore.
meta_title:
content:
meta_description:
visible: true
- slug: similique-cumque-architecto-ipsum-fuga
+ slug: dicta-reprehenderit-similique-repellendus-tempore
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-07T16:04:04.092Z'
- updated_at: '2021-10-07T16:04:04.092Z'
+ created_at: '2021-10-08T18:59:36.379Z'
+ updated_at: '2021-10-08T18:59:36.379Z'
relationships:
cms_sections:
data: []
@@ -1444,12 +1444,12 @@ paths:
content:
meta_description:
visible: true
- slug: sed-beatae-recusandae-illo-repellat
+ slug: dignissimos-vero-cumque-voluptates-reprehenderit-corrupti-nisi
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-07T16:04:04.228Z'
- updated_at: '2021-10-07T16:04:04.246Z'
+ created_at: '2021-10-08T18:59:36.466Z'
+ updated_at: '2021-10-08T18:59:36.480Z'
relationships:
cms_sections:
data: []
@@ -1563,7 +1563,7 @@ paths:
- id: '1'
type: cms_section
attributes:
- name: Repellat quidem maxime vero ullam.
+ name: Possimus esse amet labore illum hic odio.
content: {}
settings:
gutters: No Gutters
@@ -1572,8 +1572,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Taxon
- created_at: '2021-10-07T16:04:04.637Z'
- updated_at: '2021-10-07T16:04:04.637Z'
+ created_at: '2021-10-08T18:59:36.806Z'
+ updated_at: '2021-10-08T18:59:36.806Z'
relationships:
cms_page:
data:
@@ -1584,7 +1584,7 @@ paths:
- id: '2'
type: cms_section
attributes:
- name: Error libero consequuntur ipsam magnam.
+ name: Consequuntur aspernatur accusamus hic ad cum a porro.
content:
link_type_one: Spree::Taxon
link_type_two: Spree::Taxon
@@ -1596,8 +1596,8 @@ paths:
type: Spree::Cms::Sections::ImageGallery
position: 2
linked_resource_type:
- created_at: '2021-10-07T16:04:04.644Z'
- updated_at: '2021-10-07T16:04:04.644Z'
+ created_at: '2021-10-08T18:59:36.812Z'
+ updated_at: '2021-10-08T18:59:36.812Z'
relationships:
cms_page:
data:
@@ -1608,7 +1608,7 @@ paths:
- id: '3'
type: cms_section
attributes:
- name: Saepe nihil qui blanditiis sunt fugit nulla in reprehenderit.
+ name: Laudantium voluptate voluptatem totam omnis.
content: {}
settings:
gutters: No Gutters
@@ -1617,8 +1617,8 @@ paths:
type: Spree::Cms::Sections::FeaturedArticle
position: 3
linked_resource_type: Spree::Taxon
- created_at: '2021-10-07T16:04:04.662Z'
- updated_at: '2021-10-07T16:04:04.662Z'
+ created_at: '2021-10-08T18:59:36.828Z'
+ updated_at: '2021-10-08T18:59:36.828Z'
relationships:
cms_page:
data:
@@ -1629,7 +1629,8 @@ paths:
- id: '4'
type: cms_section
attributes:
- name: Debitis eius nemo voluptate adipisci.
+ name: Voluptates incidunt soluta est amet quaerat temporibus
+ aliquam eaque.
content: {}
settings:
gutters: No Gutters
@@ -1638,8 +1639,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-07T16:04:04.682Z'
- updated_at: '2021-10-07T16:04:04.682Z'
+ created_at: '2021-10-08T18:59:36.842Z'
+ updated_at: '2021-10-08T18:59:36.842Z'
relationships:
cms_page:
data:
@@ -1652,7 +1653,7 @@ paths:
- id: '5'
type: cms_section
attributes:
- name: Iusto amet ab laudantium dolores rem totam assumenda.
+ name: Neque modi quasi rem reiciendis ipsa.
content: {}
settings:
gutters: No Gutters
@@ -1661,8 +1662,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 5
linked_resource_type: Spree::Product
- created_at: '2021-10-07T16:04:04.710Z'
- updated_at: '2021-10-07T16:04:04.710Z'
+ created_at: '2021-10-08T18:59:36.854Z'
+ updated_at: '2021-10-08T18:59:36.854Z'
relationships:
cms_page:
data:
@@ -1718,7 +1719,7 @@ paths:
id: '14'
type: cms_section
attributes:
- name: Molestias veniam quae non dicta ducimus recusandae.
+ name: Eius quod asperiores voluptatibus cumque eum.
content: {}
settings:
gutters: No Gutters
@@ -1727,8 +1728,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-07T16:04:05.073Z'
- updated_at: '2021-10-07T16:04:05.073Z'
+ created_at: '2021-10-08T18:59:37.081Z'
+ updated_at: '2021-10-08T18:59:37.081Z'
relationships:
cms_page:
data:
@@ -1790,8 +1791,8 @@ paths:
id: '21'
type: cms_section
attributes:
- name: Repudiandae doloremque soluta architecto commodi quidem
- repellendus unde.
+ name: Dolorum nostrum sapiente minima illum perspiciatis alias
+ vero esse.
content: {}
settings:
gutters: No Gutters
@@ -1800,8 +1801,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-07T16:04:05.368Z'
- updated_at: '2021-10-07T16:04:05.368Z'
+ created_at: '2021-10-08T18:59:37.285Z'
+ updated_at: '2021-10-08T18:59:37.285Z'
relationships:
cms_page:
data:
@@ -1869,8 +1870,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-07T16:04:05.909Z'
- updated_at: '2021-10-07T16:04:05.944Z'
+ created_at: '2021-10-08T18:59:37.599Z'
+ updated_at: '2021-10-08T18:59:37.618Z'
relationships:
cms_page:
data:
@@ -1972,7 +1973,7 @@ paths:
id: '58'
type: cms_section
attributes:
- name: Occaecati suscipit nobis ea nemo.
+ name: Tenetur inventore eligendi corporis eum doloremque.
content: {}
settings:
gutters: No Gutters
@@ -1981,8 +1982,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 3
linked_resource_type: Spree::Product
- created_at: '2021-10-07T16:04:07.047Z'
- updated_at: '2021-10-07T16:04:07.064Z'
+ created_at: '2021-10-08T18:59:38.323Z'
+ updated_at: '2021-10-08T18:59:38.341Z'
relationships:
cms_page:
data:
@@ -2040,9 +2041,9 @@ paths:
name: United States of America
numcode: 840
states_required: true
- updated_at: '2021-10-07T16:04:07.387Z'
+ updated_at: '2021-10-08T18:59:38.569Z'
zipcode_required: true
- created_at: '2021-10-07T16:04:07.387Z'
+ created_at: '2021-10-08T18:59:38.569Z'
relationships:
states:
data: []
@@ -2055,9 +2056,9 @@ paths:
name: NAME_2
numcode: 840
states_required: false
- updated_at: '2021-10-07T16:04:07.396Z'
+ updated_at: '2021-10-08T18:59:38.577Z'
zipcode_required: true
- created_at: '2021-10-07T16:04:07.396Z'
+ created_at: '2021-10-08T18:59:38.577Z'
relationships:
states:
data: []
@@ -2070,9 +2071,9 @@ paths:
name: NAME_3
numcode: 840
states_required: false
- updated_at: '2021-10-07T16:04:07.399Z'
+ updated_at: '2021-10-08T18:59:38.580Z'
zipcode_required: true
- created_at: '2021-10-07T16:04:07.399Z'
+ created_at: '2021-10-08T18:59:38.580Z'
relationships:
states:
data: []
@@ -2127,9 +2128,9 @@ paths:
name: NAME_6
numcode: 840
states_required: false
- updated_at: '2021-10-07T16:04:07.495Z'
+ updated_at: '2021-10-08T18:59:38.649Z'
zipcode_required: true
- created_at: '2021-10-07T16:04:07.495Z'
+ created_at: '2021-10-08T18:59:38.649Z'
relationships:
states:
data: []
@@ -2196,8 +2197,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-07T16:04:07.711Z'
- updated_at: '2021-10-07T16:04:07.733Z'
+ created_at: '2021-10-08T18:59:38.790Z'
+ updated_at: '2021-10-08T18:59:38.799Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2211,12 +2212,12 @@ paths:
single_display_amount: "$10.00"
display_discounted_amount: "$10.00"
display_total: "$10.00"
- display_subtotal: "$10.00"
display_final_amount: "$10.00"
- display_adjustment_total: "$0.00"
+ display_subtotal: "$10.00"
display_additional_tax_total: "$0.00"
display_included_tax_total: "$0.00"
display_promo_total: "$0.00"
+ display_adjustment_total: "$0.00"
display_pre_tax_amount: "$10.00"
display_amount: "$10.00"
relationships:
@@ -2241,8 +2242,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-07T16:04:07.796Z'
- updated_at: '2021-10-07T16:04:07.804Z'
+ created_at: '2021-10-08T18:59:38.840Z'
+ updated_at: '2021-10-08T18:59:38.848Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2256,12 +2257,12 @@ paths:
single_display_amount: "$10.00"
display_discounted_amount: "$10.00"
display_total: "$10.00"
- display_subtotal: "$10.00"
display_final_amount: "$10.00"
- display_adjustment_total: "$0.00"
+ display_subtotal: "$10.00"
display_additional_tax_total: "$0.00"
display_included_tax_total: "$0.00"
display_promo_total: "$0.00"
+ display_adjustment_total: "$0.00"
display_pre_tax_amount: "$10.00"
display_amount: "$10.00"
relationships:
@@ -2329,8 +2330,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-07T16:04:08.280Z'
- updated_at: '2021-10-07T16:04:08.341Z'
+ created_at: '2021-10-08T18:59:39.151Z'
+ updated_at: '2021-10-08T18:59:39.193Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2344,12 +2345,12 @@ paths:
single_display_amount: "$10.00"
display_discounted_amount: "$10.00"
display_total: "$10.00"
- display_subtotal: "$10.00"
display_final_amount: "$10.00"
- display_adjustment_total: "$0.00"
+ display_subtotal: "$10.00"
display_additional_tax_total: "$0.00"
display_included_tax_total: "$0.00"
display_promo_total: "$0.00"
+ display_adjustment_total: "$0.00"
display_pre_tax_amount: "$10.00"
display_amount: "$10.00"
relationships:
@@ -2426,8 +2427,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-07T16:04:08.634Z'
- updated_at: '2021-10-07T16:04:08.643Z'
+ created_at: '2021-10-08T18:59:39.390Z'
+ updated_at: '2021-10-08T18:59:39.398Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2441,12 +2442,12 @@ paths:
single_display_amount: "$10.00"
display_discounted_amount: "$10.00"
display_total: "$10.00"
- display_subtotal: "$10.00"
display_final_amount: "$10.00"
- display_adjustment_total: "$0.00"
+ display_subtotal: "$10.00"
display_additional_tax_total: "$0.00"
display_included_tax_total: "$0.00"
display_promo_total: "$0.00"
+ display_adjustment_total: "$0.00"
display_pre_tax_amount: "$10.00"
display_amount: "$10.00"
relationships:
@@ -2517,8 +2518,8 @@ paths:
attributes:
quantity: 4
price: '10.0'
- created_at: '2021-10-07T16:04:09.108Z'
- updated_at: '2021-10-07T16:04:09.199Z'
+ created_at: '2021-10-08T18:59:39.774Z'
+ updated_at: '2021-10-08T18:59:39.835Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2532,12 +2533,12 @@ paths:
single_display_amount: "$10.00"
display_discounted_amount: "$40.00"
display_total: "$40.00"
- display_subtotal: "$40.00"
display_final_amount: "$40.00"
- display_adjustment_total: "$0.00"
+ display_subtotal: "$40.00"
display_additional_tax_total: "$0.00"
display_included_tax_total: "$0.00"
display_promo_total: "$0.00"
+ display_adjustment_total: "$0.00"
display_pre_tax_amount: "$40.00"
display_amount: "$40.00"
relationships:
@@ -2564,10 +2565,10 @@ paths:
examples:
Example:
value:
- error: 'Quantity selected of "Product #52 - 7880" is not available.'
+ error: 'Quantity selected of "Product #52 - 7772" is not available.'
errors:
quantity:
- - 'selected of "Product #52 - 7880" is not available.'
+ - 'selected of "Product #52 - 7772" is not available.'
'404':
description: Record not found
content:
@@ -2677,8 +2678,8 @@ paths:
lft: 2
rgt: 3
depth: 1
- created_at: '2021-10-07T16:04:10.438Z'
- updated_at: '2021-10-07T16:04:10.447Z'
+ created_at: '2021-10-08T18:59:40.721Z'
+ updated_at: '2021-10-08T18:59:40.729Z'
link:
is_container: false
is_root: false
@@ -2714,8 +2715,8 @@ paths:
lft: 4
rgt: 5
depth: 1
- created_at: '2021-10-07T16:04:10.563Z'
- updated_at: '2021-10-07T16:04:10.583Z'
+ created_at: '2021-10-08T18:59:40.824Z'
+ updated_at: '2021-10-08T18:59:40.831Z'
link:
is_container: false
is_root: false
@@ -2751,8 +2752,8 @@ paths:
lft: 6
rgt: 7
depth: 1
- created_at: '2021-10-07T16:04:10.695Z'
- updated_at: '2021-10-07T16:04:10.702Z'
+ created_at: '2021-10-08T18:59:40.926Z'
+ updated_at: '2021-10-08T18:59:40.935Z'
link:
is_container: false
is_root: false
@@ -2788,8 +2789,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-07T16:04:10.851Z'
- updated_at: '2021-10-07T16:04:10.858Z'
+ created_at: '2021-10-08T18:59:41.029Z'
+ updated_at: '2021-10-08T18:59:41.038Z'
link:
is_container: false
is_root: false
@@ -2825,8 +2826,8 @@ paths:
lft: 10
rgt: 11
depth: 1
- created_at: '2021-10-07T16:04:10.969Z'
- updated_at: '2021-10-07T16:04:10.986Z'
+ created_at: '2021-10-08T18:59:41.132Z'
+ updated_at: '2021-10-08T18:59:41.139Z'
link:
is_container: false
is_root: false
@@ -2862,8 +2863,8 @@ paths:
lft: 12
rgt: 13
depth: 1
- created_at: '2021-10-07T16:04:11.099Z'
- updated_at: '2021-10-07T16:04:11.107Z'
+ created_at: '2021-10-08T18:59:41.233Z'
+ updated_at: '2021-10-08T18:59:41.241Z'
link:
is_container: false
is_root: false
@@ -2899,8 +2900,8 @@ paths:
lft: 14
rgt: 15
depth: 1
- created_at: '2021-10-07T16:04:11.218Z'
- updated_at: '2021-10-07T16:04:11.238Z'
+ created_at: '2021-10-08T18:59:41.340Z'
+ updated_at: '2021-10-08T18:59:41.347Z'
link:
is_container: false
is_root: false
@@ -2926,7 +2927,7 @@ paths:
- id: '1'
type: menu_item
attributes:
- name: Temporibus aut esse quos unde eius expedita ut molestias.
+ name: Assumenda iure voluptates soluta ullam.
subtitle:
destination:
new_window: false
@@ -2936,8 +2937,8 @@ paths:
lft: 1
rgt: 16
depth: 0
- created_at: '2021-10-07T16:04:10.318Z'
- updated_at: '2021-10-07T16:04:11.255Z'
+ created_at: '2021-10-08T18:59:40.626Z'
+ updated_at: '2021-10-08T18:59:41.363Z'
link:
is_container: true
is_root: true
@@ -3026,8 +3027,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-07T16:04:12.683Z'
- updated_at: '2021-10-07T16:04:12.690Z'
+ created_at: '2021-10-08T18:59:42.588Z'
+ updated_at: '2021-10-08T18:59:42.594Z'
link:
is_container: false
is_root: false
@@ -3113,8 +3114,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-07T16:04:13.652Z'
- updated_at: '2021-10-07T16:04:13.660Z'
+ created_at: '2021-10-08T18:59:43.431Z'
+ updated_at: '2021-10-08T18:59:43.438Z'
link:
is_container: false
is_root: false
@@ -3196,8 +3197,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-07T16:04:15.183Z'
- updated_at: '2021-10-07T16:04:15.240Z'
+ created_at: '2021-10-08T18:59:44.736Z'
+ updated_at: '2021-10-08T18:59:44.775Z'
link:
is_container: false
is_root: false
@@ -3322,8 +3323,8 @@ paths:
lft: 5
rgt: 6
depth: 2
- created_at: '2021-10-07T16:04:19.099Z'
- updated_at: '2021-10-07T16:04:19.162Z'
+ created_at: '2021-10-08T18:59:47.857Z'
+ updated_at: '2021-10-08T18:59:47.900Z'
link:
is_container: false
is_root: false
@@ -3415,15 +3416,15 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-07T16:04:20.295Z'
- updated_at: '2021-10-07T16:04:20.603Z'
+ created_at: '2021-10-08T18:59:48.805Z'
+ updated_at: '2021-10-08T18:59:49.078Z'
relationships:
menu_items:
data:
- - id: '90'
- type: menu_item
- id: '87'
type: menu_item
+ - id: '90'
+ type: menu_item
- id: '89'
type: menu_item
- id: '19'
@@ -3432,17 +3433,17 @@ paths:
name: Footer Menu
location: footer
locale: en
- created_at: '2021-10-07T16:04:20.311Z'
- updated_at: '2021-10-07T16:04:20.895Z'
+ created_at: '2021-10-08T18:59:48.822Z'
+ updated_at: '2021-10-08T18:59:49.300Z'
relationships:
menu_items:
data:
- id: '91'
type: menu_item
- - id: '92'
- type: menu_item
- id: '88'
type: menu_item
+ - id: '92'
+ type: menu_item
meta:
count: 2
total_count: 2
@@ -3492,8 +3493,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-07T16:04:21.579Z'
- updated_at: '2021-10-07T16:04:21.595Z'
+ created_at: '2021-10-08T18:59:49.861Z'
+ updated_at: '2021-10-08T18:59:49.871Z'
relationships:
menu_items:
data:
@@ -3557,8 +3558,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-07T16:04:21.690Z'
- updated_at: '2021-10-07T16:04:21.703Z'
+ created_at: '2021-10-08T18:59:49.927Z'
+ updated_at: '2021-10-08T18:59:49.936Z'
relationships:
menu_items:
data:
@@ -3616,8 +3617,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-07T16:04:21.856Z'
- updated_at: '2021-10-07T16:04:21.884Z'
+ created_at: '2021-10-08T18:59:50.046Z'
+ updated_at: '2021-10-08T18:59:50.055Z'
relationships:
menu_items:
data:
@@ -3741,8 +3742,8 @@ paths:
name: foo-size-1
presentation: Size
position: 1
- created_at: '2021-10-07T16:04:22.254Z'
- updated_at: '2021-10-07T16:04:22.254Z'
+ created_at: '2021-10-08T18:59:50.320Z'
+ updated_at: '2021-10-08T18:59:50.320Z'
filterable: true
relationships:
option_values:
@@ -3753,8 +3754,8 @@ paths:
name: foo-size-2
presentation: Size
position: 2
- created_at: '2021-10-07T16:04:22.258Z'
- updated_at: '2021-10-07T16:04:22.258Z'
+ created_at: '2021-10-08T18:59:50.323Z'
+ updated_at: '2021-10-08T18:59:50.323Z'
filterable: true
relationships:
option_values:
@@ -3808,8 +3809,8 @@ paths:
name: foo-size-5
presentation: Size
position: 1
- created_at: '2021-10-07T16:04:22.379Z'
- updated_at: '2021-10-07T16:04:22.379Z'
+ created_at: '2021-10-08T18:59:50.411Z'
+ updated_at: '2021-10-08T18:59:50.411Z'
filterable: true
relationships:
option_values:
@@ -3869,8 +3870,8 @@ paths:
name: foo-size-6
presentation: Size
position: 1
- created_at: '2021-10-07T16:04:22.445Z'
- updated_at: '2021-10-07T16:04:22.445Z'
+ created_at: '2021-10-08T18:59:50.460Z'
+ updated_at: '2021-10-08T18:59:50.460Z'
filterable: true
relationships:
option_values:
@@ -3927,8 +3928,8 @@ paths:
name: Size-X
presentation: Size
position: 1
- created_at: '2021-10-07T16:04:22.563Z'
- updated_at: '2021-10-07T16:04:22.590Z'
+ created_at: '2021-10-08T18:59:50.552Z'
+ updated_at: '2021-10-08T18:59:50.566Z'
filterable: true
relationships:
option_values:
@@ -4046,8 +4047,8 @@ paths:
position: 1
name: Size-1
presentation: S
- created_at: '2021-10-07T16:04:22.886Z'
- updated_at: '2021-10-07T16:04:22.886Z'
+ created_at: '2021-10-08T18:59:50.749Z'
+ updated_at: '2021-10-08T18:59:50.749Z'
relationships:
option_type:
data:
@@ -4059,8 +4060,8 @@ paths:
position: 1
name: Size-2
presentation: S
- created_at: '2021-10-07T16:04:22.896Z'
- updated_at: '2021-10-07T16:04:22.896Z'
+ created_at: '2021-10-08T18:59:50.758Z'
+ updated_at: '2021-10-08T18:59:50.758Z'
relationships:
option_type:
data:
@@ -4115,8 +4116,8 @@ paths:
position: 1
name: Size-5
presentation: S
- created_at: '2021-10-07T16:04:23.037Z'
- updated_at: '2021-10-07T16:04:23.037Z'
+ created_at: '2021-10-08T18:59:50.844Z'
+ updated_at: '2021-10-08T18:59:50.844Z'
relationships:
option_type:
data:
@@ -4175,8 +4176,8 @@ paths:
position: 1
name: Size-6
presentation: S
- created_at: '2021-10-07T16:04:23.104Z'
- updated_at: '2021-10-07T16:04:23.104Z'
+ created_at: '2021-10-08T18:59:50.896Z'
+ updated_at: '2021-10-08T18:59:50.896Z'
relationships:
option_type:
data:
@@ -4234,8 +4235,8 @@ paths:
position: 1
name: M
presentation: S
- created_at: '2021-10-07T16:04:23.244Z'
- updated_at: '2021-10-07T16:04:23.259Z'
+ created_at: '2021-10-08T18:59:50.993Z'
+ updated_at: '2021-10-08T18:59:51.007Z'
relationships:
option_type:
data:
@@ -4351,7 +4352,7 @@ paths:
- id: '26'
type: order
attributes:
- number: R721471573
+ number: R989375750
item_total: '0.0'
total: '0.0'
state: cart
@@ -4360,10 +4361,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:23.560Z'
- updated_at: '2021-10-07T16:04:23.560Z'
+ created_at: '2021-10-08T18:59:51.221Z'
+ updated_at: '2021-10-08T18:59:51.221Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -4435,7 +4436,7 @@ paths:
- id: '27'
type: order
attributes:
- number: R683079895
+ number: R551673125
item_total: '0.0'
total: '0.0'
state: cart
@@ -4444,10 +4445,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:23.586Z'
- updated_at: '2021-10-07T16:04:23.586Z'
+ created_at: '2021-10-08T18:59:51.234Z'
+ updated_at: '2021-10-08T18:59:51.234Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -4562,7 +4563,7 @@ paths:
id: '30'
type: order
attributes:
- number: R314330807
+ number: R500117770
item_total: '0.0'
total: '0.0'
state: cart
@@ -4573,8 +4574,8 @@ paths:
payment_state:
email:
special_instructions:
- created_at: '2021-10-07T16:04:24.100Z'
- updated_at: '2021-10-07T16:04:24.129Z'
+ created_at: '2021-10-08T18:59:51.662Z'
+ updated_at: '2021-10-08T18:59:51.679Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -4686,7 +4687,7 @@ paths:
id: '31'
type: order
attributes:
- number: R579553629
+ number: R341388106
item_total: '10.0'
total: '110.0'
state: delivery
@@ -4695,10 +4696,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:24.193Z'
- updated_at: '2021-10-07T16:04:24.440Z'
+ created_at: '2021-10-08T18:59:51.740Z'
+ updated_at: '2021-10-08T18:59:51.917Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -4822,7 +4823,7 @@ paths:
id: '33'
type: order
attributes:
- number: R370419971
+ number: R911310931
item_total: '10.0'
total: '110.0'
state: delivery
@@ -4833,8 +4834,8 @@ paths:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:24.840Z'
- updated_at: '2021-10-07T16:04:25.052Z'
+ created_at: '2021-10-08T18:59:52.191Z'
+ updated_at: '2021-10-08T18:59:52.329Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5008,7 +5009,7 @@ paths:
id: '38'
type: order
attributes:
- number: R185027939
+ number: R470549197
item_total: '10.0'
total: '110.0'
state: payment
@@ -5017,10 +5018,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:26.255Z'
- updated_at: '2021-10-07T16:04:26.538Z'
+ created_at: '2021-10-08T18:59:53.253Z'
+ updated_at: '2021-10-08T18:59:53.450Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5147,7 +5148,7 @@ paths:
id: '40'
type: order
attributes:
- number: R936915445
+ number: R220125002
item_total: '10.0'
total: '110.0'
state: payment
@@ -5156,10 +5157,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:27.048Z'
- updated_at: '2021-10-07T16:04:27.308Z'
+ created_at: '2021-10-08T18:59:53.899Z'
+ updated_at: '2021-10-08T18:59:54.091Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5286,19 +5287,19 @@ paths:
id: '42'
type: order
attributes:
- number: R979557698
+ number: R675514545
item_total: '10.0'
total: '110.0'
state: complete
adjustment_total: '0.0'
- completed_at: '2021-10-07T16:04:28.114Z'
+ completed_at: '2021-10-08T18:59:54.714Z'
payment_total: '0.0'
shipment_state: pending
payment_state: balance_due
special_instructions:
- created_at: '2021-10-07T16:04:27.668Z'
- updated_at: '2021-10-07T16:04:28.114Z'
+ created_at: '2021-10-08T18:59:54.341Z'
+ updated_at: '2021-10-08T18:59:54.714Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5436,7 +5437,7 @@ paths:
id: '45'
type: order
attributes:
- number: R619518985
+ number: R010575301
item_total: '0.0'
total: '0.0'
state: cart
@@ -5445,10 +5446,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:28.716Z'
- updated_at: '2021-10-07T16:04:28.985Z'
+ created_at: '2021-10-08T18:59:55.173Z'
+ updated_at: '2021-10-08T18:59:55.342Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5569,7 +5570,7 @@ paths:
id: '47'
type: order
attributes:
- number: R229400657
+ number: R019866746
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5578,10 +5579,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:29.341Z'
- updated_at: '2021-10-07T16:04:29.609Z'
+ created_at: '2021-10-08T18:59:55.607Z'
+ updated_at: '2021-10-08T18:59:55.806Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5722,7 +5723,7 @@ paths:
id: '50'
type: order
attributes:
- number: R603202827
+ number: R607004983
item_total: '10.0'
total: '10.0'
state: delivery
@@ -5731,10 +5732,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-07T16:04:30.292Z'
- updated_at: '2021-10-07T16:04:30.552Z'
+ created_at: '2021-10-08T18:59:56.296Z'
+ updated_at: '2021-10-08T18:59:56.489Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5888,14 +5889,14 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #72'
- created_at: '2021-10-07T16:04:31.201Z'
- updated_at: '2021-10-07T16:04:31.201Z'
+ created_at: '2021-10-08T18:59:56.913Z'
+ updated_at: '2021-10-08T18:59:56.913Z'
- id: '73'
type: shipping_category
attributes:
name: 'ShippingCategory #73'
- created_at: '2021-10-07T16:04:31.203Z'
- updated_at: '2021-10-07T16:04:31.203Z'
+ created_at: '2021-10-08T18:59:56.914Z'
+ updated_at: '2021-10-08T18:59:56.914Z'
meta:
count: 2
total_count: 2
@@ -5943,8 +5944,8 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #76'
- created_at: '2021-10-07T16:04:31.305Z'
- updated_at: '2021-10-07T16:04:31.305Z'
+ created_at: '2021-10-08T18:59:56.985Z'
+ updated_at: '2021-10-08T18:59:56.985Z'
'422':
description: invalid request
content:
@@ -5996,8 +5997,8 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #77'
- created_at: '2021-10-07T16:04:31.379Z'
- updated_at: '2021-10-07T16:04:31.379Z'
+ created_at: '2021-10-08T18:59:57.032Z'
+ updated_at: '2021-10-08T18:59:57.032Z'
'404':
description: Record not found
content:
@@ -6048,8 +6049,8 @@ paths:
type: shipping_category
attributes:
name: Default
- created_at: '2021-10-07T16:04:31.496Z'
- updated_at: '2021-10-07T16:04:31.508Z'
+ created_at: '2021-10-08T18:59:57.120Z'
+ updated_at: '2021-10-08T18:59:57.131Z'
'422':
description: invalid request
content:
@@ -6166,8 +6167,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-10-07T16:04:31.888Z'
- updated_at: '2021-10-07T16:04:31.895Z'
+ created_at: '2021-10-08T18:59:57.436Z'
+ updated_at: '2021-10-08T18:59:57.443Z'
meta_title:
meta_description:
meta_keywords:
@@ -6201,8 +6202,8 @@ paths:
lft: 4
rgt: 5
description:
- created_at: '2021-10-07T16:04:32.012Z'
- updated_at: '2021-10-07T16:04:32.018Z'
+ created_at: '2021-10-08T18:59:57.544Z'
+ updated_at: '2021-10-08T18:59:57.550Z'
meta_title:
meta_description:
meta_keywords:
@@ -6236,8 +6237,8 @@ paths:
lft: 1
rgt: 6
description:
- created_at: '2021-10-07T16:04:31.783Z'
- updated_at: '2021-10-07T16:04:32.045Z'
+ created_at: '2021-10-08T18:59:57.310Z'
+ updated_at: '2021-10-08T18:59:57.567Z'
meta_title:
meta_description:
meta_keywords:
@@ -6314,8 +6315,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-10-07T16:04:32.531Z'
- updated_at: '2021-10-07T16:04:32.540Z'
+ created_at: '2021-10-08T18:59:57.970Z'
+ updated_at: '2021-10-08T18:59:57.977Z'
meta_title:
meta_description:
meta_keywords:
@@ -6396,8 +6397,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-10-07T16:04:32.765Z'
- updated_at: '2021-10-07T16:04:32.783Z'
+ created_at: '2021-10-08T18:59:58.147Z'
+ updated_at: '2021-10-08T18:59:58.153Z'
meta_title:
meta_description:
meta_keywords:
@@ -6479,8 +6480,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-10-07T16:04:33.236Z'
- updated_at: '2021-10-07T16:04:33.296Z'
+ created_at: '2021-10-08T18:59:58.522Z'
+ updated_at: '2021-10-08T18:59:58.566Z'
meta_title:
meta_description:
meta_keywords:
@@ -6615,9 +6616,9 @@ paths:
- id: '54'
type: user
attributes:
- created_at: '2021-10-07T16:04:34.253Z'
- updated_at: '2021-10-07T16:04:34.253Z'
+ created_at: '2021-10-08T18:59:59.385Z'
+ updated_at: '2021-10-08T18:59:59.385Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -6629,9 +6630,9 @@ paths:
- id: '55'
type: user
attributes:
- created_at: '2021-10-07T16:04:34.263Z'
- updated_at: '2021-10-07T16:04:34.263Z'
+ created_at: '2021-10-08T18:59:59.395Z'
+ updated_at: '2021-10-08T18:59:59.395Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -6643,9 +6644,9 @@ paths:
- id: '56'
type: user
attributes:
- created_at: '2021-10-07T16:04:34.266Z'
- updated_at: '2021-10-07T16:04:34.266Z'
+ created_at: '2021-10-08T18:59:59.399Z'
+ updated_at: '2021-10-08T18:59:59.399Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -6700,9 +6701,9 @@ paths:
id: '61'
type: user
attributes:
- created_at: '2021-10-07T16:04:34.404Z'
- updated_at: '2021-10-07T16:04:34.404Z'
+ created_at: '2021-10-08T18:59:59.512Z'
+ updated_at: '2021-10-08T18:59:59.512Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -6761,9 +6762,9 @@ paths:
id: '64'
type: user
attributes:
- created_at: '2021-10-07T16:04:34.493Z'
- updated_at: '2021-10-07T16:04:34.493Z'
+ created_at: '2021-10-08T18:59:59.601Z'
+ updated_at: '2021-10-08T18:59:59.601Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -6822,8 +6823,8 @@ paths:
type: user
attributes:
- created_at: '2021-10-07T16:04:34.649Z'
- updated_at: '2021-10-07T16:04:34.665Z'
+ created_at: '2021-10-08T18:59:59.721Z'
+ updated_at: '2021-10-08T18:59:59.735Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -6937,8 +6938,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-07T16:04:35.389Z'
- updated_at: '2021-10-07T16:04:35.389Z'
+ created_at: '2021-10-08T19:00:00.185Z'
+ updated_at: '2021-10-08T19:00:00.185Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -6952,8 +6953,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-07T16:04:35.490Z'
- updated_at: '2021-10-07T16:04:35.490Z'
+ created_at: '2021-10-08T19:00:00.259Z'
+ updated_at: '2021-10-08T19:00:00.259Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -6967,8 +6968,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-07T16:04:35.593Z'
- updated_at: '2021-10-07T16:04:35.593Z'
+ created_at: '2021-10-08T19:00:00.333Z'
+ updated_at: '2021-10-08T19:00:00.333Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -6982,8 +6983,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-07T16:04:35.701Z'
- updated_at: '2021-10-07T16:04:35.701Z'
+ created_at: '2021-10-08T19:00:00.406Z'
+ updated_at: '2021-10-08T19:00:00.406Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -7040,8 +7041,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-07T16:04:36.542Z'
- updated_at: '2021-10-07T16:04:36.542Z'
+ created_at: '2021-10-08T19:00:00.975Z'
+ updated_at: '2021-10-08T19:00:00.975Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -7107,8 +7108,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-07T16:04:37.010Z'
- updated_at: '2021-10-07T16:04:37.010Z'
+ created_at: '2021-10-08T19:00:01.303Z'
+ updated_at: '2021-10-08T19:00:01.303Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -7168,8 +7169,8 @@ paths:
type: wished_item
attributes:
quantity: 3
- created_at: '2021-10-07T16:04:37.797Z'
- updated_at: '2021-10-07T16:04:37.812Z'
+ created_at: '2021-10-08T19:00:01.826Z'
+ updated_at: '2021-10-08T19:00:01.838Z'
display_total: "$59.97"
display_price: "$19.99"
price: '19.99'
@@ -7292,9 +7293,9 @@ paths:
name: Black Friday
is_private: true
is_default: false
- created_at: '2021-10-07T16:04:39.362Z'
- updated_at: '2021-10-07T16:04:39.362Z'
- token: HE7bp7T79nTpzeo3apT75dcu
+ created_at: '2021-10-08T19:00:02.908Z'
+ updated_at: '2021-10-08T19:00:02.908Z'
+ token: LZqZ7hFueHZsQVEpi2vMbjCM
variant_included: false
relationships:
wished_items:
@@ -7309,9 +7310,9 @@ paths:
name: Birthday
is_private: true
is_default: false
- created_at: '2021-10-07T16:04:39.366Z'
- updated_at: '2021-10-07T16:04:39.366Z'
- token: 9SB8KYsr6n4izFLk1AydvJ8M
+ created_at: '2021-10-08T19:00:02.911Z'
+ updated_at: '2021-10-08T19:00:02.911Z'
+ token: 3dXfsA46vqTTwcToJanfnaaJ
variant_included: false
relationships:
wished_items:
@@ -7369,9 +7370,9 @@ paths:
name: Wishlist_26
is_private: true
is_default: false
- created_at: '2021-10-07T16:04:40.584Z'
- updated_at: '2021-10-07T16:04:40.584Z'
- token: GMTDZzXU7kLJaMk7RicfynvC
+ created_at: '2021-10-08T19:00:03.630Z'
+ updated_at: '2021-10-08T19:00:03.630Z'
+ token: uqHQWsus4HJfWyzZNysjDaqt
variant_included: false
relationships:
wished_items:
@@ -7431,9 +7432,9 @@ paths:
name: My Wishlist
is_private: true
is_default: false
- created_at: '2021-10-07T16:04:40.654Z'
- updated_at: '2021-10-07T16:04:40.654Z'
- token: 3fw2Ecw7Uaq6RoNUNXjKTgc2
+ created_at: '2021-10-08T19:00:03.690Z'
+ updated_at: '2021-10-08T19:00:03.690Z'
+ token: yBakp1Fr4r9EPCiQTquuyyHk
variant_included: false
relationships:
wished_items:
@@ -7490,9 +7491,9 @@ paths:
name: My Super Wishlist
is_private: true
is_default: false
- created_at: '2021-10-07T16:04:40.788Z'
- updated_at: '2021-10-07T16:04:40.803Z'
- token: WavTaTpwkGD4cDuP9dfc7iPh
+ created_at: '2021-10-08T19:00:03.936Z'
+ updated_at: '2021-10-08T19:00:03.952Z'
+ token: peHotb9RGNbStZKNLEHX19gf
variant_included: false
relationships:
wished_items:
@@ -7596,30 +7597,52 @@ components:
properties:
country_id:
type: string
+ example: '224'
state_id:
type: string
+ example: '516'
state_name:
type: string
+ example: New York
address1:
type: string
+ example: 5th ave
+ address2:
+ type: string
+ example: 1st suite
city:
type: string
+ example: NY
zipcode:
type: string
+ example: '10001'
phone:
type: string
+ example: "+1 123 456 789"
alternative_phone:
type: string
firstname:
type: string
+ example: John
lastname:
type: string
+ example: Snow
label:
type: string
+ example: My home address
company:
type: string
+ example: Vendo Cloud Inc
user_id:
type: string
+ required:
+ - country_id
+ - address1
+ - city
+ - zipcode
+ - phone
+ - firstname
+ - lastname
adjustment_params:
type: object
properties:
@@ -7649,16 +7672,19 @@ components:
type: string
example: closed
default: open
+ enum:
+ - closed
+ - open
included:
type: boolean
example: true
default: false
created_at:
type: string
- example: 2021-10-07 16:03:54 UTC
+ example: 2021-10-08 18:59:28 UTC
updated_at:
type: string
- example: 2021-10-07 16:03:54 UTC
+ example: 2021-10-08 18:59:28 UTC
required:
- order_id
- label
@@ -7678,18 +7704,19 @@ components:
properties:
order_id:
type: string
+ example: '1'
variant_id:
type: string
+ example: '1'
quantity:
type: integer
+ example: 2
price:
type: number
+ example: 19.9
cost_price:
type: number
- currency:
- type: string
- tax_category_id:
- type: string
+ example: 10.9
adjustment_total:
type: number
additional_tax_total:
@@ -7737,82 +7764,125 @@ components:
type: string
item_total:
type: number
+ example: 170.9
total:
type: number
+ example: 190.9
state:
type: string
+ example: complete
+ enum:
+ - cart
+ - address
+ - delivery
+ - payment
+ - confirm
+ - complete
adjustment_total:
type: number
+ example: 20.0
user_id:
type: string
completed_at:
type: string
format: date_time
+ example: 2021-10-08 18:59:28 UTC
bill_address_id:
type: string
ship_address_id:
type: string
payment_total:
type: number
+ example: 190.9
shipment_state:
type: string
+ example: shipped
payment_state:
type: string
+ example: paid
email:
type: string
format: email
special_instructions:
type: string
- created_at:
- type: string
- format: date_time
- updated_at:
- type: string
- format: date_time
+ example: I need it ASAP!
currency:
type: string
+ example: USD
last_ip_address:
type: string
+ example: 127.0.0.1
created_by_id:
type: string
shipment_total:
type: number
+ example: 10.0
additional_tax_total:
type: number
+ example: 10.0
promo_total:
type: number
+ example: 0.0
channel:
type: string
+ example: online
included_tax_total:
type: number
+ example: 0.0
item_count:
type: integer
+ example: 2
approver_id:
type: string
approved_at:
type: string
format: date_time
+ example: 2021-10-08 18:59:28 UTC
confirmation_delivered:
type: boolean
+ example: true
+ default: false
considered_risky:
type: boolean
- token:
- type: string
+ example: true
+ default: false
canceled_at:
type: string
format: date_time
canceler_id:
type: string
- store_id:
- type: string
state_lock_version:
type: integer
+ example: 1
taxable_adjustment_total:
type: number
+ example: 170.9
non_taxable_adjustment_total:
type: number
+ example: 10.0
store_owner_notification_delivered:
type: boolean
+ example: true
+ default: false
+ bill_address_attributes:
+ "$ref": "#/components/schemas/address_params"
+ ship_address_attributes:
+ "$ref": "#/components/schemas/address_params"
+ line_items_attributes:
+ type: array
+ items:
+ type: object
+ properties:
+ variant_id:
+ type: string
+ example: '1'
+ quantity:
+ type: integer
+ example: 2
+ price:
+ type: number
+ example: 19.9
product_params:
type: object
properties:
@@ -7950,12 +8020,12 @@ components:
example: Another Category
created_at:
type: string
- example: 2021-10-07 16:03:54 UTC
- default: 2021-10-07 16:03:54 UTC
+ example: 2021-10-08 18:59:28 UTC
+ default: 2021-10-08 18:59:28 UTC
updated_at:
type: string
- example: 2021-10-07 16:03:54 UTC
- default: 2021-10-07 16:03:54 UTC
+ example: 2021-10-08 18:59:28 UTC
+ default: 2021-10-08 18:59:28 UTC
required:
- name
wishlist_params:
diff --git a/api/spec/swagger_helper.rb b/api/spec/swagger_helper.rb
index 176e9febf6..2bb773750a 100644
--- a/api/spec/swagger_helper.rb
+++ b/api/spec/swagger_helper.rb
@@ -69,20 +69,22 @@ RSpec.configure do |config|
address_params: {
type: :object,
properties: {
- country_id: { type: :string },
- state_id: { type: :string },
- state_name: { type: :string },
- address1: { type: :string },
- city: { type: :string },
- zipcode: { type: :string },
- phone: { type: :string },
+ country_id: { type: :string, example: '224' },
+ state_id: { type: :string, example: '516' },
+ state_name: { type: :string, example: 'New York' },
+ address1: { type: :string, example: '5th ave' },
+ address2: { type: :string, example: '1st suite' },
+ city: { type: :string, example: 'NY' },
+ zipcode: { type: :string, example: '10001' },
+ phone: { type: :string, example: '+1 123 456 789' },
alternative_phone: { type: :string },
- firstname: { type: :string },
- lastname: { type: :string },
- label: { type: :string },
- company: { type: :string },
+ firstname: { type: :string, example: 'John' },
+ lastname: { type: :string, example: 'Snow' },
+ label: { type: :string, example: 'My home address' },
+ company: { type: :string, example: 'Vendo Cloud Inc' },
user_id: { type: :string }
- }
+ },
+ required: %w[country_id address1 city zipcode phone firstname lastname]
},
adjustment_params: {
type: :object,
@@ -96,7 +98,7 @@ RSpec.configure do |config|
amount: { type: :number, example: 10.90 },
mandatory: { type: :boolean },
eligible: { type: :boolean },
- state: { type: :string, example: 'closed', default: 'open' },
+ state: { type: :string, example: 'closed', default: 'open', enum: ['closed', 'open'] },
included: { type: :boolean, example: true, default: false },
created_at: { type: :string, example: Time.current },
updated_at: { type: :string, example: Time.current }
@@ -114,13 +116,11 @@ RSpec.configure do |config|
line_item_params: {
type: :object,
properties: {
- order_id: { type: :string },
- variant_id: { type: :string },
- quantity: { type: :integer },
- price: { type: :number },
- cost_price: { type: :number },
- currency: { type: :string },
- tax_category_id: { type: :string },
+ order_id: { type: :string, example: '1' },
+ variant_id: { type: :string, example: '1' },
+ quantity: { type: :integer, example: 2 },
+ price: { type: :number, example: 19.90 },
+ cost_price: { type: :number, example: 10.90 },
adjustment_total: { type: :number },
additional_tax_total: { type: :number },
promo_total: { type: :number },
@@ -152,42 +152,51 @@ RSpec.configure do |config|
type: :object,
properties: {
number: { type: :string },
- item_total: { type: :number },
- total: { type: :number },
- state: { type: :string },
- adjustment_total: { type: :number },
+ item_total: { type: :number, example: 170.90 },
+ total: { type: :number, example: 190.90 },
+ state: { type: :string, example: 'complete', enum: %w[cart address delivery payment confirm complete] },
+ adjustment_total: { type: :number, example: 20.0 },
user_id: { type: :string },
- completed_at: { type: :string, format: :date_time },
+ completed_at: { type: :string, format: :date_time, example: Time.current },
bill_address_id: { type: :string },
ship_address_id: { type: :string },
- payment_total: { type: :number },
- shipment_state: { type: :string },
- payment_state: { type: :string },
- email: { type: :string, format: :email },
- special_instructions: { type: :string },
- created_at: { type: :string, format: :date_time },
- updated_at: { type: :string, format: :date_time },
- currency: { type: :string },
- last_ip_address: { type: :string },
+ payment_total: { type: :number, example: 190.90 },
+ shipment_state: { type: :string, example: 'shipped' },
+ payment_state: { type: :string, example: 'paid' },
+ email: { type: :string, format: :email, example: '[email protected]' },
+ special_instructions: { type: :string, example: 'I need it ASAP!' },
+ currency: { type: :string, example: 'USD' },
+ last_ip_address: { type: :string, example: '127.0.0.1' },
created_by_id: { type: :string },
- shipment_total: { type: :number },
- additional_tax_total: { type: :number },
- promo_total: { type: :number },
- channel: { type: :string },
- included_tax_total: { type: :number },
- item_count: { type: :integer },
+ shipment_total: { type: :number, example: 10.0 },
+ additional_tax_total: { type: :number, example: 10.0 },
+ promo_total: { type: :number, example: 0.0 },
+ channel: { type: :string, example: 'online' },
+ included_tax_total: { type: :number, example: 0.0 },
+ item_count: { type: :integer, example: 2 },
approver_id: { type: :string },
- approved_at: { type: :string, format: :date_time },
- confirmation_delivered: { type: :boolean },
- considered_risky: { type: :boolean },
- token: { type: :string },
+ approved_at: { type: :string, format: :date_time, example: Time.current },
+ confirmation_delivered: { type: :boolean, example: true, default: false },
+ considered_risky: { type: :boolean, example: true, default: false },
canceled_at: { type: :string, format: :date_time },
canceler_id: { type: :string },
- store_id: { type: :string },
- state_lock_version: { type: :integer },
- taxable_adjustment_total: { type: :number },
- non_taxable_adjustment_total: { type: :number },
- store_owner_notification_delivered: { type: :boolean }
+ state_lock_version: { type: :integer, example: 1 },
+ taxable_adjustment_total: { type: :number, example: 170.90 },
+ non_taxable_adjustment_total: { type: :number, example: 10.0 },
+ store_owner_notification_delivered: { type: :boolean, example: true, default: false },
+ bill_address_attributes: { '$ref': '#/components/schemas/address_params' },
+ ship_address_attributes: { '$ref': '#/components/schemas/address_params' },
+ line_items_attributes: {
+ type: :array,
+ items: {
+ type: :object,
+ properties: {
+ variant_id: { type: :string, example: '1' },
+ quantity: { type: :integer, example: 2 },
+ price: { type: :number, example: 19.90 }
+ }
+ }
+ }
}
},
product_params: {