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.

Wrap request bodies in object

Matthew Kennedy4e84d984da8c
diff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yaml
index ad75e499ad..8455c7b9ff 100644
--- a/api/docs/v2/platform/index.yaml
+++ b/api/docs/v2/platform/index.yaml
@@ -6,6 +6,7 @@ info:
name: Spark Solutions
url: https://sparksolutions.co
+ description: Spree Platform API v2
version: v2
paths:
"/api/v2/platform/addresses":
@@ -69,8 +70,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T13:58:40.488Z'
- updated_at: '2021-10-29T13:58:40.488Z'
+ created_at: '2021-10-29T16:23:12.782Z'
+ updated_at: '2021-10-29T16:23:12.782Z'
deleted_at:
label:
relationships:
@@ -97,8 +98,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T13:58:40.492Z'
- updated_at: '2021-10-29T13:58:40.492Z'
+ created_at: '2021-10-29T16:23:12.786Z'
+ updated_at: '2021-10-29T16:23:12.786Z'
deleted_at:
label:
relationships:
@@ -168,8 +169,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T13:58:40.698Z'
- updated_at: '2021-10-29T13:58:40.698Z'
+ created_at: '2021-10-29T16:23:13.002Z'
+ updated_at: '2021-10-29T16:23:13.002Z'
deleted_at:
label:
relationships:
@@ -259,8 +260,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T13:58:40.730Z'
- updated_at: '2021-10-29T13:58:40.730Z'
+ created_at: '2021-10-29T16:23:13.036Z'
+ updated_at: '2021-10-29T16:23:13.036Z'
deleted_at:
label:
relationships:
@@ -333,8 +334,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T13:58:40.778Z'
- updated_at: '2021-10-29T13:58:40.786Z'
+ created_at: '2021-10-29T16:23:13.085Z'
+ updated_at: '2021-10-29T16:23:13.093Z'
deleted_at:
label:
relationships:
@@ -466,8 +467,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-10-29T13:58:41.006Z'
- updated_at: '2021-10-29T13:58:41.006Z'
+ created_at: '2021-10-29T16:23:13.321Z'
+ updated_at: '2021-10-29T16:23:13.321Z'
state: open
included: false
display_amount: "$100.00"
@@ -493,8 +494,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-10-29T13:58:41.025Z'
- updated_at: '2021-10-29T13:58:41.025Z'
+ created_at: '2021-10-29T16:23:13.361Z'
+ updated_at: '2021-10-29T16:23:13.361Z'
state: open
included: false
display_amount: "$100.00"
@@ -563,8 +564,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-10-29T13:58:41.318Z'
- updated_at: '2021-10-29T13:58:41.318Z'
+ created_at: '2021-10-29T16:23:13.667Z'
+ updated_at: '2021-10-29T16:23:13.667Z'
state: open
included: false
display_amount: "$100.00"
@@ -642,8 +643,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-10-29T13:58:41.419Z'
- updated_at: '2021-10-29T13:58:41.423Z'
+ created_at: '2021-10-29T16:23:13.782Z'
+ updated_at: '2021-10-29T16:23:13.787Z'
state: open
included: false
display_amount: "$1.00"
@@ -715,8 +716,8 @@ paths:
label: New label
mandatory:
eligible: true
- created_at: '2021-10-29T13:58:41.612Z'
- updated_at: '2021-10-29T13:58:41.626Z'
+ created_at: '2021-10-29T16:23:14.007Z'
+ updated_at: '2021-10-29T16:23:14.017Z'
state: open
included: false
display_amount: "$15.00"
@@ -844,8 +845,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T13:58:42.164Z'
- updated_at: '2021-10-29T13:58:42.164Z'
+ created_at: '2021-10-29T16:23:14.517Z'
+ updated_at: '2021-10-29T16:23:14.517Z'
relationships:
product:
data:
@@ -859,8 +860,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T13:58:42.240Z'
- updated_at: '2021-10-29T13:58:42.240Z'
+ created_at: '2021-10-29T16:23:14.586Z'
+ updated_at: '2021-10-29T16:23:14.586Z'
relationships:
product:
data:
@@ -917,8 +918,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T13:58:42.740Z'
- updated_at: '2021-10-29T13:58:42.740Z'
+ created_at: '2021-10-29T16:23:15.081Z'
+ updated_at: '2021-10-29T16:23:15.081Z'
relationships:
product:
data:
@@ -981,8 +982,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T13:58:42.896Z'
- updated_at: '2021-10-29T13:58:42.896Z'
+ created_at: '2021-10-29T16:23:15.244Z'
+ updated_at: '2021-10-29T16:23:15.244Z'
relationships:
product:
data:
@@ -1042,8 +1043,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T13:58:43.192Z'
- updated_at: '2021-10-29T13:58:43.192Z'
+ created_at: '2021-10-29T16:23:15.583Z'
+ updated_at: '2021-10-29T16:23:15.583Z'
relationships:
product:
data:
@@ -1153,8 +1154,8 @@ paths:
type: classification
attributes:
position: 2
- created_at: '2021-10-29T13:58:43.933Z'
- updated_at: '2021-10-29T13:58:43.955Z'
+ created_at: '2021-10-29T16:23:16.232Z'
+ updated_at: '2021-10-29T16:23:16.250Z'
relationships:
product:
data:
@@ -1245,35 +1246,36 @@ paths:
- id: '1'
type: cms_page
attributes:
- title: Consequuntur temporibus veritatis nesciunt necessitatibus
- explicabo ab tenetur.
+ title: Veniam expedita pariatur alias quia repudiandae placeat
+ veritatis.
meta_title:
content:
meta_description:
visible: true
- slug: consequuntur-temporibus-veritatis-nesciunt-necessitatibus-explicabo-ab-tenetur
+ slug: veniam-expedita-pariatur-alias-quia-repudiandae-placeat-veritatis
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-29T13:58:44.313Z'
- updated_at: '2021-10-29T13:58:44.313Z'
+ created_at: '2021-10-29T16:23:16.648Z'
+ updated_at: '2021-10-29T16:23:16.648Z'
relationships:
cms_sections:
data: []
- id: '2'
type: cms_page
attributes:
- title: Nesciunt vitae quibusdam harum eveniet modi.
+ title: Mollitia assumenda enim voluptate dicta nisi accusantium
+ nesciunt.
meta_title:
content:
meta_description:
visible: true
- slug: nesciunt-vitae-quibusdam-harum-eveniet-modi
+ slug: mollitia-assumenda-enim-voluptate-dicta-nisi-accusantium-nesciunt
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-29T13:58:44.317Z'
- updated_at: '2021-10-29T13:58:44.317Z'
+ created_at: '2021-10-29T16:23:16.653Z'
+ updated_at: '2021-10-29T16:23:16.653Z'
relationships:
cms_sections:
data: []
@@ -1323,17 +1325,18 @@ paths:
id: '5'
type: cms_page
attributes:
- title: Hic laudantium pariatur necessitatibus ipsum in earum.
+ title: Praesentium sapiente nemo provident accusamus alias
+ reprehenderit quae.
meta_title:
content:
meta_description:
visible: true
- slug: hic-laudantium-pariatur-necessitatibus-ipsum-in-earum
+ slug: praesentium-sapiente-nemo-provident-accusamus-alias-reprehenderit-quae
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-29T13:58:44.396Z'
- updated_at: '2021-10-29T13:58:44.396Z'
+ created_at: '2021-10-29T16:23:16.727Z'
+ updated_at: '2021-10-29T16:23:16.727Z'
relationships:
cms_sections:
data: []
@@ -1389,17 +1392,18 @@ paths:
id: '6'
type: cms_page
attributes:
- title: Corrupti sit placeat ad autem.
+ title: Quibusdam ad ea consequatur rerum placeat quaerat natus
+ nam.
meta_title:
content:
meta_description:
visible: true
- slug: corrupti-sit-placeat-ad-autem
+ slug: quibusdam-ad-ea-consequatur-rerum-placeat-quaerat-natus-nam
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-29T13:58:44.430Z'
- updated_at: '2021-10-29T13:58:44.430Z'
+ created_at: '2021-10-29T16:23:16.761Z'
+ updated_at: '2021-10-29T16:23:16.761Z'
relationships:
cms_sections:
data: []
@@ -1457,12 +1461,12 @@ paths:
content:
meta_description:
visible: true
- slug: quo-nulla-eos-omnis-molestiae-pariatur-necessitatibus-amet-libero
+ slug: voluptatibus-ea-cum-modi-quia-rem-eveniet-voluptatum-excepturi
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-10-29T13:58:44.537Z'
- updated_at: '2021-10-29T13:58:44.567Z'
+ created_at: '2021-10-29T16:23:16.820Z'
+ updated_at: '2021-10-29T16:23:16.828Z'
relationships:
cms_sections:
data: []
@@ -1576,7 +1580,7 @@ paths:
- id: '1'
type: cms_section
attributes:
- name: Dicta repellendus sint voluptatem ut.
+ name: Unde deserunt fugit rem veniam qui.
content: {}
settings:
gutters: No Gutters
@@ -1585,8 +1589,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Taxon
- created_at: '2021-10-29T13:58:44.725Z'
- updated_at: '2021-10-29T13:58:44.725Z'
+ created_at: '2021-10-29T16:23:16.984Z'
+ updated_at: '2021-10-29T16:23:16.984Z'
relationships:
cms_page:
data:
@@ -1597,8 +1601,8 @@ paths:
- id: '2'
type: cms_section
attributes:
- name: Nesciunt repudiandae quos explicabo ad odio sunt nisi
- impedit.
+ name: Nemo labore animi voluptas veritatis reiciendis ullam
+ fugit soluta.
content:
link_type_one: Spree::Taxon
link_type_two: Spree::Taxon
@@ -1610,8 +1614,8 @@ paths:
type: Spree::Cms::Sections::ImageGallery
position: 2
linked_resource_type:
- created_at: '2021-10-29T13:58:44.730Z'
- updated_at: '2021-10-29T13:58:44.730Z'
+ created_at: '2021-10-29T16:23:16.988Z'
+ updated_at: '2021-10-29T16:23:16.988Z'
relationships:
cms_page:
data:
@@ -1622,7 +1626,7 @@ paths:
- id: '3'
type: cms_section
attributes:
- name: Dolores earum consequatur temporibus expedita praesentium.
+ name: Minima explicabo aut accusantium dolorum.
content: {}
settings:
gutters: No Gutters
@@ -1631,8 +1635,8 @@ paths:
type: Spree::Cms::Sections::FeaturedArticle
position: 3
linked_resource_type: Spree::Taxon
- created_at: '2021-10-29T13:58:44.743Z'
- updated_at: '2021-10-29T13:58:44.743Z'
+ created_at: '2021-10-29T16:23:16.997Z'
+ updated_at: '2021-10-29T16:23:16.997Z'
relationships:
cms_page:
data:
@@ -1643,8 +1647,7 @@ paths:
- id: '4'
type: cms_section
attributes:
- name: Repudiandae quidem rem animi nulla placeat quia voluptatem
- error.
+ name: Qui aspernatur sunt ab dolore assumenda.
content: {}
settings:
gutters: No Gutters
@@ -1653,8 +1656,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-29T13:58:44.752Z'
- updated_at: '2021-10-29T13:58:44.752Z'
+ created_at: '2021-10-29T16:23:17.004Z'
+ updated_at: '2021-10-29T16:23:17.004Z'
relationships:
cms_page:
data:
@@ -1667,7 +1670,7 @@ paths:
- id: '5'
type: cms_section
attributes:
- name: Officiis praesentium facilis ipsum quisquam.
+ name: Debitis molestias minima iusto a.
content: {}
settings:
gutters: No Gutters
@@ -1676,8 +1679,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 5
linked_resource_type: Spree::Product
- created_at: '2021-10-29T13:58:44.759Z'
- updated_at: '2021-10-29T13:58:44.759Z'
+ created_at: '2021-10-29T16:23:17.011Z'
+ updated_at: '2021-10-29T16:23:17.011Z'
relationships:
cms_page:
data:
@@ -1733,7 +1736,7 @@ paths:
id: '14'
type: cms_section
attributes:
- name: Vero ab voluptates deserunt ipsum quisquam accusamus.
+ name: Voluptatibus adipisci animi assumenda corporis.
content: {}
settings:
gutters: No Gutters
@@ -1742,8 +1745,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-29T13:58:44.917Z'
- updated_at: '2021-10-29T13:58:44.917Z'
+ created_at: '2021-10-29T16:23:17.175Z'
+ updated_at: '2021-10-29T16:23:17.175Z'
relationships:
cms_page:
data:
@@ -1805,7 +1808,7 @@ paths:
id: '21'
type: cms_section
attributes:
- name: Officiis numquam suscipit nam illo labore sunt.
+ name: Reiciendis sunt soluta a dicta.
content: {}
settings:
gutters: No Gutters
@@ -1814,8 +1817,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-29T13:58:45.058Z'
- updated_at: '2021-10-29T13:58:45.058Z'
+ created_at: '2021-10-29T16:23:17.308Z'
+ updated_at: '2021-10-29T16:23:17.308Z'
relationships:
cms_page:
data:
@@ -1883,8 +1886,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-29T13:58:45.272Z'
- updated_at: '2021-10-29T13:58:45.284Z'
+ created_at: '2021-10-29T16:23:17.578Z'
+ updated_at: '2021-10-29T16:23:17.590Z'
relationships:
cms_page:
data:
@@ -1986,8 +1989,7 @@ paths:
id: '58'
type: cms_section
attributes:
- name: Nostrum repudiandae harum magnam quam rerum cupiditate
- quasi.
+ name: Sint sunt quo iure eius facilis.
content: {}
settings:
gutters: No Gutters
@@ -1996,8 +1998,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 3
linked_resource_type: Spree::Product
- created_at: '2021-10-29T13:58:45.840Z'
- updated_at: '2021-10-29T13:58:45.851Z'
+ created_at: '2021-10-29T16:23:18.085Z'
+ updated_at: '2021-10-29T16:23:18.096Z'
relationships:
cms_page:
data:
@@ -2055,9 +2057,9 @@ paths:
name: United States of America
numcode: 840
states_required: true
- updated_at: '2021-10-29T13:58:46.009Z'
+ updated_at: '2021-10-29T16:23:18.245Z'
zipcode_required: true
- created_at: '2021-10-29T13:58:46.009Z'
+ created_at: '2021-10-29T16:23:18.245Z'
relationships:
states:
data: []
@@ -2070,9 +2072,9 @@ paths:
name: NAME_2
numcode: 840
states_required: false
- updated_at: '2021-10-29T13:58:46.015Z'
+ updated_at: '2021-10-29T16:23:18.251Z'
zipcode_required: true
- created_at: '2021-10-29T13:58:46.015Z'
+ created_at: '2021-10-29T16:23:18.251Z'
relationships:
states:
data: []
@@ -2085,9 +2087,9 @@ paths:
name: NAME_3
numcode: 840
states_required: false
- updated_at: '2021-10-29T13:58:46.018Z'
+ updated_at: '2021-10-29T16:23:18.253Z'
zipcode_required: true
- created_at: '2021-10-29T13:58:46.018Z'
+ created_at: '2021-10-29T16:23:18.253Z'
relationships:
states:
data: []
@@ -2142,9 +2144,9 @@ paths:
name: NAME_6
numcode: 840
states_required: false
- updated_at: '2021-10-29T13:58:46.061Z'
+ updated_at: '2021-10-29T16:23:18.297Z'
zipcode_required: true
- created_at: '2021-10-29T13:58:46.061Z'
+ created_at: '2021-10-29T16:23:18.297Z'
relationships:
states:
data: []
@@ -2196,7 +2198,7 @@ paths:
- id: '1'
type: digital_link
attributes:
- token: W4Bitif33AhvbM3pjdMnbuiv
+ token: PEWTTNV2EFPSRMBfj1XhqVE4
access_counter: 0
relationships:
digital:
@@ -2210,7 +2212,7 @@ paths:
- id: '2'
type: digital_link
attributes:
- token: zmT4TUAv51uHhRv5PSVxdJbg
+ token: y1h64XkrA8YYv4rwc1poo3wG
access_counter: 0
relationships:
digital:
@@ -2260,7 +2262,7 @@ paths:
id: '5'
type: digital_link
attributes:
- token: aLAW2Qb2kcTNGFwtiTSGpMXq
+ token: EtKe4Ymqk9uMpFj9656dayyW
access_counter: 0
relationships:
digital:
@@ -2319,7 +2321,7 @@ paths:
id: '6'
type: digital_link
attributes:
- token: BfVVk9hmjKJ7RQ1Fx5PPFbEw
+ token: q9Ad7Ls1DnrohDeK8DupB5D5
access_counter: 0
relationships:
digital:
@@ -2372,7 +2374,7 @@ paths:
id: '8'
type: digital_link
attributes:
- token: R1YzLP6z1MRNnvxqoUjyGnVT
+ token: d9gpcVBvLuwuAhyoMRJphMEJ
access_counter: 0
relationships:
digital:
@@ -2475,7 +2477,7 @@ paths:
id: '13'
type: digital_link
attributes:
- token: 1A6jtsgu8PRnEYiwuvHh6FZg
+ token: 7hC2vWpkPHanSY4oXST4YVEJ
access_counter: 0
relationships:
digital:
@@ -2860,8 +2862,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-29T13:58:52.983Z'
- updated_at: '2021-10-29T13:58:52.992Z'
+ created_at: '2021-10-29T16:23:25.272Z'
+ updated_at: '2021-10-29T16:23:25.288Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2873,8 +2875,8 @@ paths:
non_taxable_adjustment_total: '0.0'
display_price: "$10.00"
single_display_amount: "$10.00"
- display_total: "$10.00"
display_discounted_amount: "$10.00"
+ display_total: "$10.00"
display_amount: "$10.00"
display_subtotal: "$10.00"
display_final_amount: "$10.00"
@@ -2907,8 +2909,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-29T13:58:53.026Z'
- updated_at: '2021-10-29T13:58:53.033Z'
+ created_at: '2021-10-29T16:23:25.320Z'
+ updated_at: '2021-10-29T16:23:25.326Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2920,8 +2922,8 @@ paths:
non_taxable_adjustment_total: '0.0'
display_price: "$10.00"
single_display_amount: "$10.00"
- display_total: "$10.00"
display_discounted_amount: "$10.00"
+ display_total: "$10.00"
display_amount: "$10.00"
display_subtotal: "$10.00"
display_final_amount: "$10.00"
@@ -2997,8 +2999,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-29T13:58:53.243Z'
- updated_at: '2021-10-29T13:58:53.286Z'
+ created_at: '2021-10-29T16:23:25.532Z'
+ updated_at: '2021-10-29T16:23:25.565Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3010,8 +3012,8 @@ paths:
non_taxable_adjustment_total: '0.0'
display_price: "$10.00"
single_display_amount: "$10.00"
- display_total: "$10.00"
display_discounted_amount: "$10.00"
+ display_total: "$10.00"
display_amount: "$10.00"
display_subtotal: "$10.00"
display_final_amount: "$10.00"
@@ -3096,8 +3098,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-29T13:58:53.429Z'
- updated_at: '2021-10-29T13:58:53.435Z'
+ created_at: '2021-10-29T16:23:25.710Z'
+ updated_at: '2021-10-29T16:23:25.718Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3109,8 +3111,8 @@ paths:
non_taxable_adjustment_total: '0.0'
display_price: "$10.00"
single_display_amount: "$10.00"
- display_total: "$10.00"
display_discounted_amount: "$10.00"
+ display_total: "$10.00"
display_amount: "$10.00"
display_subtotal: "$10.00"
display_final_amount: "$10.00"
@@ -3189,8 +3191,8 @@ paths:
attributes:
quantity: 4
price: '10.0'
- created_at: '2021-10-29T13:58:53.723Z'
- updated_at: '2021-10-29T13:58:53.790Z'
+ created_at: '2021-10-29T16:23:25.952Z'
+ updated_at: '2021-10-29T16:23:25.991Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3202,8 +3204,8 @@ paths:
non_taxable_adjustment_total: '0.0'
display_price: "$10.00"
single_display_amount: "$10.00"
- display_total: "$40.00"
display_discounted_amount: "$40.00"
+ display_total: "$40.00"
display_amount: "$40.00"
display_subtotal: "$40.00"
display_final_amount: "$40.00"
@@ -3238,10 +3240,10 @@ paths:
examples:
Example:
value:
- error: 'Quantity selected of "Product #133 - 3271" is not available.'
+ error: 'Quantity selected of "Product #133 - 6039" is not available.'
errors:
quantity:
- - 'selected of "Product #133 - 3271" is not available.'
+ - 'selected of "Product #133 - 6039" is not available.'
'404':
description: Record not found
content:
@@ -3351,8 +3353,8 @@ paths:
lft: 2
rgt: 3
depth: 1
- created_at: '2021-10-29T13:58:54.405Z'
- updated_at: '2021-10-29T13:58:54.410Z'
+ created_at: '2021-10-29T16:23:26.672Z'
+ updated_at: '2021-10-29T16:23:26.677Z'
link:
is_container: false
is_root: false
@@ -3388,8 +3390,8 @@ paths:
lft: 4
rgt: 5
depth: 1
- created_at: '2021-10-29T13:58:54.469Z'
- updated_at: '2021-10-29T13:58:54.474Z'
+ created_at: '2021-10-29T16:23:26.724Z'
+ updated_at: '2021-10-29T16:23:26.729Z'
link:
is_container: false
is_root: false
@@ -3425,8 +3427,8 @@ paths:
lft: 6
rgt: 7
depth: 1
- created_at: '2021-10-29T13:58:54.520Z'
- updated_at: '2021-10-29T13:58:54.525Z'
+ created_at: '2021-10-29T16:23:26.775Z'
+ updated_at: '2021-10-29T16:23:26.779Z'
link:
is_container: false
is_root: false
@@ -3462,8 +3464,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-29T13:58:54.571Z'
- updated_at: '2021-10-29T13:58:54.576Z'
+ created_at: '2021-10-29T16:23:26.825Z'
+ updated_at: '2021-10-29T16:23:26.829Z'
link:
is_container: false
is_root: false
@@ -3499,8 +3501,8 @@ paths:
lft: 10
rgt: 11
depth: 1
- created_at: '2021-10-29T13:58:54.622Z'
- updated_at: '2021-10-29T13:58:54.627Z'
+ created_at: '2021-10-29T16:23:26.877Z'
+ updated_at: '2021-10-29T16:23:26.881Z'
link:
is_container: false
is_root: false
@@ -3536,8 +3538,8 @@ paths:
lft: 12
rgt: 13
depth: 1
- created_at: '2021-10-29T13:58:54.672Z'
- updated_at: '2021-10-29T13:58:54.677Z'
+ created_at: '2021-10-29T16:23:26.929Z'
+ updated_at: '2021-10-29T16:23:26.934Z'
link:
is_container: false
is_root: false
@@ -3573,8 +3575,8 @@ paths:
lft: 14
rgt: 15
depth: 1
- created_at: '2021-10-29T13:58:54.723Z'
- updated_at: '2021-10-29T13:58:54.728Z'
+ created_at: '2021-10-29T16:23:26.986Z'
+ updated_at: '2021-10-29T16:23:26.999Z'
link:
is_container: false
is_root: false
@@ -3600,8 +3602,7 @@ paths:
- id: '1'
type: menu_item
attributes:
- name: Beatae repellat eaque neque consequuntur consectetur
- dolor corrupti nesciunt.
+ name: Vero esse ipsam itaque inventore.
subtitle:
destination:
new_window: false
@@ -3611,8 +3612,8 @@ paths:
lft: 1
rgt: 16
depth: 0
- created_at: '2021-10-29T13:58:54.341Z'
- updated_at: '2021-10-29T13:58:54.737Z'
+ created_at: '2021-10-29T16:23:26.613Z'
+ updated_at: '2021-10-29T16:23:27.010Z'
link:
is_container: true
is_root: true
@@ -3701,8 +3702,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-29T13:58:55.325Z'
- updated_at: '2021-10-29T13:58:55.328Z'
+ created_at: '2021-10-29T16:23:27.621Z'
+ updated_at: '2021-10-29T16:23:27.624Z'
link:
is_container: false
is_root: false
@@ -3788,8 +3789,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-29T13:58:55.743Z'
- updated_at: '2021-10-29T13:58:55.747Z'
+ created_at: '2021-10-29T16:23:28.026Z'
+ updated_at: '2021-10-29T16:23:28.030Z'
link:
is_container: false
is_root: false
@@ -3871,8 +3872,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-29T13:58:56.396Z'
- updated_at: '2021-10-29T13:58:56.419Z'
+ created_at: '2021-10-29T16:23:28.684Z'
+ updated_at: '2021-10-29T16:23:28.707Z'
link:
is_container: false
is_root: false
@@ -3997,8 +3998,8 @@ paths:
lft: 5
rgt: 6
depth: 2
- created_at: '2021-10-29T13:58:57.932Z'
- updated_at: '2021-10-29T13:58:57.957Z'
+ created_at: '2021-10-29T16:23:30.230Z'
+ updated_at: '2021-10-29T16:23:30.254Z'
link:
is_container: false
is_root: false
@@ -4090,25 +4091,25 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-29T13:58:58.402Z'
- updated_at: '2021-10-29T13:58:58.513Z'
+ created_at: '2021-10-29T16:23:30.697Z'
+ updated_at: '2021-10-29T16:23:30.816Z'
relationships:
menu_items:
data:
- - id: '89'
- type: menu_item
- id: '87'
type: menu_item
- id: '90'
type: menu_item
+ - id: '89'
+ type: menu_item
- id: '19'
type: menu
attributes:
name: Footer Menu
location: footer
locale: en
- created_at: '2021-10-29T13:58:58.412Z'
- updated_at: '2021-10-29T13:58:58.614Z'
+ created_at: '2021-10-29T16:23:30.705Z'
+ updated_at: '2021-10-29T16:23:30.916Z'
relationships:
menu_items:
data:
@@ -4167,8 +4168,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-29T13:58:58.896Z'
- updated_at: '2021-10-29T13:58:58.902Z'
+ created_at: '2021-10-29T16:23:31.199Z'
+ updated_at: '2021-10-29T16:23:31.205Z'
relationships:
menu_items:
data:
@@ -4232,8 +4233,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-29T13:58:58.937Z'
- updated_at: '2021-10-29T13:58:58.944Z'
+ created_at: '2021-10-29T16:23:31.242Z'
+ updated_at: '2021-10-29T16:23:31.249Z'
relationships:
menu_items:
data:
@@ -4291,8 +4292,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-29T13:58:59.015Z'
- updated_at: '2021-10-29T13:58:59.022Z'
+ created_at: '2021-10-29T16:23:31.312Z'
+ updated_at: '2021-10-29T16:23:31.318Z'
relationships:
menu_items:
data:
@@ -4415,8 +4416,8 @@ paths:
name: foo-size-68
presentation: Size
position: 1
- created_at: '2021-10-29T13:58:59.186Z'
- updated_at: '2021-10-29T13:58:59.186Z'
+ created_at: '2021-10-29T16:23:31.491Z'
+ updated_at: '2021-10-29T16:23:31.491Z'
filterable: true
relationships:
option_values:
@@ -4427,8 +4428,8 @@ paths:
name: foo-size-69
presentation: Size
position: 2
- created_at: '2021-10-29T13:58:59.188Z'
- updated_at: '2021-10-29T13:58:59.188Z'
+ created_at: '2021-10-29T16:23:31.493Z'
+ updated_at: '2021-10-29T16:23:31.493Z'
filterable: true
relationships:
option_values:
@@ -4475,8 +4476,8 @@ paths:
name: foo-size-72
presentation: Size
position: 1
- created_at: '2021-10-29T13:58:59.234Z'
- updated_at: '2021-10-29T13:58:59.234Z'
+ created_at: '2021-10-29T16:23:31.541Z'
+ updated_at: '2021-10-29T16:23:31.541Z'
filterable: true
relationships:
option_values:
@@ -4529,8 +4530,8 @@ paths:
name: foo-size-73
presentation: Size
position: 1
- created_at: '2021-10-29T13:58:59.264Z'
- updated_at: '2021-10-29T13:58:59.264Z'
+ created_at: '2021-10-29T16:23:31.572Z'
+ updated_at: '2021-10-29T16:23:31.572Z'
filterable: true
relationships:
option_values:
@@ -4580,8 +4581,8 @@ paths:
name: Size-X
presentation: Size
position: 1
- created_at: '2021-10-29T13:58:59.309Z'
- updated_at: '2021-10-29T13:58:59.315Z'
+ created_at: '2021-10-29T16:23:31.620Z'
+ updated_at: '2021-10-29T16:23:31.627Z'
filterable: true
relationships:
option_values:
@@ -4705,8 +4706,8 @@ paths:
position: 1
name: Size-68
presentation: S
- created_at: '2021-10-29T13:58:59.436Z'
- updated_at: '2021-10-29T13:58:59.436Z'
+ created_at: '2021-10-29T16:23:31.747Z'
+ updated_at: '2021-10-29T16:23:31.747Z'
relationships:
option_type:
data:
@@ -4718,8 +4719,8 @@ paths:
position: 1
name: Size-69
presentation: S
- created_at: '2021-10-29T13:58:59.442Z'
- updated_at: '2021-10-29T13:58:59.442Z'
+ created_at: '2021-10-29T16:23:31.753Z'
+ updated_at: '2021-10-29T16:23:31.753Z'
relationships:
option_type:
data:
@@ -4774,8 +4775,8 @@ paths:
position: 1
name: Size-72
presentation: S
- created_at: '2021-10-29T13:58:59.499Z'
- updated_at: '2021-10-29T13:58:59.499Z'
+ created_at: '2021-10-29T16:23:31.811Z'
+ updated_at: '2021-10-29T16:23:31.811Z'
relationships:
option_type:
data:
@@ -4834,8 +4835,8 @@ paths:
position: 1
name: Size-73
presentation: S
- created_at: '2021-10-29T13:58:59.531Z'
- updated_at: '2021-10-29T13:58:59.531Z'
+ created_at: '2021-10-29T16:23:31.847Z'
+ updated_at: '2021-10-29T16:23:31.847Z'
relationships:
option_type:
data:
@@ -4893,8 +4894,8 @@ paths:
position: 1
name: M
presentation: S
- created_at: '2021-10-29T13:58:59.586Z'
- updated_at: '2021-10-29T13:58:59.595Z'
+ created_at: '2021-10-29T16:23:31.905Z'
+ updated_at: '2021-10-29T16:23:31.914Z'
relationships:
option_type:
data:
@@ -5010,7 +5011,7 @@ paths:
- id: '40'
type: order
attributes:
- number: R370669453
+ number: R891919897
item_total: '0.0'
total: '0.0'
state: cart
@@ -5019,10 +5020,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:58:59.738Z'
- updated_at: '2021-10-29T13:58:59.738Z'
+ created_at: '2021-10-29T16:23:32.061Z'
+ updated_at: '2021-10-29T16:23:32.061Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5051,11 +5052,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
@@ -5094,7 +5095,7 @@ paths:
- id: '41'
type: order
attributes:
- number: R746536128
+ number: R332839021
item_total: '0.0'
total: '0.0'
state: cart
@@ -5103,10 +5104,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:58:59.747Z'
- updated_at: '2021-10-29T13:58:59.747Z'
+ created_at: '2021-10-29T16:23:32.070Z'
+ updated_at: '2021-10-29T16:23:32.070Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5135,11 +5136,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
@@ -5221,7 +5222,7 @@ paths:
id: '44'
type: order
attributes:
- number: R783470887
+ number: R023732783
item_total: '0.0'
total: '0.0'
state: cart
@@ -5232,8 +5233,8 @@ paths:
payment_state:
email:
special_instructions:
- created_at: '2021-10-29T13:59:00.029Z'
- updated_at: '2021-10-29T13:59:00.049Z'
+ created_at: '2021-10-29T16:23:32.360Z'
+ updated_at: '2021-10-29T16:23:32.378Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5262,11 +5263,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
@@ -5345,7 +5346,7 @@ paths:
id: '45'
type: order
attributes:
- number: R337861694
+ number: R926925912
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5354,10 +5355,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:59:00.084Z'
- updated_at: '2021-10-29T13:59:00.217Z'
+ created_at: '2021-10-29T16:23:32.421Z'
+ updated_at: '2021-10-29T16:23:32.562Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5386,11 +5387,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.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:
@@ -5481,7 +5482,7 @@ paths:
id: '47'
type: order
attributes:
- number: R384719032
+ number: R907006341
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5492,8 +5493,8 @@ paths:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:59:00.395Z'
- updated_at: '2021-10-29T13:59:00.492Z'
+ created_at: '2021-10-29T16:23:32.750Z'
+ updated_at: '2021-10-29T16:23:32.846Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5522,11 +5523,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.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:
@@ -5667,7 +5668,7 @@ paths:
id: '52'
type: order
attributes:
- number: R582203293
+ number: R176647168
item_total: '10.0'
total: '110.0'
state: payment
@@ -5676,10 +5677,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:59:01.054Z'
- updated_at: '2021-10-29T13:59:01.192Z'
+ created_at: '2021-10-29T16:23:33.409Z'
+ updated_at: '2021-10-29T16:23:33.544Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5708,11 +5709,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.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:
@@ -5806,7 +5807,7 @@ paths:
id: '54'
type: order
attributes:
- number: R892942149
+ number: R231839436
item_total: '10.0'
total: '110.0'
state: payment
@@ -5815,10 +5816,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:59:01.380Z'
- updated_at: '2021-10-29T13:59:01.514Z'
+ created_at: '2021-10-29T16:23:33.734Z'
+ updated_at: '2021-10-29T16:23:33.871Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5847,11 +5848,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.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:
@@ -5945,19 +5946,19 @@ paths:
id: '56'
type: order
attributes:
- number: R012914687
+ number: R635421047
item_total: '10.0'
total: '110.0'
state: complete
adjustment_total: '0.0'
- completed_at: '2021-10-29T13:59:01.893Z'
+ completed_at: '2021-10-29T16:23:34.267Z'
payment_total: '0.0'
shipment_state: pending
payment_state: balance_due
special_instructions:
- created_at: '2021-10-29T13:59:01.677Z'
- updated_at: '2021-10-29T13:59:01.893Z'
+ created_at: '2021-10-29T16:23:34.031Z'
+ updated_at: '2021-10-29T16:23:34.267Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5986,11 +5987,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.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:
@@ -6095,7 +6096,7 @@ paths:
id: '59'
type: order
attributes:
- number: R236231088
+ number: R958019652
item_total: '0.0'
total: '0.0'
state: cart
@@ -6104,10 +6105,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:59:02.188Z'
- updated_at: '2021-10-29T13:59:02.300Z'
+ created_at: '2021-10-29T16:23:34.570Z'
+ updated_at: '2021-10-29T16:23:34.683Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -6136,11 +6137,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
@@ -6229,7 +6230,7 @@ paths:
id: '61'
type: order
attributes:
- number: R445772674
+ number: R693685425
item_total: '10.0'
total: '110.0'
state: delivery
@@ -6238,10 +6239,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:59:02.459Z'
- updated_at: '2021-10-29T13:59:02.541Z'
+ created_at: '2021-10-29T16:23:34.838Z'
+ updated_at: '2021-10-29T16:23:34.921Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6270,11 +6271,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.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:
@@ -6367,19 +6368,19 @@ paths:
id: '63'
type: order
attributes:
- number: R266748182
+ number: R427194240
item_total: '10.0'
total: '10.0'
state: canceled
adjustment_total: '0.0'
- completed_at: '2021-10-29T13:59:02.813Z'
+ completed_at: '2021-10-29T16:23:35.242Z'
payment_total: '0.0'
shipment_state: canceled
payment_state: void
special_instructions:
- created_at: '2021-10-29T13:59:02.712Z'
- updated_at: '2021-10-29T13:59:02.872Z'
+ created_at: '2021-10-29T16:23:35.128Z'
+ updated_at: '2021-10-29T16:23:35.301Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -6408,11 +6409,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.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:
@@ -6521,7 +6522,7 @@ paths:
id: '66'
type: order
attributes:
- number: R821496678
+ number: R657295390
item_total: '10.0'
total: '110.0'
state: delivery
@@ -6530,10 +6531,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:59:03.156Z'
- updated_at: '2021-10-29T13:59:03.304Z'
+ created_at: '2021-10-29T16:23:35.591Z'
+ updated_at: '2021-10-29T16:23:35.743Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6562,11 +6563,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$15.00"
- display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "-$15.00"
display_total_applied_store_credit: "-$15.00"
display_order_total_after_store_credit: "$95.00"
+ display_total_available_store_credit: "$15.00"
+ display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
@@ -6674,7 +6675,7 @@ paths:
id: '69'
type: order
attributes:
- number: R884670681
+ number: R047726312
item_total: '10.0'
total: '10.0'
state: delivery
@@ -6683,10 +6684,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-10-29T13:59:03.686Z'
- updated_at: '2021-10-29T13:59:03.825Z'
+ created_at: '2021-10-29T16:23:36.088Z'
+ updated_at: '2021-10-29T16:23:36.227Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6715,11 +6716,11 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "-$100.00"
display_included_tax_total: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.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:
@@ -6830,7 +6831,7 @@ paths:
- name: filter[amount_gteq]
in: query
description: ''
- example: 99.9
+ example: '99.90'
schema:
type: string
responses:
@@ -6850,9 +6851,9 @@ paths:
state: invalid
response_code: '12345'
avs_response:
- created_at: '2021-10-29T13:59:04.155Z'
- updated_at: '2021-10-29T13:59:04.174Z'
- number: PUC6IB3Q
+ created_at: '2021-10-29T16:23:36.561Z'
+ updated_at: '2021-10-29T16:23:36.581Z'
+ number: PPYSW32E
cvv_response_code:
cvv_response_message:
display_amount: "$45.75"
@@ -6887,9 +6888,9 @@ paths:
state: checkout
response_code: '12345'
avs_response:
- created_at: '2021-10-29T13:59:04.171Z'
- updated_at: '2021-10-29T13:59:04.171Z'
- number: P76O0A1R
+ created_at: '2021-10-29T16:23:36.578Z'
+ updated_at: '2021-10-29T16:23:36.578Z'
+ number: P9558W5L
cvv_response_code:
cvv_response_message:
display_amount: "$45.75"
@@ -6971,9 +6972,9 @@ paths:
state: checkout
response_code: '12345'
avs_response:
- created_at: '2021-10-29T13:59:04.326Z'
- updated_at: '2021-10-29T13:59:04.326Z'
- number: P3NBCV5K
+ created_at: '2021-10-29T16:23:36.740Z'
+ updated_at: '2021-10-29T16:23:36.740Z'
+ number: P4CP34YC
cvv_response_code:
cvv_response_message:
display_amount: "$45.75"
@@ -7099,8 +7100,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-10-29T13:59:04.549Z'
- updated_at: '2021-10-29T13:59:04.549Z'
+ created_at: '2021-10-29T16:23:36.961Z'
+ updated_at: '2021-10-29T16:23:36.961Z'
code: POP123
relationships:
promotions:
@@ -7109,8 +7110,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-10-29T13:59:04.551Z'
- updated_at: '2021-10-29T13:59:04.551Z'
+ created_at: '2021-10-29T16:23:36.963Z'
+ updated_at: '2021-10-29T16:23:36.963Z'
code: POP123
relationships:
promotions:
@@ -7162,8 +7163,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-10-29T13:59:04.595Z'
- updated_at: '2021-10-29T13:59:04.595Z'
+ created_at: '2021-10-29T16:23:37.009Z'
+ updated_at: '2021-10-29T16:23:37.009Z'
code: 2021-BFM
relationships:
promotions:
@@ -7219,8 +7220,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-10-29T13:59:04.622Z'
- updated_at: '2021-10-29T13:59:04.622Z'
+ created_at: '2021-10-29T16:23:37.037Z'
+ updated_at: '2021-10-29T16:23:37.037Z'
code: MJO
relationships:
promotions:
@@ -7275,8 +7276,8 @@ paths:
type: promotion_category
attributes:
name: 2021 Promotions
- created_at: '2021-10-29T13:59:04.667Z'
- updated_at: '2021-10-29T13:59:04.673Z'
+ created_at: '2021-10-29T16:23:37.083Z'
+ updated_at: '2021-10-29T16:23:37.088Z'
code: 2021-Promos
relationships:
promotions:
@@ -7392,12 +7393,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H12720635148
+ number: H31756127386
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-10-29T13:59:04.793Z'
- updated_at: '2021-10-29T13:59:04.797Z'
+ created_at: '2021-10-29T16:23:37.212Z'
+ updated_at: '2021-10-29T16:23:37.216Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7439,12 +7440,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H63400852341
+ number: H51033942613
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-10-29T13:59:04.825Z'
- updated_at: '2021-10-29T13:59:04.828Z'
+ created_at: '2021-10-29T16:23:37.244Z'
+ updated_at: '2021-10-29T16:23:37.247Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7535,12 +7536,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H32744990928
+ number: H63166306042
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-10-29T13:59:05.119Z'
- updated_at: '2021-10-29T13:59:05.137Z'
+ created_at: '2021-10-29T16:23:37.547Z'
+ updated_at: '2021-10-29T16:23:37.566Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7664,12 +7665,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H78481929007
+ number: H01487520328
cost: '100.0'
shipped_at:
state: ready
- created_at: '2021-10-29T13:59:05.958Z'
- updated_at: '2021-10-29T13:59:05.988Z'
+ created_at: '2021-10-29T16:23:38.406Z'
+ updated_at: '2021-10-29T16:23:38.436Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7762,12 +7763,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H42838927023
+ number: H72008525025
cost: '100.0'
- shipped_at: '2021-10-29T13:59:06.420Z'
+ shipped_at: '2021-10-29T16:23:38.876Z'
state: shipped
- created_at: '2021-10-29T13:59:06.385Z'
- updated_at: '2021-10-29T13:59:06.420Z'
+ created_at: '2021-10-29T16:23:38.841Z'
+ updated_at: '2021-10-29T16:23:38.876Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7860,12 +7861,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H15222262235
+ number: H50576869674
cost: '100.0'
shipped_at:
state: canceled
- created_at: '2021-10-29T13:59:06.815Z'
- updated_at: '2021-10-29T13:59:06.842Z'
+ created_at: '2021-10-29T16:23:39.280Z'
+ updated_at: '2021-10-29T16:23:39.305Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7958,12 +7959,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H66554763755
+ number: H27278186879
cost: '100.0'
shipped_at:
state: ready
- created_at: '2021-10-29T13:59:07.250Z'
- updated_at: '2021-10-29T13:59:07.283Z'
+ created_at: '2021-10-29T16:23:39.705Z'
+ updated_at: '2021-10-29T16:23:39.734Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8056,12 +8057,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H47342855539
+ number: H03186671627
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-10-29T13:59:07.742Z'
- updated_at: '2021-10-29T13:59:07.770Z'
+ created_at: '2021-10-29T16:23:40.149Z'
+ updated_at: '2021-10-29T16:23:40.178Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8158,14 +8159,14 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #119'
- created_at: '2021-10-29T13:59:08.061Z'
- updated_at: '2021-10-29T13:59:08.061Z'
+ created_at: '2021-10-29T16:23:40.498Z'
+ updated_at: '2021-10-29T16:23:40.498Z'
- id: '120'
type: shipping_category
attributes:
name: 'ShippingCategory #120'
- created_at: '2021-10-29T13:59:08.066Z'
- updated_at: '2021-10-29T13:59:08.066Z'
+ created_at: '2021-10-29T16:23:40.499Z'
+ updated_at: '2021-10-29T16:23:40.499Z'
meta:
count: 2
total_count: 2
@@ -8206,8 +8207,8 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #123'
- created_at: '2021-10-29T13:59:08.129Z'
- updated_at: '2021-10-29T13:59:08.129Z'
+ created_at: '2021-10-29T16:23:40.544Z'
+ updated_at: '2021-10-29T16:23:40.544Z'
'422':
description: invalid request
content:
@@ -8252,8 +8253,8 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #124'
- created_at: '2021-10-29T13:59:08.157Z'
- updated_at: '2021-10-29T13:59:08.157Z'
+ created_at: '2021-10-29T16:23:40.573Z'
+ updated_at: '2021-10-29T16:23:40.573Z'
'404':
description: Record not found
content:
@@ -8297,8 +8298,8 @@ paths:
type: shipping_category
attributes:
name: Default
- created_at: '2021-10-29T13:59:08.203Z'
- updated_at: '2021-10-29T13:59:08.210Z'
+ created_at: '2021-10-29T16:23:40.620Z'
+ updated_at: '2021-10-29T16:23:40.626Z'
'422':
description: invalid request
content:
@@ -8420,8 +8421,8 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-10-29T13:59:08.325Z'
- updated_at: '2021-10-29T13:59:08.325Z'
+ created_at: '2021-10-29T16:23:40.741Z'
+ updated_at: '2021-10-29T16:23:40.741Z'
deleted_at:
relationships:
shipping_categories:
@@ -8444,8 +8445,8 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-10-29T13:59:08.335Z'
- updated_at: '2021-10-29T13:59:08.335Z'
+ created_at: '2021-10-29T16:23:40.751Z'
+ updated_at: '2021-10-29T16:23:40.751Z'
deleted_at:
relationships:
shipping_categories:
@@ -8511,8 +8512,8 @@ paths:
admin_name: DHL Express- Zone A
display_on: both
tracking_url:
- created_at: '2021-10-29T13:59:08.411Z'
- updated_at: '2021-10-29T13:59:08.411Z'
+ created_at: '2021-10-29T16:23:40.836Z'
+ updated_at: '2021-10-29T16:23:40.836Z'
deleted_at:
relationships:
shipping_categories:
@@ -8592,8 +8593,8 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-10-29T13:59:08.459Z'
- updated_at: '2021-10-29T13:59:08.459Z'
+ created_at: '2021-10-29T16:23:40.879Z'
+ updated_at: '2021-10-29T16:23:40.879Z'
deleted_at:
relationships:
shipping_categories:
@@ -8662,8 +8663,8 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-10-29T13:59:08.530Z'
- updated_at: '2021-10-29T13:59:08.544Z'
+ created_at: '2021-10-29T16:23:40.952Z'
+ updated_at: '2021-10-29T16:23:40.967Z'
deleted_at:
relationships:
shipping_categories:
@@ -8800,8 +8801,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-10-29T13:59:08.761Z'
- updated_at: '2021-10-29T13:59:08.765Z'
+ created_at: '2021-10-29T16:23:41.193Z'
+ updated_at: '2021-10-29T16:23:41.196Z'
meta_title:
meta_description:
meta_keywords:
@@ -8835,8 +8836,8 @@ paths:
lft: 4
rgt: 5
description:
- created_at: '2021-10-29T13:59:08.811Z'
- updated_at: '2021-10-29T13:59:08.814Z'
+ created_at: '2021-10-29T16:23:41.243Z'
+ updated_at: '2021-10-29T16:23:41.247Z'
meta_title:
meta_description:
meta_keywords:
@@ -8870,8 +8871,8 @@ paths:
lft: 1
rgt: 6
description:
- created_at: '2021-10-29T13:59:08.703Z'
- updated_at: '2021-10-29T13:59:08.823Z'
+ created_at: '2021-10-29T16:23:41.136Z'
+ updated_at: '2021-10-29T16:23:41.255Z'
meta_title:
meta_description:
meta_keywords:
@@ -8948,8 +8949,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-10-29T13:59:09.028Z'
- updated_at: '2021-10-29T13:59:09.032Z'
+ created_at: '2021-10-29T16:23:41.490Z'
+ updated_at: '2021-10-29T16:23:41.494Z'
meta_title:
meta_description:
meta_keywords:
@@ -9030,8 +9031,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-10-29T13:59:09.109Z'
- updated_at: '2021-10-29T13:59:09.111Z'
+ created_at: '2021-10-29T16:23:41.586Z'
+ updated_at: '2021-10-29T16:23:41.590Z'
meta_title:
meta_description:
meta_keywords:
@@ -9113,8 +9114,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-10-29T13:59:09.290Z'
- updated_at: '2021-10-29T13:59:09.313Z'
+ created_at: '2021-10-29T16:23:41.822Z'
+ updated_at: '2021-10-29T16:23:41.845Z'
meta_title:
meta_description:
meta_keywords:
@@ -9255,9 +9256,9 @@ paths:
- id: '97'
type: user
attributes:
- created_at: '2021-10-29T13:59:09.759Z'
- updated_at: '2021-10-29T13:59:09.759Z'
+ created_at: '2021-10-29T16:23:42.270Z'
+ updated_at: '2021-10-29T16:23:42.270Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -9269,9 +9270,9 @@ paths:
- id: '98'
type: user
attributes:
- created_at: '2021-10-29T13:59:09.764Z'
- updated_at: '2021-10-29T13:59:09.764Z'
+ created_at: '2021-10-29T16:23:42.274Z'
+ updated_at: '2021-10-29T16:23:42.274Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -9283,9 +9284,9 @@ paths:
- id: '99'
type: user
attributes:
- created_at: '2021-10-29T13:59:09.765Z'
- updated_at: '2021-10-29T13:59:09.765Z'
+ created_at: '2021-10-29T16:23:42.276Z'
+ updated_at: '2021-10-29T16:23:42.276Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -9340,9 +9341,9 @@ paths:
id: '104'
type: user
attributes:
- created_at: '2021-10-29T13:59:09.829Z'
- updated_at: '2021-10-29T13:59:09.829Z'
+ created_at: '2021-10-29T16:23:42.336Z'
+ updated_at: '2021-10-29T16:23:42.336Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -9401,9 +9402,9 @@ paths:
id: '107'
type: user
attributes:
- created_at: '2021-10-29T13:59:09.872Z'
- updated_at: '2021-10-29T13:59:09.872Z'
+ created_at: '2021-10-29T16:23:42.378Z'
+ updated_at: '2021-10-29T16:23:42.378Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -9462,8 +9463,8 @@ paths:
type: user
attributes:
- created_at: '2021-10-29T13:59:09.938Z'
- updated_at: '2021-10-29T13:59:09.947Z'
+ created_at: '2021-10-29T16:23:42.448Z'
+ updated_at: '2021-10-29T16:23:42.456Z'
average_order_value: []
lifetime_value: []
store_credits: []
@@ -9598,12 +9599,12 @@ paths:
position: 1
cost_currency: USD
track_inventory: true
- updated_at: '2021-10-29T13:59:10.155Z'
+ updated_at: '2021-10-29T16:23:42.653Z'
discontinue_on:
- created_at: '2021-10-29T13:59:10.149Z'
+ created_at: '2021-10-29T16:23:42.649Z'
display_price: "$19.99"
display_compare_at_price:
- name: 'Product #184 - 585'
+ name: 'Product #184 - 8966'
options_text: ''
total_on_hand: 0
purchasable: true
@@ -9638,21 +9639,21 @@ paths:
type: variant
attributes:
sku: SKU-252
- weight: '119.71'
- height: '109.43'
- depth: '34.9'
+ weight: '85.66'
+ height: '102.1'
+ depth: '8.7'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-10-29T13:59:10.186Z'
+ updated_at: '2021-10-29T16:23:42.679Z'
discontinue_on:
- created_at: '2021-10-29T13:59:10.178Z'
+ created_at: '2021-10-29T16:23:42.673Z'
display_price: "$19.99"
display_compare_at_price:
- name: 'Product #184 - 585'
+ name: 'Product #184 - 8966'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -9689,21 +9690,21 @@ paths:
type: variant
attributes:
sku: SKU-253
- weight: '30.98'
- height: '145.61'
- depth: '91.76'
+ weight: '93.7'
+ height: '135.37'
+ depth: '108.22'
deleted_at:
is_master: false
cost_price: '17.0'
position: 3
cost_currency: USD
track_inventory: true
- updated_at: '2021-10-29T13:59:10.206Z'
+ updated_at: '2021-10-29T16:23:42.697Z'
discontinue_on:
- created_at: '2021-10-29T13:59:10.200Z'
+ created_at: '2021-10-29T16:23:42.691Z'
display_price: "$19.99"
display_compare_at_price:
- name: 'Product #184 - 585'
+ name: 'Product #184 - 8966'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -9789,21 +9790,21 @@ paths:
type: variant
attributes:
sku: SKU-258
- weight: '141.33'
- height: '86.5'
- depth: '106.25'
+ weight: '125.2'
+ height: '174.3'
+ depth: '5.24'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-10-29T13:59:10.413Z'
+ updated_at: '2021-10-29T16:23:42.900Z'
discontinue_on:
- created_at: '2021-10-29T13:59:10.407Z'
+ created_at: '2021-10-29T16:23:42.894Z'
display_price: "$19.99"
display_compare_at_price:
- name: 'Product #186 - 655'
+ name: 'Product #186 - 8118'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -9933,7 +9934,7 @@ paths:
- name: filter[success_eq]
in: query
description: ''
- example: true
+ example: 'true'
schema:
type: string
- name: filter[url_cont]
@@ -9954,14 +9955,14 @@ paths:
- id: '1'
type: event
attributes:
- execution_time: 87180
+ execution_time: 96711
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url1.com/
- created_at: '2021-10-29T13:59:10.764Z'
- updated_at: '2021-10-29T13:59:10.764Z'
+ created_at: '2021-10-29T16:23:43.229Z'
+ updated_at: '2021-10-29T16:23:43.229Z'
relationships:
subscriber:
data:
@@ -9970,14 +9971,14 @@ paths:
- id: '2'
type: event
attributes:
- execution_time: 13066
+ execution_time: 94804
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url2.com/
- created_at: '2021-10-29T13:59:10.767Z'
- updated_at: '2021-10-29T13:59:10.767Z'
+ created_at: '2021-10-29T16:23:43.234Z'
+ updated_at: '2021-10-29T16:23:43.234Z'
relationships:
subscriber:
data:
@@ -10049,8 +10050,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T13:59:10.810Z'
- updated_at: '2021-10-29T13:59:10.810Z'
+ created_at: '2021-10-29T16:23:43.277Z'
+ updated_at: '2021-10-29T16:23:43.277Z'
- id: '6'
type: subscriber
attributes:
@@ -10058,8 +10059,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T13:59:10.811Z'
- updated_at: '2021-10-29T13:59:10.811Z'
+ created_at: '2021-10-29T16:23:43.278Z'
+ updated_at: '2021-10-29T16:23:43.278Z'
meta:
count: 2
total_count: 2
@@ -10103,8 +10104,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T13:59:10.851Z'
- updated_at: '2021-10-29T13:59:10.851Z'
+ created_at: '2021-10-29T16:23:43.327Z'
+ updated_at: '2021-10-29T16:23:43.327Z'
'422':
description: invalid request
content:
@@ -10155,8 +10156,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T13:59:10.883Z'
- updated_at: '2021-10-29T13:59:10.883Z'
+ created_at: '2021-10-29T16:23:43.356Z'
+ updated_at: '2021-10-29T16:23:43.356Z'
'404':
description: Record not found
content:
@@ -10203,8 +10204,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T13:59:10.933Z'
- updated_at: '2021-10-29T13:59:10.933Z'
+ created_at: '2021-10-29T16:23:43.403Z'
+ updated_at: '2021-10-29T16:23:43.403Z'
'422':
description: invalid request
content:
@@ -10313,8 +10314,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T13:59:11.174Z'
- updated_at: '2021-10-29T13:59:11.174Z'
+ created_at: '2021-10-29T16:23:43.647Z'
+ updated_at: '2021-10-29T16:23:43.647Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -10328,8 +10329,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T13:59:11.226Z'
- updated_at: '2021-10-29T13:59:11.226Z'
+ created_at: '2021-10-29T16:23:43.700Z'
+ updated_at: '2021-10-29T16:23:43.700Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -10343,8 +10344,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T13:59:11.275Z'
- updated_at: '2021-10-29T13:59:11.275Z'
+ created_at: '2021-10-29T16:23:43.750Z'
+ updated_at: '2021-10-29T16:23:43.750Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -10358,8 +10359,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T13:59:11.331Z'
- updated_at: '2021-10-29T13:59:11.331Z'
+ created_at: '2021-10-29T16:23:43.800Z'
+ updated_at: '2021-10-29T16:23:43.800Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -10416,8 +10417,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T13:59:11.703Z'
- updated_at: '2021-10-29T13:59:11.703Z'
+ created_at: '2021-10-29T16:23:44.183Z'
+ updated_at: '2021-10-29T16:23:44.183Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -10483,8 +10484,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T13:59:11.920Z'
- updated_at: '2021-10-29T13:59:11.920Z'
+ created_at: '2021-10-29T16:23:44.393Z'
+ updated_at: '2021-10-29T16:23:44.393Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -10544,8 +10545,8 @@ paths:
type: wished_item
attributes:
quantity: 3
- created_at: '2021-10-29T13:59:12.271Z'
- updated_at: '2021-10-29T13:59:12.280Z'
+ created_at: '2021-10-29T16:23:44.754Z'
+ updated_at: '2021-10-29T16:23:44.763Z'
display_price: "$19.99"
display_total: "$59.97"
price: '19.99'
@@ -10668,9 +10669,9 @@ paths:
name: Black Friday
is_private: true
is_default: false
- created_at: '2021-10-29T13:59:12.998Z'
- updated_at: '2021-10-29T13:59:12.998Z'
- token: VUFqUFDR57mc1P6CVVjDHvi4
+ created_at: '2021-10-29T16:23:45.495Z'
+ updated_at: '2021-10-29T16:23:45.495Z'
+ token: 1JTMKWWjFhUPa6CaGzzQQrQF
variant_included: false
relationships:
wished_items:
@@ -10685,9 +10686,9 @@ paths:
name: Birthday
is_private: true
is_default: false
- created_at: '2021-10-29T13:59:12.999Z'
- updated_at: '2021-10-29T13:59:12.999Z'
- token: wcN128CuwJMCpBPDSwxGwnkw
+ created_at: '2021-10-29T16:23:45.496Z'
+ updated_at: '2021-10-29T16:23:45.496Z'
+ token: Cu5heDXJYTxRgADQKTUdfXY9
variant_included: false
relationships:
wished_items:
@@ -10745,9 +10746,9 @@ paths:
name: Wishlist_26
is_private: true
is_default: false
- created_at: '2021-10-29T13:59:13.482Z'
- updated_at: '2021-10-29T13:59:13.482Z'
- token: s46AghfmxxkYeuTZyGewinoR
+ created_at: '2021-10-29T16:23:45.981Z'
+ updated_at: '2021-10-29T16:23:45.981Z'
+ token: iCRRHeTZ5fMcunEDLfosaTTv
variant_included: false
relationships:
wished_items:
@@ -10807,9 +10808,9 @@ paths:
name: My Wishlist
is_private: true
is_default: false
- created_at: '2021-10-29T13:59:13.519Z'
- updated_at: '2021-10-29T13:59:13.519Z'
- token: xo6qGZ31rK9vohqug4GveSJU
+ created_at: '2021-10-29T16:23:46.018Z'
+ updated_at: '2021-10-29T16:23:46.018Z'
+ token: mZZ8Dh2AgiapfXxJK9LYLkJb
variant_included: false
relationships:
wished_items:
@@ -10866,9 +10867,9 @@ paths:
name: My Super Wishlist
is_private: true
is_default: false
- created_at: '2021-10-29T13:59:13.578Z'
- updated_at: '2021-10-29T13:59:13.586Z'
- token: Gi2i5DWzpn7rCY8yeSK9uSwL
+ created_at: '2021-10-29T16:23:46.075Z'
+ updated_at: '2021-10-29T16:23:46.084Z'
+ token: CxfVenpuq3knonhs5WXLE4EB
variant_included: false
relationships:
wished_items:
@@ -10979,398 +10980,426 @@ components:
address_params:
type: object
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
+ address:
+ type: object
+ required:
+ - country_id
+ - address1
+ - city
+ - zipcode
+ - phone
+ - firstname
+ - lastname
+ 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
+ - address
x-internal: true
adjustment_params:
type: object
properties:
- order_id:
- type: string
- label:
- type: string
- example: Shipping costs
- adjustable_id:
- type: string
- adjustable_type:
- type: string
- example: Spree::LineItem
- source_id:
- type: string
- source_type:
- type: string
- example: Spree::TaxRate
- amount:
- type: number
- example: 10.9
- mandatory:
- type: boolean
- eligible:
- type: boolean
- state:
- type: string
- example: closed
- default: open
- enum:
- - closed
- - open
- included:
- type: boolean
- example: true
- default: false
+ adjustment:
+ type: object
+ required:
+ - order_id
+ - label
+ - adjustable_id
+ - adjustable_type
+ properties:
+ order_id:
+ type: string
+ label:
+ type: string
+ example: Shipping costs
+ adjustable_id:
+ type: string
+ adjustable_type:
+ type: string
+ example: Spree::LineItem
+ source_id:
+ type: string
+ source_type:
+ type: string
+ example: Spree::TaxRate
+ amount:
+ type: number
+ example: 10.9
+ mandatory:
+ type: boolean
+ eligible:
+ type: boolean
+ state:
+ type: string
+ example: closed
+ default: open
+ enum:
+ - closed
+ - open
+ included:
+ type: boolean
+ example: true
+ default: false
required:
- - order_id
- - label
- - adjustable_id
- - adjustable_type
+ - adjustment
x-internal: true
classification_params:
type: object
properties:
- product_id:
- type: string
- example: '1'
- taxon_id:
- type: string
- example: '1'
- position:
- type: integer
- example: 1
+ classification:
+ type: object
+ required:
+ - product_id
+ - taxon_id
+ - position
+ properties:
+ product_id:
+ type: string
+ example: '1'
+ taxon_id:
+ type: string
+ example: '1'
+ position:
+ type: integer
+ example: 1
+ required:
+ - classification
x-internal: true
line_item_params:
type: object
properties:
- order_id:
- type: string
- example: '1'
- variant_id:
- type: string
- example: '1'
- quantity:
- type: integer
- example: 2
+ line_item:
+ type: object
+ required:
+ - order_id
+ - variant_id
+ - quantity
+ properties:
+ order_id:
+ type: string
+ example: '1'
+ variant_id:
+ type: string
+ example: '1'
+ quantity:
+ type: integer
+ example: 2
required:
- - order_id
- - variant_id
- - quantity
+ - line_item
x-internal: true
option_type_params:
type: object
properties:
- name:
- type: string
- example: color
- presentation:
- type: string
- example: Color
+ option_type:
+ type: object
+ required:
+ - name
+ - presentation
+ properties:
+ name:
+ type: string
+ example: color
+ presentation:
+ type: string
+ example: Color
required:
- - name
- - presentation
+ - option_type
x-internal: true
option_value_params:
type: object
properties:
- name:
- type: string
- example: red
- presentation:
- type: string
- example: Red
- required:
- - name
- - presentation
- x-internal: true
- webhooks_event_params:
- type: object
- properties:
- execution_time:
- type: integer
- example: 1234
- name:
- type: string
- example: order.canceled
- request_errors:
- type: string
- example: "[SPREE WEBHOOKS] 'order.canceled' can not make a request to 'http://google.com/'"
- response_code:
- type: string
- example: '200'
- subscriber_id:
- type: string
- success:
- type: boolean
- example: true
- url:
- type: string
- example: https://www.url.com/
+ option_value:
+ type: object
+ required:
+ - name
+ - presentation
+ properties:
+ name:
+ type: string
+ example: red
+ presentation:
+ type: string
+ example: Red
required:
- - name
- - subscriber_id
- - url
+ - option_value
x-internal: true
- webhooks_subscriber_params:
+ webhook_subscriber_params:
type: object
properties:
- active:
- type: boolean
- example: true
- default: false
- subscriptions:
- type: array
- items:
- allOf:
- - type: string
- example: order.completed
- example:
- - order.created
- - order.completed
- - product.updated
- default: []
- url:
- type: string
- example: https://www.url.com/
+ subscriber:
+ type: object
+ required:
+ - url
+ properties:
+ active:
+ type: boolean
+ example: true
+ default: false
+ subscriptions:
+ type: array
+ items:
+ allOf:
+ - type: string
+ example: order.completed
+ example:
+ - order.created
+ - order.completed
+ - product.updated
+ default: []
+ url:
+ type: string
+ example: https://www.url.com/
required:
- - url
+ - subscriber
x-internal: true
order_params:
type: object
properties:
- 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
- - canceled
- adjustment_total:
- type: number
- example: 20.0
- user_id:
- type: string
- example: '1'
- completed_at:
- type: string
- format: date_time
- example: 2021-10-29 13:58:39 UTC
- bill_address_id:
- type: string
- example: '1'
- ship_address_id:
- type: string
- example: '1'
- payment_total:
- type: number
- example: 190.9
- shipment_state:
- type: string
- example: shipped
- enum:
- - backorder
- - canceled
- - partial
- - pending
- - ready
- - shipped
- payment_state:
- type: string
- example: paid
- enum:
- - balance_due
- - credit_owed
- - failed
- - paid
- - void
- email:
- type: string
- format: email
- 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
- example: '1'
- 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-29 13:58:39 UTC
- 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
- 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:
- "$ref": "#/components/schemas/line_item_params"
+ order:
+ type: object
+ properties:
+ 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
+ - canceled
+ adjustment_total:
+ type: number
+ example: 20.0
+ user_id:
+ type: string
+ example: '1'
+ completed_at:
+ type: string
+ format: date_time
+ example: 2021-10-29 16:23:12 UTC
+ bill_address_id:
+ type: string
+ example: '1'
+ ship_address_id:
+ type: string
+ example: '1'
+ payment_total:
+ type: number
+ example: 190.9
+ shipment_state:
+ type: string
+ example: shipped
+ enum:
+ - backorder
+ - canceled
+ - partial
+ - pending
+ - ready
+ - shipped
+ payment_state:
+ type: string
+ example: paid
+ enum:
+ - balance_due
+ - credit_owed
+ - failed
+ - paid
+ - void
+ email:
+ type: string
+ format: email
+ 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
+ example: '1'
+ 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-29 16:23:12 UTC
+ 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
+ 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:
+ "$ref": "#/components/schemas/line_item_params"
+ required:
+ - order
x-internal: true
product_params:
type: object
properties:
- name:
- type: string
- description:
- type: string
- available_on:
- type: string
- discontinue_on:
- type: string
- permalink:
- type: string
- meta_description:
- type: string
- meta_keywords:
- type: string
- price:
- type: string
- sku:
- type: string
- deleted_at:
- type: string
- prototype_id:
- type: string
- option_values_hash:
- type: string
- weight:
- type: string
- height:
- type: string
- width:
- type: string
- depth:
- type: string
- shipping_category_id:
- type: string
- tax_category_id:
- type: string
- cost_currency:
- type: string
- cost_price:
- type: string
- compare_at_price:
- type: string
- option_type_ids:
- type: string
- taxon_ids:
- type: string
+ product:
+ type: object
+ required:
+ - name
+ - price
+ - shipping_category_id
+ properties:
+ name:
+ type: string
+ description:
+ type: string
+ available_on:
+ type: string
+ discontinue_on:
+ type: string
+ permalink:
+ type: string
+ meta_description:
+ type: string
+ meta_keywords:
+ type: string
+ price:
+ type: string
+ sku:
+ type: string
+ deleted_at:
+ type: string
+ prototype_id:
+ type: string
+ option_values_hash:
+ type: string
+ weight:
+ type: string
+ height:
+ type: string
+ width:
+ type: string
+ depth:
+ type: string
+ shipping_category_id:
+ type: string
+ tax_category_id:
+ type: string
+ cost_currency:
+ type: string
+ cost_price:
+ type: string
+ compare_at_price:
+ type: string
+ option_type_ids:
+ type: string
+ taxon_ids:
+ type: string
required:
- - name
- - price
- - shipping_category_id
+ - product
x-internal: true
promotion_category_params:
type: object
properties:
- name:
- type: string
- example: Promotions Used in 2021
- code:
- type: string
- example: 2021-PROMOS
+ promotion_category:
+ type: object
+ required:
+ - name
+ properties:
+ name:
+ type: string
+ example: Promotions Used in 2021
+ code:
+ type: string
+ example: 2021-PROMOS
+ required:
+ - promotion_category
x-internal: true
user_params:
type: object
@@ -11398,54 +11427,69 @@ components:
taxon_params:
type: object
properties:
- taxonomy_id:
- type: string
- parent_id:
- type: string
- name:
- type: string
+ taxon:
+ type: object
+ required:
+ - name
+ - taxonomy_id
+ properties:
+ taxonomy_id:
+ type: string
+ parent_id:
+ type: string
+ name:
+ type: string
required:
- - name
- - taxonomy_id
+ - taxon
x-internal: true
menu_params:
type: object
properties:
- name:
- type: string
- location:
- type: string
- locale:
- type: string
+ menu:
+ type: object
+ required:
+ - name
+ - location
+ - locale
+ properties:
+ name:
+ type: string
+ location:
+ type: string
+ locale:
+ type: string
required:
- - name
- - location
- - locale
+ - menu
x-internal: true
menu_item_params:
type: object
properties:
- name:
- type: string
- code:
- type: string
- subtitle:
- type: string
- destination:
- type: string
- menu_id:
- type: string
- new_window:
- type: boolean
- item_type:
- type: string
- linked_resource_type:
- type: string
- linked_resource_id:
- type: integer
+ menu_item:
+ type: object
+ required:
+ - name
+ - menu_id
+ properties:
+ name:
+ type: string
+ code:
+ type: string
+ subtitle:
+ type: string
+ destination:
+ type: string
+ menu_id:
+ type: string
+ new_window:
+ type: boolean
+ item_type:
+ type: string
+ linked_resource_type:
+ type: string
+ linked_resource_id:
+ type: integer
required:
- - name
- - menu_id
+ - menu_item
x-internal: true
menu_item_reposition_params:
type: object
@@ -11461,11 +11505,16 @@ components:
shipping_category_params:
type: object
properties:
- name:
- type: string
- example: Another Category
+ shipping_category:
+ type: object
+ required:
+ - name
+ properties:
+ name:
+ type: string
+ example: Another Category
required:
- - name
+ - shipping_category
x-internal: true
shipping_method_params:
type: object
@@ -11475,7 +11524,7 @@ components:
required:
- name
- display_on
- - calculator_attributes
+ - shipping_category_ids
properties:
name:
type: string
@@ -11529,72 +11578,92 @@ components:
wishlist_params:
type: object
properties:
- name:
- type: string
- user_id:
- type: string
- is_default:
- type: boolean
- is_private:
- type: boolean
+ wishlist:
+ type: object
+ required:
+ - name
+ - user_id
+ properties:
+ name:
+ type: string
+ user_id:
+ type: string
+ is_default:
+ type: boolean
+ is_private:
+ type: boolean
required:
- - name
- - user_id
+ - wishlist
x-internal: true
wished_item_params:
type: object
properties:
- wishlist_id:
- type: string
- variant_id:
- type: string
- quantity:
- type: integer
- description: Must be an integer greater than 0
+ wished_item:
+ type: object
+ required:
+ - wishlist_id
+ - variant_id
+ - quantity
+ properties:
+ wishlist_id:
+ type: string
+ variant_id:
+ type: string
+ quantity:
+ type: integer
+ description: Must be an integer greater than 0
required:
- - wishlist_id
- - variant_id
- - quantity
+ - wished_item
x-internal: true
cms_page_params:
type: object
properties:
- title:
- type: string
- meta_title:
- type: string
- content:
- type: string
- meta_description:
- type: string
- visible:
- type: string
- slug:
- type: string
- locale:
- type: string
+ cms_page:
+ type: object
+ required:
+ - title
+ - locale
+ properties:
+ title:
+ type: string
+ meta_title:
+ type: string
+ content:
+ type: string
+ meta_description:
+ type: string
+ visible:
+ type: string
+ slug:
+ type: string
+ locale:
+ type: string
required:
- - title
- - locale
+ - cms_page
x-internal: true
cms_section_params:
type: object
properties:
- name:
- type: string
- cms_page_id:
- type: string
- content:
+ cms_section:
type: object
- settings:
- type: object
- fit:
- type: string
- destination:
- type: string
+ required:
+ - name
+ - cms_page_id
+ properties:
+ name:
+ type: string
+ cms_page_id:
+ type: string
+ content:
+ type: object
+ settings:
+ type: object
+ fit:
+ type: string
+ destination:
+ type: string
required:
- - name
- - cms_page_id
+ - cms_section
x-internal: true
cms_section_reposition_params:
type: object
@@ -11620,18 +11689,23 @@ components:
digital_link_params:
type: object
properties:
- access_counter:
- type: integer
- example: 0
- line_item_id:
- type: string
- example: '1'
- digital_id:
- type: string
- example: '1'
+ digital_link:
+ type: object
+ required:
+ - line_item_id
+ - digital_id
+ properties:
+ access_counter:
+ type: integer
+ example: 0
+ line_item_id:
+ type: string
+ example: '1'
+ digital_id:
+ type: string
+ example: '1'
required:
- - line_item_id
- - digital_id
+ - digital_link
x-internal: true
amount_param:
type: object
diff --git a/api/spec/integration/api/v2/platform/payments_spec.rb b/api/spec/integration/api/v2/platform/payments_spec.rb
index 969369e11f..5f294a73f3 100644
--- a/api/spec/integration/api/v2/platform/payments_spec.rb
+++ b/api/spec/integration/api/v2/platform/payments_spec.rb
@@ -7,7 +7,7 @@ describe 'Payments API', swagger: true do
options = {
include_example: 'payment_method,order,source',
filter_examples: [{ name: 'filter[payment_method_id_eq]', example: '1' },
- { name: 'filter[amount_gteq]', example: 99.90 }]
+ { name: 'filter[amount_gteq]', example: '99.90' }]
}
let(:id) { create(:payment, payment_method: payment_method, order: order).id }
diff --git a/api/spec/integration/api/v2/platform/webhooks/events_spec.rb b/api/spec/integration/api/v2/platform/webhooks/events_spec.rb
index a4029d8216..a5a316e7a7 100644
--- a/api/spec/integration/api/v2/platform/webhooks/events_spec.rb
+++ b/api/spec/integration/api/v2/platform/webhooks/events_spec.rb
@@ -10,7 +10,7 @@ describe 'WebhooksEvents API', swagger: true do
filter_examples: [{ name: 'filter[name_eq]', example: 'order.canceled' },
{ name: 'filter[request_errors_cont]', example: 'google' },
{ name: 'filter[response_code_eq]', example: '200' },
- { name: 'filter[success_eq]', example: true },
+ { name: 'filter[success_eq]', example: 'true' },
{ name: 'filter[url_cont]', example: 'mysite' }]
}
diff --git a/api/spec/swagger_helper.rb b/api/spec/swagger_helper.rb
index 848cef171e..bb96a97c96 100644
--- a/api/spec/swagger_helper.rb
+++ b/api/spec/swagger_helper.rb
@@ -26,6 +26,7 @@ RSpec.configure do |config|
url: 'https://sparksolutions.co',
},
+ description: 'Spree Platform API v2',
version: 'v2'
},
paths: {},
@@ -75,196 +76,266 @@ RSpec.configure do |config|
}
},
schemas: {
+
+ # Address
address_params: {
type: :object,
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 }
+ address: {
+ type: :object,
+ required: %w[country_id address1 city zipcode phone firstname lastname],
+ 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: %w[country_id address1 city zipcode phone firstname lastname],
+ required: %w[address],
'x-internal': true
},
+
+ # Adjustment
adjustment_params: {
type: :object,
properties: {
- order_id: { type: :string },
- label: { type: :string, example: 'Shipping costs' },
- adjustable_id: { type: :string },
- adjustable_type: { type: :string, example: 'Spree::LineItem' },
- source_id: { type: :string },
- source_type: { type: :string, example: 'Spree::TaxRate' },
- amount: { type: :number, example: 10.90 },
- mandatory: { type: :boolean },
- eligible: { type: :boolean },
- state: { type: :string, example: 'closed', default: 'open', enum: ['closed', 'open'] },
- included: { type: :boolean, example: true, default: false },
+ adjustment: {
+ type: :object,
+ required: %w[order_id label adjustable_id adjustable_type],
+ properties: {
+ order_id: { type: :string },
+ label: { type: :string, example: 'Shipping costs' },
+ adjustable_id: { type: :string },
+ adjustable_type: { type: :string, example: 'Spree::LineItem' },
+ source_id: { type: :string },
+ source_type: { type: :string, example: 'Spree::TaxRate' },
+ amount: { type: :number, example: 10.90 },
+ mandatory: { type: :boolean },
+ eligible: { type: :boolean },
+ state: { type: :string, example: 'closed', default: 'open', enum: ['closed', 'open'] },
+ included: { type: :boolean, example: true, default: false },
+ }
+ }
},
- required: %w[order_id label adjustable_id adjustable_type],
+ required: %w[adjustment],
'x-internal': true
},
+
+ # Classification
classification_params: {
type: :object,
properties: {
- product_id: { type: :string, example: '1' },
- taxon_id: { type: :string, example: '1' },
- position: { type: :integer, example: 1 }
+ classification: {
+ type: :object,
+ required: %w[product_id taxon_id position],
+ properties: {
+ product_id: { type: :string, example: '1' },
+ taxon_id: { type: :string, example: '1' },
+ position: { type: :integer, example: 1 }
+ }
+ }
},
+ required: %w[classification],
'x-internal': true
},
+
+ # Line Item
line_item_params: {
type: :object,
properties: {
- order_id: { type: :string, example: '1' },
- variant_id: { type: :string, example: '1' },
- quantity: { type: :integer, example: 2 }
+ line_item: {
+ type: :object,
+ required: %w[order_id variant_id quantity],
+ properties: {
+ order_id: { type: :string, example: '1' },
+ variant_id: { type: :string, example: '1' },
+ quantity: { type: :integer, example: 2 }
+ }
+ }
},
- required: %w[order_id variant_id quantity],
+ required: %w[line_item],
'x-internal': true
},
+
+ # Option Type
option_type_params: {
type: :object,
properties: {
- name: { type: :string, example: 'color' },
- presentation: { type: :string, example: 'Color' }
+ option_type: {
+ type: :object,
+ required: %w[name presentation],
+ properties: {
+ name: { type: :string, example: 'color' },
+ presentation: { type: :string, example: 'Color' }
+ }
+ }
},
- required: %w[name presentation],
+ required: %w[option_type],
'x-internal': true
},
+
+ # Option Value
option_value_params: {
type: :object,
properties: {
- name: { type: :string, example: 'red' },
- presentation: { type: :string, example: 'Red' }
- },
- required: %w[name presentation],
- 'x-internal': true
- },
- webhooks_event_params: {
- type: :object,
- properties: {
- execution_time: { type: :integer, example: 1_234 },
- name: { type: :string, example: 'order.canceled' },
- request_errors: { type: :string, example: "[SPREE WEBHOOKS] 'order.canceled' can not make a request to 'http://google.com/'" },
- response_code: { type: :string, example: '200' },
- subscriber_id: { type: :string },
- success: { type: :boolean, example: true },
- url: { type: :string, example: 'https://www.url.com/' }
+ option_value: {
+ type: :object,
+ required: %w[name presentation],
+ properties: {
+ name: { type: :string, example: 'red' },
+ presentation: { type: :string, example: 'Red' }
+ }
+ }
},
- required: %w[name subscriber_id url],
+ required: %w[option_value],
'x-internal': true
},
- webhooks_subscriber_params: {
+
+ # Webhook
+ webhook_subscriber_params: {
type: :object,
properties: {
- active: { type: :boolean, example: true, default: false },
- subscriptions: {
- type: :array,
- items: {
- allOf: [
- { type: :string, example: 'order.completed' }
- ]
- },
- example: ['order.created', 'order.completed', 'product.updated'],
- default: []
- },
- url: { type: :string, example: 'https://www.url.com/' }
+ subscriber: {
+ type: :object,
+ required: %w[url],
+ properties: {
+ active: { type: :boolean, example: true, default: false },
+ subscriptions: {
+ type: :array,
+ items: {
+ allOf: [
+ { type: :string, example: 'order.completed' }
+ ]
+ },
+ example: ['order.created', 'order.completed', 'product.updated'],
+ default: []
+ },
+ url: { type: :string, example: 'https://www.url.com/' }
+ }
+ }
},
- required: %w[url],
+ required: %w[subscriber],
'x-internal': true
},
+
+ # Order
order_params: {
type: :object,
properties: {
- 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 canceled] },
- adjustment_total: { type: :number, example: 20.0 },
- user_id: { type: :string, example: '1' },
- completed_at: { type: :string, format: :date_time, example: Time.current },
- bill_address_id: { type: :string, example: '1' },
- ship_address_id: { type: :string, example: '1' },
- payment_total: { type: :number, example: 190.90 },
- shipment_state: { type: :string, example: 'shipped', enum: Spree::Order::SHIPMENT_STATES },
- payment_state: { type: :string, example: 'paid', enum: Spree::Order::PAYMENT_STATES },
- 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, example: '1' },
- 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: 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 },
- 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: { '$ref': '#/components/schemas/line_item_params' }
+ order: {
+ type: :object,
+ properties: {
+ 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 canceled] },
+ adjustment_total: { type: :number, example: 20.0 },
+ user_id: { type: :string, example: '1' },
+ completed_at: { type: :string, format: :date_time, example: Time.current },
+ bill_address_id: { type: :string, example: '1' },
+ ship_address_id: { type: :string, example: '1' },
+ payment_total: { type: :number, example: 190.90 },
+ shipment_state: { type: :string, example: 'shipped', enum: Spree::Order::SHIPMENT_STATES },
+ payment_state: { type: :string, example: 'paid', enum: Spree::Order::PAYMENT_STATES },
+ 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, example: '1' },
+ 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: 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 },
+ 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: { '$ref': '#/components/schemas/line_item_params' }
+ }
+ }
}
},
+ required: %w[order],
'x-internal': true
},
+
+ # Product
product_params: {
type: :object,
properties: {
- name: { type: :string },
- description: { type: :string },
- available_on: { type: :string },
- discontinue_on: { type: :string },
- permalink: { type: :string },
- meta_description: { type: :string },
- meta_keywords: { type: :string },
- price: { type: :string },
- sku: { type: :string },
- deleted_at: { type: :string },
- prototype_id: { type: :string },
- option_values_hash: { type: :string },
- weight: { type: :string },
- height: { type: :string },
- width: { type: :string },
- depth: { type: :string },
- shipping_category_id: { type: :string },
- tax_category_id: { type: :string },
- cost_currency: { type: :string },
- cost_price: { type: :string },
- compare_at_price: { type: :string },
- option_type_ids: { type: :string },
- taxon_ids: { type: :string }
- },
- required: %w[name price shipping_category_id],
+ product: {
+ type: :object,
+ required: %w[name price shipping_category_id],
+ properties: {
+ name: { type: :string },
+ description: { type: :string },
+ available_on: { type: :string },
+ discontinue_on: { type: :string },
+ permalink: { type: :string },
+ meta_description: { type: :string },
+ meta_keywords: { type: :string },
+ price: { type: :string },
+ sku: { type: :string },
+ deleted_at: { type: :string },
+ prototype_id: { type: :string },
+ option_values_hash: { type: :string },
+ weight: { type: :string },
+ height: { type: :string },
+ width: { type: :string },
+ depth: { type: :string },
+ shipping_category_id: { type: :string },
+ tax_category_id: { type: :string },
+ cost_currency: { type: :string },
+ cost_price: { type: :string },
+ compare_at_price: { type: :string },
+ option_type_ids: { type: :string },
+ taxon_ids: { type: :string }
+ }
+ }
+ },
+ required: %w[product],
'x-internal': true
},
+
+ # Promotion Category
promotion_category_params: {
type: :object,
properties: {
- name: { type: :string, example: 'Promotions Used in 2021' },
- code: { type: :string, example: '2021-PROMOS' }
+ promotion_category: {
+ type: :object,
+ required: %w[name],
+ properties: {
+ name: { type: :string, example: 'Promotions Used in 2021' },
+ code: { type: :string, example: '2021-PROMOS' }
+ }
+ }
},
+ required: %w[promotion_category],
'x-internal': true
},
+
+ # User
user_params: {
type: :object,
properties: {
@@ -283,42 +354,67 @@ RSpec.configure do |config|
required: %w[user],
'x-internal': true
},
+
+ # Taxon
taxon_params: {
type: :object,
properties: {
- taxonomy_id: { type: :string },
- parent_id: { type: :string },
- name: { type: :string }
+ taxon: {
+ type: :object,
+ required: %w[name taxonomy_id],
+ properties: {
+ taxonomy_id: { type: :string },
+ parent_id: { type: :string },
+ name: { type: :string }
+ }
+ }
},
- required: %w[name taxonomy_id],
+ required: %w[taxon],
'x-internal': true
},
+
+ # Menu
menu_params: {
type: :object,
properties: {
- name: { type: :string },
- location: { type: :string },
- locale: { type: :string }
+ menu: {
+ type: :object,
+ required: %w[name location locale],
+ properties: {
+ name: { type: :string },
+ location: { type: :string },
+ locale: { type: :string }
+ }
+ }
},
- required: %w[name location locale],
+ required: %w[menu],
'x-internal': true
},
+
+ # Menu Item
menu_item_params: {
type: :object,
properties: {
- name: { type: :string },
- code: { type: :string },
- subtitle: { type: :string },
- destination: { type: :string },
- menu_id: { type: :string },
- new_window: { type: :boolean },
- item_type: { type: :string },
- linked_resource_type: { type: :string },
- linked_resource_id: { type: :integer }
+ menu_item: {
+ type: :object,
+ required: %w[name menu_id],
+ properties: {
+ name: { type: :string },
+ code: { type: :string },
+ subtitle: { type: :string },
+ destination: { type: :string },
+ menu_id: { type: :string },
+ new_window: { type: :boolean },
+ item_type: { type: :string },
+ linked_resource_type: { type: :string },
+ linked_resource_id: { type: :integer }
+ }
+ }
},
- required: %w[name menu_id],
+ required: %w[menu_item],
'x-internal': true
},
+
menu_item_reposition_params: {
type: :object,
properties: {
@@ -328,21 +424,30 @@ RSpec.configure do |config|
required: %w[new_parent_id new_position_idx],
'x-internal': true
},
+
+ # Shipping Category
shipping_category_params: {
type: :object,
properties: {
- name: { type: :string, example: 'Another Category' },
+ shipping_category: {
+ type: :object,
+ required: %w[name],
+ properties: {
+ name: { type: :string, example: 'Another Category' }
+ }
+ }
},
- required: %w[name],
+ required: %w[shipping_category],
'x-internal': true
},
+ # Shipping Method
shipping_method_params: {
type: :object,
properties: {
shipping_method: {
type: :object,
- required: %w[name display_on calculator_attributes],
+ required: %w[name display_on shipping_category_ids],
properties: {
name: { type: :string, example: 'DHL Express' },
admin_name: { type: :string, example: 'DHL Area Code D' },
@@ -373,55 +478,87 @@ RSpec.configure do |config|
required: %w[type],
'x-internal': true
},
+
+ # Wishlist
wishlist_params: {
type: :object,
properties: {
- name: { type: :string },
- user_id: { type: :string },
- is_default: { type: :boolean },
- is_private: { type: :boolean }
+ wishlist: {
+ type: :object,
+ required: %w[name user_id],
+ properties: {
+ name: { type: :string },
+ user_id: { type: :string },
+ is_default: { type: :boolean },
+ is_private: { type: :boolean }
+ }
+ }
},
- required: %w[name user_id],
+ required: %w[wishlist],
'x-internal': true
},
+
+ # Wished Item
wished_item_params: {
type: :object,
properties: {
- wishlist_id: { type: :string },
- variant_id: { type: :string },
- quantity: {
- type: :integer,
- description: 'Must be an integer greater than 0'
+ wished_item: {
+ type: :object,
+ required: %w[wishlist_id variant_id quantity],
+ properties: {
+ wishlist_id: { type: :string },
+ variant_id: { type: :string },
+ quantity: {
+ type: :integer,
+ description: 'Must be an integer greater than 0'
+ }
+ }
}
},
- required: %w[wishlist_id variant_id quantity],
+ required: %w[wished_item],
'x-internal': true
},
+
+ # CMS Page
cms_page_params: {
type: :object,
properties: {
- title: { type: :string },
- meta_title: { type: :string },
- content: { type: :string, },
- meta_description: { type: :string },
- visible: { type: :string },
- slug: { type: :string },
- locale: { type: :string }
+ cms_page: {
+ type: :object,
+ required: %w[title locale],
+ properties: {
+ title: { type: :string },
+ meta_title: { type: :string },
+ content: { type: :string, },
+ meta_description: { type: :string },
+ visible: { type: :string },
+ slug: { type: :string },
+ locale: { type: :string }
+ }
+ }
},
- required: %w[title locale],
+ required: %w[cms_page],
'x-internal': true
},
+
+ # CMS Section
cms_section_params: {
type: :object,
properties: {
- name: { type: :string },
- cms_page_id: { type: :string },
- content: { type: :object, },
- settings: { type: :object },
- fit: { type: :string },
- destination: { type: :string },
+ cms_section: {
+ type: :object,
+ required: %w[name cms_page_id],
+ properties: {
+ name: { type: :string },
+ cms_page_id: { type: :string },
+ content: { type: :object, },
+ settings: { type: :object },
+ fit: { type: :string },
+ destination: { type: :string }
+ }
+ }
},
- required: %w[name cms_page_id],
+ required: %w[cms_section],
'x-internal': true
},
cms_section_reposition_params: {
@@ -432,6 +569,8 @@ RSpec.configure do |config|
required: %w[new_position_idx],
'x-internal': true
},
+
+ # Digital
digital_params: {
type: :object,
properties: {
@@ -441,16 +580,25 @@ RSpec.configure do |config|
required: ['digital[attachment]', 'digital[variant_id]'],
'x-internal': true
},
+
+ # Digital Link
digital_link_params: {
type: :object,
properties: {
- access_counter: { type: :integer, example: 0 },
- line_item_id: { type: :string, example: '1' },
- digital_id: { type: :string, example: '1' }
+ digital_link: {
+ type: :object,
+ required: %w[line_item_id digital_id],
+ properties: {
+ access_counter: { type: :integer, example: 0 },
+ line_item_id: { type: :string, example: '1' },
+ digital_id: { type: :string, example: '1' }
+ }
+ }
},
- required: ['line_item_id', 'digital_id'],
+ required: %w[digital_link],
'x-internal': true
},
+
amount_param: {
type: :object,
properties: {